Shortened native extension boolean names.

This commit is contained in:
Camilla Berglund
2011-09-06 14:51:03 +02:00
parent f08397a108
commit 30e362d435
6 changed files with 75 additions and 75 deletions
+2 -2
View File
@@ -92,13 +92,13 @@ void _glfwPlatformSwapInterval(int interval)
{
_GLFWwindow* window = _glfwLibrary.currentWindow;
if (window->GLX.has_GLX_EXT_swap_control)
if (window->GLX.EXT_swap_control)
{
window->GLX.SwapIntervalEXT(_glfwLibrary.X11.display,
window->X11.handle,
interval);
}
else if (window->GLX.has_GLX_SGI_swap_control)
else if (window->GLX.SGI_swap_control)
window->GLX.SwapIntervalSGI(interval);
}