ray:: stereo modes

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

No files matched your search

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