DRW: Fix incorrect default stencil value

This commit is contained in:
Clément Foucault 2018-08-14 20:26:48 +02:00
parent 485b8d41be
commit cb65542d2c
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ void drw_state_set(DRWState state)
/* disable write & test */
DST.stencil_mask = 0;
glStencilMask(0x00);
glStencilFunc(GL_ALWAYS, 1, 0xFF);
glStencilFunc(GL_ALWAYS, 0, 0xFF);
glDisable(GL_STENCIL_TEST);
}
}