Linux+OpenGL: Implement GUI vsync setting (#477)

This commit is contained in:
goeiecool9999 2022-11-13 08:29:25 +01:00 committed by GitHub
parent 2842615edb
commit e9d10a9581
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 391 additions and 19 deletions

View file

@ -283,8 +283,13 @@ GLFUNC(PFNGLDEBUGMESSAGECONTROLPROC, glDebugMessageControl)
// wgl
#if BOOST_OS_WINDOWS > 0
#if BOOST_OS_WINDOWS
GLFUNC(PFNWGLSWAPINTERVALEXTPROC, wglSwapIntervalEXT)
#endif
// x
// x
#if BOOST_OS_LINUX
EGLFUNC(PFNEGLSWAPINTERVALPROC, eglSwapInterval)
EGLFUNC(PFNEGLGETCURRENTDISPLAYPROC, eglGetCurrentDisplay)
#endif