1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 06:03:23 +00:00

reverted reverse_transparent_walls

This commit is contained in:
Zeno Rogue 2019-05-15 15:05:11 +02:00
parent 53ecff6c00
commit 323bd659c8

View File

@ -1532,7 +1532,6 @@ void draw_main() {
glClearDepth(0.0f);
#endif
glDepthFunc(GL_GEQUAL);
reverse_transparent_walls();
}
glClear(GL_DEPTH_BUFFER_BIT);
glhr::be_nontextured();
@ -1544,7 +1543,6 @@ void draw_main() {
reset_projection();
for(auto& ptd: ptds) ptd->draw();
}
if(p == 1 || p == 2) reverse_transparent_walls();
// glflush();
}
}