1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

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_VR
EX hookset<bool()> 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));
}

View File

@ -2291,10 +2291,6 @@ EX void draw_main() {
}
}
#if CAP_VR
EX hookset<bool()> 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;