diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-03-13 16:44:06 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-13 16:44:06 -0300 |
| commit | 244fe132199cb3c67dd9e612d2be856895f8a868 (patch) | |
| tree | d0f968d06b2bbc6e378a5a0632cd2d6322fe4e6d /src/core/frontend/framebuffer_layout.h | |
| parent | e24197bb3f74888053eb4ae49e042ec46a1c7a30 (diff) | |
| parent | b30b1f741dcbcb69672d065b0bec4f4a9e5f0993 (diff) | |
Merge branch 'master' into shader-purge
Diffstat (limited to 'src/core/frontend/framebuffer_layout.h')
| -rw-r--r-- | src/core/frontend/framebuffer_layout.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.h index e9d0a40d3..15ecfb13d 100644 --- a/src/core/frontend/framebuffer_layout.h +++ b/src/core/frontend/framebuffer_layout.h @@ -8,15 +8,15 @@ namespace Layout { -enum ScreenUndocked : u32 { - Width = 1280, - Height = 720, -}; +namespace ScreenUndocked { +constexpr u32 Width = 1280; +constexpr u32 Height = 720; +} // namespace ScreenUndocked -enum ScreenDocked : u32 { - WidthDocked = 1920, - HeightDocked = 1080, -}; +namespace ScreenDocked { +constexpr u32 Width = 1920; +constexpr u32 Height = 1080; +} // namespace ScreenDocked enum class AspectRatio { Default, |
