1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-25 05:59:43 +00:00

ray:: stereo modes

This commit is contained in:
Zeno Rogue
2019-11-16 03:04:01 +01:00
parent 838d6a583a
commit 928e369977
4 changed files with 33 additions and 12 deletions

View File

@@ -4437,7 +4437,6 @@ EX void drawthemap() {
profile_start(1);
make_actual_view();
currentmap->draw();
if(ray::in_use && !ray::comparison_mode) ray::cast();
drawWormSegments();
drawBlizzards();
drawArrowTraps();
@@ -4703,13 +4702,6 @@ EX void drawfullmap() {
drawqueue();
#endif
if(ray::in_use && ray::comparison_mode) {
glDepthFunc(GL_LEQUAL);
glClearDepth(1.0f);
glClear(GL_DEPTH_BUFFER_BIT);
ray::cast();
}
profile_stop(2);
}