diff options
Diffstat (limited to '3rdparty/bgfx/src/glcontext_glx.h')
-rw-r--r-- | 3rdparty/bgfx/src/glcontext_glx.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/3rdparty/bgfx/src/glcontext_glx.h b/3rdparty/bgfx/src/glcontext_glx.h index 556f10b25c1..3fa7dbf2a64 100644 --- a/3rdparty/bgfx/src/glcontext_glx.h +++ b/3rdparty/bgfx/src/glcontext_glx.h @@ -18,7 +18,8 @@ namespace bgfx struct GlContext { GlContext() - : m_context(0) + : m_current(NULL) + , m_context(0) , m_visualInfo(NULL) { } @@ -40,6 +41,7 @@ namespace bgfx return 0 != m_context; } + SwapChainGL* m_current; GLXContext m_context; XVisualInfo* m_visualInfo; }; |