Bug in GL_SWAP_CONTROL extension name

The checked extension name is incorrect.
The attached patch fixes it to the correct name.

I don’t think that under any setup, this extension name was ever
correct, which is why its not OR’d against the old check.

This fixes the “tear effect” (vsync problems) I had here with nVidia
GLX drivers.

Eyal
-------------- next part --------------
A non-text attachment was scrubbed…
Name: sdl.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070523/e05d5138/attachment.bin

This fixes the “tear effect” (vsync problems) I had here with nVidia
GLX drivers.

Fixed in svn revision #3021 for SDL 1.3 and #3022 for SDL 1.2, thanks!

–ryan.