summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-30 08:00:54 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-30 08:01:46 +0300
commit118c7ba3b15990e09329a35b76270006dc4f5ae0 (patch)
treea6b581c6a75f5078c5261a9b1c0d983a8b58e6a2 /src/render
parente623e07433bc81089efdcacd8c089252bcd1db6f (diff)
downloadmanaverse-118c7ba3b15990e09329a35b76270006dc4f5ae0.tar.gz
manaverse-118c7ba3b15990e09329a35b76270006dc4f5ae0.tar.bz2
manaverse-118c7ba3b15990e09329a35b76270006dc4f5ae0.tar.xz
manaverse-118c7ba3b15990e09329a35b76270006dc4f5ae0.zip
Revert "Disable warning conditionally-supported for opengl function pointers"
This reverts commit 2715ed0cadbe5a0d83a0cf810f70916a897f03c4.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/openglx/mglxinit.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/render/openglx/mglxinit.cpp b/src/render/openglx/mglxinit.cpp
index 23e1553c2..d83872871 100644
--- a/src/render/openglx/mglxinit.cpp
+++ b/src/render/openglx/mglxinit.cpp
@@ -34,8 +34,6 @@
void Glx::initFunctions()
{
-PRAGMA49(GCC diagnostic push)
-PRAGMA49(GCC diagnostic ignored "-Wconditionally-supported")
assignFunction(glXCreateContext)
assignFunction(glXGetCurrentContext)
assignFunctionARB(glXCreateContextAttribs)
@@ -43,7 +41,6 @@ PRAGMA49(GCC diagnostic ignored "-Wconditionally-supported")
assignFunction(glXDestroyContext)
assignFunction(glXMakeCurrent)
assignFunction(glXSwapBuffers)
-PRAGMA49(GCC diagnostic pop)
}
#endif // defined(USE_OPENGL) && defined(USE_X11)