diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:22:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:49:01 +0200 |
commit | bdf75a9f6b429914ebfa3942051db61504a3b30c (patch) | |
tree | b2a74bd7e241a7c4269cb51beae4ae2bf6e6a17f /chart2 | |
parent | 79a359fea1885151a77f83e05eee8d2aa97895ab (diff) |
GLEW_EXT_texture_array is of type GLboolean already
Change-Id: I8348a5e5c13a6628ad543652e50bac0432b2b7be
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/GL3DRenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx index 044e4df90014..1b7f67acc2c1 100644 --- a/chart2/source/view/main/GL3DRenderer.cxx +++ b/chart2/source/view/main/GL3DRenderer.cxx @@ -250,7 +250,7 @@ void OpenGL3DRenderer::ShaderResources::LoadShaders() m_3DBatchColorID = glGetAttribLocation(m_3DBatchProID, "barColor"); #if !defined MACOSX //check whether the texture array is support - mbTexBatchSupport = GLEW_EXT_texture_array == 1; + mbTexBatchSupport = GLEW_EXT_texture_array; #endif CHECK_GL_ERROR(); if (mbTexBatchSupport) |