aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorVitor Kiguchi <vitor-kiguchi@hotmail.com>2020-03-11 14:02:30 -0300
committerVitor Kiguchi <vitor-kiguchi@hotmail.com>2020-03-11 14:22:28 -0300
commite891ff9a0cbd5466fff302ff73862f3a73440efd (patch)
treed151dcd6e1f9e167c7eb71d03dd50fdda6d20f8c /src/core/frontend/framebuffer_layout.cpp
parent503ebe9b960bd382bca967188b053b603ed33285 (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.cpp4
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;