fixed 3D perspective rendering without CAP_VR

This commit is contained in:
Zeno Rogue 2020-12-06 20:48:03 +01:00
parent 479b5f5db0
commit 6eaae5c206
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ void display_data::set_projection(int ed, ld shift) {
glhr::projection_multiply(glhr::tmtogl_transpose(vrhr::hmd_mvp));
}
#else
if(1) {}
if(0) {}
#endif
else {
glhr::projection_multiply(glhr::frustum(current_display->tanfov, current_display->tanfov * cd->ysize / cd->xsize));