Merge pull request #1081 from raven02/patch-17

Add glstate.dither.enable() to StateMapping
This commit is contained in:
Henrik Rydgård committed 2013-03-26 01:15:13 -07:00
commit f7942f2724
1 file changed
+5 -2
+5 -2
View File
@@ -183,8 +183,11 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
}
// Set Dither
glstate.dither.set(gstate.isDitherEnabled());
if (gstate.isDitherEnabled()) {
glstate.dither.enable();
glstate.dither.set(GL_TRUE);
} else
glstate.dither.disable();
// Set ColorMask/Stencil/Depth
if (gstate.isModeClear()) {