mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-10 20:27:39 +00:00
fixed glDisable -> glDepthMask
This commit is contained in:
@@ -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