Fix for bug 3401933 - vertex color interpolation with shadow volumes in the scene

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4041 dfc29bdd-3216-0410-991c-e03cc46cb475
master
bitplane 2012-01-14 16:15:26 +00:00
parent c6833d9a56
commit 7db87025c3
1 changed files with 1 additions and 1 deletions

View File

@ -3651,7 +3651,7 @@ void COpenGLDriver::drawStencilShadow(bool clearStencilBuffer, video::SColor lef
disableTextures();
// store attributes
glPushAttrib(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_ENABLE_BIT | GL_POLYGON_BIT | GL_STENCIL_BUFFER_BIT);
glPushAttrib(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_ENABLE_BIT | GL_POLYGON_BIT | GL_STENCIL_BUFFER_BIT | GL_LIGHTING_BIT);
glDisable(GL_LIGHTING);
glDisable(GL_FOG);