From 118c7ba3b15990e09329a35b76270006dc4f5ae0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2020 08:00:54 +0300 Subject: Revert "Disable warning conditionally-supported for opengl function pointers" This reverts commit 2715ed0cadbe5a0d83a0cf810f70916a897f03c4. --- src/render/openglx/mglxinit.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/render/openglx') 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) -- cgit v1.2.3-70-g09d2