GLX: glXSwapIntervalEXT() returns void so ignore return value
glXSwapIntervalEXT() does not return a value, contrary to the SGI equivalent. In case of error, the X11 error handler is used. This patch fixes compilation with conforming headers. It should still be compatible with buggy Mesa headers where 'int' is returned. For reference, see the specification here: http://www.opengl.org/registry/specs/EXT/swap_control.txt http://www.opengl.org/registry/api/glxext.h (cherry picked from commit 9cf66c2856ab3a209fe15ec5662a8cd927ee20bc)
Showing
Please register or sign in to comment