Commit ba5c540d authored by Ken Martin's avatar Ken Martin
Browse files

opengles does not use glew to ifdef glew code

added a glew check that needed to be ifdef'd out for oepngles
parent 42ce6031
Pipeline #24228 passed with stage
......@@ -551,6 +551,7 @@ void vtkOpenGLRenderWindow::InitializeTextureInternalFormats()
// on mesa we may not have float textures even though we think we do
// this is due to Mesa being iompacted by a patent issue with SGI
#if GL_ES_VERSION_2_0 != 1
if (haveFloatTextures)
{
const char *glVersion =
......@@ -566,6 +567,7 @@ void vtkOpenGLRenderWindow::InitializeTextureInternalFormats()
return;
}
}
#endif
if (haveFloatTextures)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment