diff options
Diffstat (limited to 'src/render/openglx/mglxinit.cpp')
-rw-r--r-- | src/render/openglx/mglxinit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/openglx/mglxinit.cpp b/src/render/openglx/mglxinit.cpp index d83872871..23e1553c2 100644 --- a/src/render/openglx/mglxinit.cpp +++ b/src/render/openglx/mglxinit.cpp @@ -34,6 +34,8 @@ void Glx::initFunctions() { +PRAGMA49(GCC diagnostic push) +PRAGMA49(GCC diagnostic ignored "-Wconditionally-supported") assignFunction(glXCreateContext) assignFunction(glXGetCurrentContext) assignFunctionARB(glXCreateContextAttribs) @@ -41,6 +43,7 @@ void Glx::initFunctions() assignFunction(glXDestroyContext) assignFunction(glXMakeCurrent) assignFunction(glXSwapBuffers) +PRAGMA49(GCC diagnostic pop) } #endif // defined(USE_OPENGL) && defined(USE_X11) |