mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Add enable/disable dithering. Respect chosen framebuffer color depth.
This commit is contained in:
1 parent
cb7f803866
commit
b1bbbc44fc
4 files changed
+21
-3
No files matched your search
@@ -202,6 +202,9 @@ void ApplyDrawState(int prim) {
|
||||
glstate.stencilTest.disable();
|
||||
}
|
||||
|
||||
// Dither
|
||||
glstate.dither.set(gstate.ditherEnable & 1);
|
||||
|
||||
bool wantDepthWrite = gstate.isModeClear() || gstate.isDepthWriteEnabled();
|
||||
glstate.depthWrite.set(wantDepthWrite ? GL_TRUE : GL_FALSE);
|
||||
|
||||
|
||||
Reference in new issue
Block a user