ES2 crash fix: Don't draw depth if lacking fragment shader depth write.

This commit is contained in:
Henrik Rydgård committed 2022-10-01 19:28:52 +02:00
1 parent 16f93a2684
commit 9ec41436d1
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -1252,6 +1252,7 @@ void TextureCacheCommon::LoadClut(u32 clutAddr, u32 loadBytes) {
}
}
// To turn off dynamic CLUT (for demonstration or testing purposes), add "false &&" to this check.
if (chosenFramebuffer && chosenFramebuffer->fbo) {
clutRenderAddress_ = bestClutAddress;