1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +00:00

fixed two-eye rendering in stereo modes which should not cause that

This commit is contained in:
Zeno Rogue
2024-01-07 09:07:54 +01:00
parent 17b84bb4fb
commit 7ad955dcff
4 changed files with 14 additions and 14 deletions

View File

@@ -167,7 +167,7 @@ bool use_z_coordinate() {
#if CAP_VR
if(vrhr::rendering()) return true;
#endif
return current_display->stereo_active();
return current_display->separate_eyes();
}
void apply_depth(hyperpoint &f, ld z) {
@@ -2783,7 +2783,7 @@ EX void draw_boundary(int w) {
switch(pmodel) {
case mdTwoPoint: {
if(twopoint_do_flips || current_display->stereo_active() || !sphere) return;
if(twopoint_do_flips || current_display->separate_eyes() || !sphere) return;
queuereset(mdPixel, p);
for(int b=-1; b<=1; b+=2)