framebuffer_layout.h: drop the use of enum for screen dimensions.
+clang format
This commit is contained in:
parent
6aa4b40cb7
commit
d28c202e1d
2 changed files with 10 additions and 10 deletions
src/core/frontend
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue