mirror of https://github.com/snes9xgit/snes9x.git
GTK+: OpenGL: Old libepoxy lacks glXSwapIntervalMESA.
This commit is contained in:
parent
b9ad162723
commit
a573dee5fe
|
@ -156,8 +156,10 @@ void GTKGLXContext::swap_interval (int frames)
|
|||
glXSwapIntervalEXT (display, xid, frames);
|
||||
else if (epoxy_has_glx_extension (display, screen, "GLX_SGI_swap_control"))
|
||||
glXSwapIntervalSGI (frames);
|
||||
#ifdef GLX_MESA_swap_control
|
||||
else if (epoxy_has_glx_extension (display, screen, "GLX_MESA_swap_control"))
|
||||
glXSwapIntervalMESA (frames);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue