address comment
This commit is contained in:
@@ -28,10 +28,9 @@ FramebufferLayout DefaultFrameLayout(u32 width, u32 height) {
|
||||
FramebufferLayout res{width, height};
|
||||
|
||||
const float emulation_aspect_ratio =
|
||||
Settings::values.stretch_to_full
|
||||
Settings::values.stretch_to_fullscreen
|
||||
? static_cast<float>(height) / width
|
||||
: static_cast<float>(ScreenUndocked::Height) / ScreenUndocked::Width;
|
||||
|
||||
const auto window_aspect_ratio = static_cast<float>(height) / width;
|
||||
|
||||
const Common::Rectangle<u32> screen_window_area{0, 0, width, height};
|
||||
|
||||
Reference in New Issue
Block a user