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-e03cc46cb475master
parent
c6833d9a56
commit
7db87025c3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue