Fix deferred-depth for bezier/spline. Move updating of last_frame_depth_render to GPUCommon.

This commit is contained in:
Henrik Rydgård committed 2022-08-20 08:29:33 +02:00
1 parent 97dbba0ec3
commit 12db0e52d4
12 files changed
+33 -61

No files matched your search

-3
View File
@@ -423,9 +423,6 @@ void DrawEngineGLES::DoFlush() {
bool colorMask = gstate.isClearModeColorMask();
bool alphaMask = gstate.isClearModeAlphaMask();
bool depthMask = gstate.isClearModeDepthMask();
if (depthMask) {
framebufferManager_->SetDepthUpdated();
}
GLbitfield target = 0;
// Without this, we will clear RGB when clearing stencil, which breaks games.