1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 10:19:58 +00:00

fixed glDisable -> glDepthMask

This commit is contained in:
Zeno Rogue 2019-05-13 15:24:06 +02:00
parent d2c20fee22
commit 6e2cf3d2e7

View File

@ -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);
}
}