diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_Context.h')
-rw-r--r-- | intern/ghost/intern/GHOST_Context.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/intern/ghost/intern/GHOST_Context.h b/intern/ghost/intern/GHOST_Context.h index e707f1c3475..04d445e7f85 100644 --- a/intern/ghost/intern/GHOST_Context.h +++ b/intern/ghost/intern/GHOST_Context.h @@ -11,7 +11,7 @@ #include "GHOST_IContext.h" #include "GHOST_Types.h" -#include "glew-mx.h" +#include <epoxy/gl.h> #include <cstdlib> // for NULL @@ -36,19 +36,19 @@ class GHOST_Context : public GHOST_IContext { * Swaps front and back buffers of a window. * \return A boolean success indicator. */ - virtual GHOST_TSuccess swapBuffers() = 0; + virtual GHOST_TSuccess swapBuffers() override = 0; /** * Activates the drawing context of this window. * \return A boolean success indicator. */ - virtual GHOST_TSuccess activateDrawingContext() = 0; + virtual GHOST_TSuccess activateDrawingContext() override = 0; /** * Release the drawing context of the calling thread. * \return A boolean success indicator. */ - virtual GHOST_TSuccess releaseDrawingContext() = 0; + virtual GHOST_TSuccess releaseDrawingContext() override = 0; /** * Call immediately after new to initialize. If this fails then immediately delete the object. @@ -130,14 +130,12 @@ class GHOST_Context : public GHOST_IContext { * Gets the OpenGL frame-buffer associated with the OpenGL context * \return The ID of an OpenGL frame-buffer object. */ - virtual unsigned int getDefaultFramebuffer() + virtual unsigned int getDefaultFramebuffer() override { return 0; } protected: - void initContextGLEW(); - bool m_stereoVisual; /** Caller specified, not for internal use. */ |