mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
GL: ensure to set depthmask to TRUE before rendering opaque shit
This commit is contained in:
@ -980,6 +980,8 @@ void RenderSceneChunk(int y, int h)
|
||||
glStencilOp(GL_KEEP, GL_KEEP, GL_REPLACE);
|
||||
glStencilMask(0xFF);
|
||||
|
||||
glDepthMask(GL_TRUE);
|
||||
|
||||
RenderSinglePolygon(i);
|
||||
}
|
||||
|
||||
@ -1083,6 +1085,8 @@ void RenderSceneChunk(int y, int h)
|
||||
glStencilOp(GL_KEEP, GL_KEEP, GL_REPLACE);
|
||||
glStencilMask(0xFF);
|
||||
|
||||
glDepthMask(GL_TRUE);
|
||||
|
||||
RenderSinglePolygon(i);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user