diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_Context.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_Context.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/intern/ghost/intern/GHOST_Context.cpp b/intern/ghost/intern/GHOST_Context.cpp index f69f2181ef7..fc7193ae99b 100644 --- a/intern/ghost/intern/GHOST_Context.cpp +++ b/intern/ghost/intern/GHOST_Context.cpp @@ -143,11 +143,7 @@ bool win32_chk(bool result, const char *file, int line, const char *text) void GHOST_Context::initContextGLEW() { - mxDestroyContext(m_mxContext); // no-op if m_mxContext is NULL - - mxMakeCurrentContext(mxCreateContext()); - - m_mxContext = mxGetCurrentContext(); + GLEW_CHK(glewInit()); } |