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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user