From ef3170dce7a6cdd5103e90c5faf25a8f87036e0f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 19 Nov 2020 18:19:17 +0100 Subject: [PATCH] removed the old VR preparation --- basegraph.cpp | 7 ------- drawing.cpp | 7 ------- 2 files changed, 14 deletions(-) diff --git a/basegraph.cpp b/basegraph.cpp index f4185e01..bcad3fa3 100644 --- a/basegraph.cpp +++ b/basegraph.cpp @@ -232,15 +232,8 @@ void display_data::set_all(int ed) {} #if CAP_GL -#if CAP_VR -EX hookset hooks_vr_eye_view, hooks_vr_eye_projection; -#endif - EX void eyewidth_translate(int ed) { glhr::using_eyeshift = false; -#if CAP_VR - if(callhandlers(false, hooks_vr_eye_view)) ; else -#endif if(ed) glhr::projection_multiply(glhr::translate(-ed * current_display->eyewidth(), 0, 0)); } diff --git a/drawing.cpp b/drawing.cpp index 8d06f74e..32a51e8a 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -2291,10 +2291,6 @@ EX void draw_main() { } } -#if CAP_VR -EX hookset hooks_vr_draw_all; -#endif - EX void drawqueue() { DEBBI(DF_GRAPH, ("drawqueue")); @@ -2368,9 +2364,6 @@ EX void drawqueue() { spherephase = 0; reset_projection(); - #if CAP_VR - if(callhandlers(false, hooks_vr)) {} else - #endif #if CAP_GL if(model_needs_depth() && current_display->stereo_active()) { global_projection = -1;