Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-07-20 15:56:36 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-07-20 15:56:36 +0300
commited3b19f46d5f85910b46f7e3e2f21b55eefc9ada (patch)
tree61554588800fcc5aeea3ce6843332ada73634350 /intern/ghost
parentdb38a65b022cd11892034d6882d643fd46d618c8 (diff)
Ugly hack to avoid GLEW context error printing when initializing GLX.
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_ContextGLX.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp
index 0b4d41b61fe..3cce2236143 100644
--- a/intern/ghost/intern/GHOST_ContextGLX.cpp
+++ b/intern/ghost/intern/GHOST_ContextGLX.cpp
@@ -155,7 +155,9 @@ GHOST_TSuccess GHOST_ContextGLX::initializeDrawingContext()
#endif
/* needed so 'GLXEW_ARB_create_context' is valid */
+ mxIgnoreNoVersion(1);
initContextGLXEW();
+ mxIgnoreNoVersion(0);
if (GLXEW_ARB_create_context) {
int profileBitCore = m_contextProfileMask & GLX_CONTEXT_CORE_PROFILE_BIT_ARB;