Let's put the stencil parameters in the right order..

This commit is contained in:
Henrik Rydgard 2013-10-10 21:40:49 +02:00
parent 5c8a74d911
commit b832508c4b

View File

@ -836,7 +836,7 @@ void TransformDrawEngine::SoftwareTransformAndDraw(
// We don't know the color until here, so we have to do it now, instead of in StateMapping.
// Might want to reconsider the order of things later...
if (gstate.isModeClear() && gstate.isClearModeAlphaMask()) {
glstate.stencilFunc.set(GL_ALWAYS, 255, stencilValue);
glstate.stencilFunc.set(GL_ALWAYS, stencilValue, 255);
}
}