diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_ContextEGL.h')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextEGL.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/intern/ghost/intern/GHOST_ContextEGL.h b/intern/ghost/intern/GHOST_ContextEGL.h index 70c26c940fc..6dfb177f26d 100644 --- a/intern/ghost/intern/GHOST_ContextEGL.h +++ b/intern/ghost/intern/GHOST_ContextEGL.h @@ -34,17 +34,8 @@ #include "GHOST_Context.h" -#ifdef WITH_GLEW_MX -# define eglewGetContext() eglewContext -#endif - #include <GL/eglew.h> -#ifdef WITH_GLEW_MX -extern "C" EGLEWContext *eglewContext; -#endif - - #ifndef GHOST_OPENGL_EGL_CONTEXT_FLAGS #define GHOST_OPENGL_EGL_CONTEXT_FLAGS 0 #endif @@ -116,13 +107,6 @@ public: */ GHOST_TSuccess getSwapInterval(int &intervalOut); -protected: - inline void activateEGLEW() const { -#ifdef WITH_GLEW_MX - eglewContext = m_eglewContext; -#endif - } - private: void initContextEGLEW(); @@ -143,10 +127,6 @@ private: EGLint m_swap_interval; -#ifdef WITH_GLEW_MX - EGLEWContext *m_eglewContext; -#endif - EGLContext &m_sharedContext; EGLint &m_sharedCount; |