Skip to content

Commit

Permalink
2D and 3d switch
Browse files Browse the repository at this point in the history
  • Loading branch information
technicaljicama committed Apr 27, 2023
1 parent e1232c3 commit 4673e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/psp/rasterizer_psp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

};
Expand Down

0 comments on commit 4673e70

Please sign in to comment.