mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 08:28:44 +00:00
Changed: #1145 Implement VSync under Linux
This commit is contained in:
parent
ae9883ae5d
commit
9a9ea61516
1 changed files with 3 additions and 3 deletions
|
@ -1428,7 +1428,7 @@ static bool setupGLXEXTSwapControl(const char *glext)
|
||||||
H_AUTO_OGL(setupGLXEXTSwapControl);
|
H_AUTO_OGL(setupGLXEXTSwapControl);
|
||||||
CHECK_EXT("GLX_EXT_swap_control");
|
CHECK_EXT("GLX_EXT_swap_control");
|
||||||
|
|
||||||
#ifdef NL_OS_UNIX
|
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
||||||
CHECK_ADDRESS(PFNGLXSWAPINTERVALEXTPROC, glXSwapIntervalEXT);
|
CHECK_ADDRESS(PFNGLXSWAPINTERVALEXTPROC, glXSwapIntervalEXT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1441,7 +1441,7 @@ static bool setupGLXSGISwapControl(const char *glext)
|
||||||
H_AUTO_OGL(setupGLXSGISwapControl);
|
H_AUTO_OGL(setupGLXSGISwapControl);
|
||||||
CHECK_EXT("GLX_SGI_swap_control");
|
CHECK_EXT("GLX_SGI_swap_control");
|
||||||
|
|
||||||
#ifdef NL_OS_UNIX
|
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
||||||
CHECK_ADDRESS(PFNGLXSWAPINTERVALSGIPROC, glXSwapIntervalSGI);
|
CHECK_ADDRESS(PFNGLXSWAPINTERVALSGIPROC, glXSwapIntervalSGI);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1454,7 +1454,7 @@ static bool setupGLXMESASwapControl(const char *glext)
|
||||||
H_AUTO_OGL(setupGLXMESASwapControl);
|
H_AUTO_OGL(setupGLXMESASwapControl);
|
||||||
CHECK_EXT("GLX_MESA_swap_control");
|
CHECK_EXT("GLX_MESA_swap_control");
|
||||||
|
|
||||||
#ifdef NL_OS_UNIX
|
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
||||||
CHECK_ADDRESS(PFNGLXSWAPINTERVALMESAPROC, glXSwapIntervalMESA);
|
CHECK_ADDRESS(PFNGLXSWAPINTERVALMESAPROC, glXSwapIntervalMESA);
|
||||||
CHECK_ADDRESS(PFNGLXGETSWAPINTERVALMESAPROC, glXGetSwapIntervalMESA);
|
CHECK_ADDRESS(PFNGLXGETSWAPINTERVALMESAPROC, glXGetSwapIntervalMESA);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue