mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 07:20:25 +00:00
fixed 3D perspective rendering without CAP_VR
This commit is contained in:
parent
479b5f5db0
commit
6eaae5c206
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user