diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-07-20 15:56:36 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-07-20 15:56:36 +0300 |
commit | ed3b19f46d5f85910b46f7e3e2f21b55eefc9ada (patch) | |
tree | 61554588800fcc5aeea3ce6843332ada73634350 /intern/ghost | |
parent | db38a65b022cd11892034d6882d643fd46d618c8 (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.cpp | 2 |
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; |