drawStencilShadowVolume & drawStencilShadow problem fixed

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

drawStencilShadowVolume & drawStencilShadow problem fixed

Post by feelthat »

in COGLES1Driver::

GLboolean depthMask = 0;
glGetBooleanv(GL_DEPTH_WRITEMASK, &depthMask);
..
..
..
glDepthMask(depthMask); //restore value

/////////////////////

but not do restore value in COGLES2Driver and COpenGLDriver
if use drawStencilShadowVolume and diable _IRR_COMPILE_WITH_GUI_
will have problem~~~
Post Reply