summaryrefslogtreecommitdiff
path: root/include/vcl/opengl/OpenGLContext.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/opengl/OpenGLContext.hxx')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 00368495a332..10024b3152e5 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -79,9 +79,6 @@ struct VCL_DLLPUBLIC GLWindow
Display* dpy;
int screen;
Window win;
-#if defined( GLX_EXT_texture_from_pixmap )
- GLXFBConfig fbc;
-#endif
XVisualInfo* vi;
GLXContext ctx;
@@ -107,9 +104,6 @@ struct VCL_DLLPUBLIC GLWindow
dpy(nullptr),
screen(0),
win(0),
-#if defined( GLX_EXT_texture_from_pixmap )
- fbc(nullptr),
-#endif
vi(nullptr),
ctx(nullptr),
GLXExtensions(nullptr),
@@ -195,7 +189,7 @@ public:
void setWinPosAndSize(const Point &rPos, const Size& rSize);
void setWinSize(const Size& rSize);
- const GLWindow& getOpenGLWindow() const { return m_aGLWin;}
+ const GLWindow& getOpenGLWindow() const;
SystemChildWindow* getChildWindow();
const SystemChildWindow* getChildWindow() const;