diff options
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) |