diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-14 17:38:49 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-14 17:45:12 +0100 |
commit | 10a0022f35e6bfccbbbf6fbd1538b9164cd569ff (patch) | |
tree | 1a0ee542bb2d18f9074f1e0f0c9a213dae540bd5 /floormat | |
parent | 0c7cf38b33534db1ea8da855f1ca02b3ca5ccea5 (diff) |
allow configuring msaa samples at runtime
Diffstat (limited to 'floormat')
-rw-r--r-- | floormat/settings.hpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/floormat/settings.hpp b/floormat/settings.hpp index 39b5b137..01ded6c4 100644 --- a/floormat/settings.hpp +++ b/floormat/settings.hpp @@ -20,16 +20,15 @@ struct fm_settings Magnum::Math::Vector2<int> resolution{1024, 768}; Corrade::Containers::String title{"Test"}; Corrade::Containers::String disabled_extensions; // TODO - std::uint8_t msaa_samples = 16; bool vsync = true; fm_gpu_debug gpu_debug = fm_gpu_debug::on; fm_log_level log_level = fm_log_level::normal; - std::uint8_t resizable : 1 = true, - fullscreen : 1 = false, - fullscreen_desktop : 1 = false, - borderless : 1 = false, - maximized : 1 = false, - msaa : 1 = false; + unsigned resizable : 1 = true, + fullscreen : 1 = false, + fullscreen_desktop : 1 = false, + borderless : 1 = false, + maximized : 1 = false; + std::uint8_t msaa_samples = 16; }; } // namespace floormat |