drawStencilShadowVolume & drawStencilShadow problem fixed
Posted: Thu Aug 13, 2015 1:49 am
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~~~
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~~~