diff options
| author | Vitor Kiguchi <vitor-kiguchi@hotmail.com> | 2020-03-11 14:02:30 -0300 |
|---|---|---|
| committer | Vitor Kiguchi <vitor-kiguchi@hotmail.com> | 2020-03-11 14:22:28 -0300 |
| commit | d28c202e1d30b7acc353e67e69bd22b64d738e25 (patch) | |
| tree | d151dcd6e1f9e167c7eb71d03dd50fdda6d20f8c /src/core/frontend/framebuffer_layout.cpp | |
| parent | 6aa4b40cb7645a409e8a5944f4e0fc5539476625 (diff) | |
framebuffer_layout.h: drop the use of enum for screen dimensions.
+clang format
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
| -rw-r--r-- | src/core/frontend/framebuffer_layout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp index 2dc795d562..68a0e09069 100644 --- a/src/core/frontend/framebuffer_layout.cpp +++ b/src/core/frontend/framebuffer_layout.cpp @@ -48,8 +48,8 @@ FramebufferLayout FrameLayoutFromResolutionScale(u32 res_scale) { u32 width, height; if (Settings::values.use_docked_mode) { - width = ScreenDocked::WidthDocked * res_scale; - height = ScreenDocked::HeightDocked * res_scale; + width = ScreenDocked::Width * res_scale; + height = ScreenDocked::Height * res_scale; } else { width = ScreenUndocked::Width * res_scale; height = ScreenUndocked::Height * res_scale; |
