mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-18 13:44:30 +00:00
fixed glDisable -> glDepthMask
This commit is contained in:
1 parent
d2c20fee22
commit
6e2cf3d2e7
1 file changed
+1
-1
+1
-1
@@ -789,7 +789,7 @@ void set_depthwrite(bool b) {
|
||||
if(b != current_depthwrite) {
|
||||
current_depthwrite = b;
|
||||
if(b) glDepthMask(GL_TRUE);
|
||||
else glDisable(GL_FALSE);
|
||||
else glDepthMask(GL_FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user