mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-09-30 18:58:08 +03:00
Reflect: Forgot to set Stencil Mask for Stencil clear
This commit is contained in:
@@ -501,7 +501,9 @@ namespace rndr {
|
||||
glClearColor(sss->param.x, sss->param.y, sss->param.z, 0.0f);
|
||||
#if REFLECT_STENCIL
|
||||
glClearStencil(0x00);
|
||||
gl_state_set_stencil_mask(0xFF);
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
|
||||
gl_state_set_stencil_mask(0x00);
|
||||
#else
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user