removed the old VR preparation

This commit is contained in:
Zeno Rogue 2020-11-19 18:19:17 +01:00
parent deae12dea6
commit ef3170dce7
2 changed files with 0 additions and 14 deletions

View File

@ -232,15 +232,8 @@ void display_data::set_all(int ed) {}
#if CAP_GL #if CAP_GL
#if CAP_VR
EX hookset<bool()> hooks_vr_eye_view, hooks_vr_eye_projection;
#endif
EX void eyewidth_translate(int ed) { EX void eyewidth_translate(int ed) {
glhr::using_eyeshift = false; 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)); if(ed) glhr::projection_multiply(glhr::translate(-ed * current_display->eyewidth(), 0, 0));
} }

View File

@ -2291,10 +2291,6 @@ EX void draw_main() {
} }
} }
#if CAP_VR
EX hookset<bool()> hooks_vr_draw_all;
#endif
EX void drawqueue() { EX void drawqueue() {
DEBBI(DF_GRAPH, ("drawqueue")); DEBBI(DF_GRAPH, ("drawqueue"));
@ -2368,9 +2364,6 @@ EX void drawqueue() {
spherephase = 0; spherephase = 0;
reset_projection(); reset_projection();
#if CAP_VR
if(callhandlers(false, hooks_vr)) {} else
#endif
#if CAP_GL #if CAP_GL
if(model_needs_depth() && current_display->stereo_active()) { if(model_needs_depth() && current_display->stereo_active()) {
global_projection = -1; global_projection = -1;