mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Shortened native extension boolean names.
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user