X11: use GLX_EXT_swap_control if available
Merge pull request #1 from FernetMenta/vsync

X11: use GLX_EXT_swap_control if available