mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix exclusive fullscreen condition
Spotted in Android compilation: warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare]
This commit is contained in:
parent
27f337d5a0
commit
cc92ac7577
@ -1248,7 +1248,7 @@ void video_switch_refresh_rate_maybe(
|
||||
unsigned video_bfi = settings->uints.video_black_frame_insertion;
|
||||
unsigned shader_subframes = settings->uints.video_shader_subframes;
|
||||
bool vrr_runloop_enable = settings->bools.vrr_runloop_enable;
|
||||
bool exclusive_fullscreen = (video_st->flags | VIDEO_FLAG_FORCE_FULLSCREEN) || (
|
||||
bool exclusive_fullscreen = (video_st->flags & VIDEO_FLAG_FORCE_FULLSCREEN) || (
|
||||
settings->bools.video_fullscreen && !settings->bools.video_windowed_fullscreen);
|
||||
bool windowed_fullscreen = settings->bools.video_fullscreen && settings->bools.video_windowed_fullscreen;
|
||||
bool all_fullscreen = settings->bools.video_fullscreen || settings->bools.video_windowed_fullscreen;
|
||||
|
Loading…
x
Reference in New Issue
Block a user