Merge pull request #13208 from barbudreadmon/patch-4

always return false if rotation can't occur
This commit is contained in:
Autechre 2021-11-08 19:23:35 +01:00 committed by GitHub
commit 17e490c424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7510,7 +7510,7 @@ bool runloop_environment_cb(unsigned cmd, void *data)
RARCH_LOG("[Environ]: SET_ROTATION: %u\n", rotation);
if (!video_allow_rotate)
break;
return false;
if (system)
system->rotation = rotation;