mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-19 16:07:40 +00:00
added CAP_VR
This commit is contained in:
@@ -1852,6 +1852,9 @@ EX void draw_main() {
|
||||
}
|
||||
}
|
||||
|
||||
#if CAP_VR
|
||||
EX hookset<bool()> *hooks_vr_draw_all;
|
||||
#endif
|
||||
|
||||
EX void drawqueue() {
|
||||
callhooks(hook_drawqueue);
|
||||
@@ -1906,6 +1909,9 @@ EX void drawqueue() {
|
||||
spherephase = 0;
|
||||
reset_projection();
|
||||
|
||||
#if CAP_VR
|
||||
if(callhandlers(false, hooks_vr)) {} else
|
||||
#endif
|
||||
if(model_needs_depth() && current_display->stereo_active()) {
|
||||
global_projection = -1;
|
||||
draw_main();
|
||||
|
Reference in New Issue
Block a user