mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 06:50:27 +00:00
reverted reverse_transparent_walls
This commit is contained in:
parent
53ecff6c00
commit
323bd659c8
@ -1532,7 +1532,6 @@ void draw_main() {
|
|||||||
glClearDepth(0.0f);
|
glClearDepth(0.0f);
|
||||||
#endif
|
#endif
|
||||||
glDepthFunc(GL_GEQUAL);
|
glDepthFunc(GL_GEQUAL);
|
||||||
reverse_transparent_walls();
|
|
||||||
}
|
}
|
||||||
glClear(GL_DEPTH_BUFFER_BIT);
|
glClear(GL_DEPTH_BUFFER_BIT);
|
||||||
glhr::be_nontextured();
|
glhr::be_nontextured();
|
||||||
@ -1544,7 +1543,6 @@ void draw_main() {
|
|||||||
reset_projection();
|
reset_projection();
|
||||||
for(auto& ptd: ptds) ptd->draw();
|
for(auto& ptd: ptds) ptd->draw();
|
||||||
}
|
}
|
||||||
if(p == 1 || p == 2) reverse_transparent_walls();
|
|
||||||
// glflush();
|
// glflush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user