mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
gfx_display_get_adjusted_scale_internal - cleanup
This commit is contained in:
parent
4f82c26f6c
commit
e8ab0a892a
@ -148,7 +148,9 @@ static float gfx_display_get_adjusted_scale_internal(
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Ensure final scale is 'sane' */
|
/* Ensure final scale is 'sane' */
|
||||||
return (adjusted_scale > 0.0001f) ? adjusted_scale : 1.0f;
|
if (adjusted_scale <= 0.0001f)
|
||||||
|
return 1.0f;
|
||||||
|
return adjusted_scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if the current menu driver is compatible
|
/* Check if the current menu driver is compatible
|
||||||
|
Loading…
x
Reference in New Issue
Block a user