Window render bugfix

This commit is contained in:
2025-11-10 14:08:34 +00:00
parent 5e93c7631d
commit df435819eb
3 changed files with 7 additions and 26 deletions
+2 -2
View File
@@ -376,8 +376,8 @@ doDrawing' win pdata u = do
glDepthFunc GL_LEQUAL
glCullFace GL_BACK
glDisable GL_BLEND
glDepthFunc GL_ALWAYS
glDisable GL_CULL_FACE
-- glDepthFunc GL_ALWAYS
-- glDisable GL_CULL_FACE
glUseProgram $ pdata ^. windowPullShader . shaderUINT
glBindVertexArray $ pdata ^. dummyVAO . vaoName
glDrawArrays GL_TRIANGLES 0 (fromIntegral nWins * 6)