Skip to content
Snippets Groups Projects
Commit ee136d0f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

GL_RESCALE_NORMAL not available on our Windows build machines

parent d5edb2a0
No related branches found
No related tags found
No related merge requests found
...@@ -725,8 +725,11 @@ void drawContext::initRenderModel() ...@@ -725,8 +725,11 @@ void drawContext::initRenderModel()
// is more efficient, but will only work with isotropic scalings (and we allow // is more efficient, but will only work with isotropic scalings (and we allow
// anistotropic scalings in myZoom...). Note that GL_RESCALE_NORMAL is only // anistotropic scalings in myZoom...). Note that GL_RESCALE_NORMAL is only
// available in GL_VERSION_1_2. // available in GL_VERSION_1_2.
//glEnable(GL_NORMALIZE); #if defined(WIN32)
glEnable(GL_NORMALIZE);
#else
glEnable(GL_RESCALE_NORMAL); glEnable(GL_RESCALE_NORMAL);
#endif
// lighting is enabled/disabled for each particular primitive later // lighting is enabled/disabled for each particular primitive later
glDisable(GL_LIGHTING); glDisable(GL_LIGHTING);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment