Merge pull request #13111 from jdgleaver/3ds-2d-fix

(3DS) Ensure parallax barrier is disabled when '3DS Display Mode' is '2D'
This commit is contained in:
Autechre 2021-10-13 14:00:23 +02:00 committed by GitHub
commit 2179bc8716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,6 +120,8 @@ static INLINE void ctr_check_3D_slider(ctr_video_t* ctr, ctr_video_mode_enum vid
case CTR_VIDEO_MODE_2D:
default:
ctr->video_mode = CTR_VIDEO_MODE_2D;
if (ctr->supports_parallax_disable)
ctr_set_parallax_layer(false);
ctr->enable_3d = false;
break;
}