diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-17 08:24:14 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-17 08:24:14 +0100 |
commit | 418edcf057a2ea1f99d17ce424293b2acd48a6e9 (patch) | |
tree | 04b01f41a1064d4a76eab1a8aeb1587322981a6d /include/vcl/OpenGLContext.hxx | |
parent | 5d42bbdcf8c125c8547e197d85fae1c1825e05db (diff) |
fix multisample support in OpenGL
Change-Id: I7e530f5ae8d83d275df554781847b525b38bf4c7
Diffstat (limited to 'include/vcl/OpenGLContext.hxx')
-rw-r--r-- | include/vcl/OpenGLContext.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/OpenGLContext.hxx b/include/vcl/OpenGLContext.hxx index 4067febdf92d..390c3df45c27 100644 --- a/include/vcl/OpenGLContext.hxx +++ b/include/vcl/OpenGLContext.hxx @@ -65,6 +65,7 @@ struct GLWindow unsigned int Width; unsigned int Height; const GLubyte* GLExtensions; + bool bMultiSampleSupported; bool HasGLExtension( const char* name ) { return gluCheckExtension( (const GLubyte*) name, GLExtensions ); } @@ -86,7 +87,8 @@ struct GLWindow bpp(0), Width(0), Height(0), - GLExtensions(NULL) + GLExtensions(NULL), + bMultiSampleSupported(false) { } }; |