From 4673e706e0183919eba65c41b81b9a6cad84f895 Mon Sep 17 00:00:00 2001 From: azubisinmir Date: Thu, 27 Apr 2023 20:22:03 +0200 Subject: [PATCH] 2D and 3d switch --- platform/psp/rasterizer_psp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/psp/rasterizer_psp.cpp b/platform/psp/rasterizer_psp.cpp index ba6243515a7c..2bfe84aa4a15 100644 --- a/platform/psp/rasterizer_psp.cpp +++ b/platform/psp/rasterizer_psp.cpp @@ -3323,7 +3323,7 @@ void RasterizerPSP::clear_viewport(const Color& p_color) { glScissor( viewport.x, window_size.height-(viewport.height+viewport.y), viewport.width,viewport.height ); glEnable(GL_SCISSOR_TEST); glClearColor(p_color.r,p_color.g,p_color.b,p_color.a); - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); //should not clear if anything else cleared.. + glClear(GL_COLOR_BUFFER_BIT); //should not clear if anything else cleared.. glDisable(GL_SCISSOR_TEST); };