summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 16:44:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 10:21:02 +0200
commit60ee74e8ae3c671f0c78c54f5e2546a5cb3185dd (patch)
tree1dc9cd9ee2c43522e98606934eb2d48d26307d47 /chart2
parent8a26a4053db946da7c8d8cdbf2444faf3c459291 (diff)
GLEW_VERSION_3_3 is of type GLboolean already
Change-Id: Id565602f4cb488176451cfcc1d2aa05e7acab964
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/GL3DRenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx
index 29cdb5ca8f43..044e4df90014 100644
--- a/chart2/source/view/main/GL3DRenderer.cxx
+++ b/chart2/source/view/main/GL3DRenderer.cxx
@@ -213,7 +213,7 @@ OpenGL3DRenderer::ShaderResources::~ShaderResources()
void OpenGL3DRenderer::CheckGLSLVersion()
{
- maResources.m_b330Support = GLEW_VERSION_3_3 == 1;
+ maResources.m_b330Support = GLEW_VERSION_3_3;
}
void OpenGL3DRenderer::ShaderResources::LoadShaders()