Skip to content

Commit

Permalink
reset stencil mask too
Browse files Browse the repository at this point in the history
  • Loading branch information
burhanr13 committed Dec 14, 2024
1 parent 3468a85 commit 4c48e7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pica/gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ void gpu_clear_fb(GPU* gpu, u32 paddr, u32 color) {
glDisable(GL_SCISSOR_TEST);
glColorMask(true, true, true, true);
glDepthMask(true);
glStencilMask(0xff);
// right now we assume clear color is rgba8888 and d24s8 format, this should
// be changed
for (int i = 0; i < FB_MAX; i++) {
Expand Down

0 comments on commit 4c48e7e

Please sign in to comment.