Set swap interval to 1 in glx when possible.