I'm trying to disable vertical sync on Linux in a program built around SDL and openGL. I am running an old integrated ATI card with Gallium 0.4 as the driver.
I attempt to disable vsync by calling glXSwapInterval(0)
in my code, but when I do this, although the program compiles fine, I get a segfault when I try to run it.
gdb gives me the rather unhelpful message:
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
Does anyone have any idea as to what might be going on?