summaryrefslogtreecommitdiffhomepage
path: root/floormat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-17 09:28:01 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-17 09:28:31 +0100
commitec9ee23f869f54ae4dccd0dff16fbbf890c299c0 (patch)
tree280e614a2dc7c0934ca2cbdc579087613f4f5cb0 /floormat
parentd9e5e232b60731d56b1b60f2fe113e2450f18208 (diff)
use boolean bitfields, not uint8_t
Diffstat (limited to 'floormat')
-rw-r--r--floormat/settings.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/floormat/settings.hpp b/floormat/settings.hpp
index 01ded6c4..538d932d 100644
--- a/floormat/settings.hpp
+++ b/floormat/settings.hpp
@@ -23,11 +23,11 @@ struct fm_settings
bool vsync = true;
fm_gpu_debug gpu_debug = fm_gpu_debug::on;
fm_log_level log_level = fm_log_level::normal;
- unsigned resizable : 1 = true,
- fullscreen : 1 = false,
- fullscreen_desktop : 1 = false,
- borderless : 1 = false,
- maximized : 1 = false;
+ bool resizable : 1 = true,
+ fullscreen : 1 = false,
+ fullscreen_desktop : 1 = false,
+ borderless : 1 = false,
+ maximized : 1 = false;
std::uint8_t msaa_samples = 16;
};