mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-27 11:57:40 +00:00
fixed two-eye rendering in stereo modes which should not cause that
This commit is contained in:
2
sky.cpp
2
sky.cpp
@@ -315,7 +315,7 @@ void dqi_sky::draw() {
|
||||
|
||||
be_euclidean_infinity(s);
|
||||
|
||||
for(int ed = current_display->stereo_active() ? -1 : 0; ed<2; ed+=2) {
|
||||
for(int ed = current_display->separate_eyes() ? -1 : 0; ed<2; ed+=2) {
|
||||
if(global_projection && global_projection != ed) continue;
|
||||
current_display->next_shader_flags = GF_VARCOLOR;
|
||||
current_display->set_all(ed, 0);
|
||||
|
||||
Reference in New Issue
Block a user