summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-08 21:45:01 -0400
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-08 21:45:01 -0400
commit8284658bac04837756287d2f6b36485c8a2833dc (patch)
tree38c2ee0bae55ed323cc7fd501acd8baea1dfc6f7 /src/common
parent386cd45f07b83824fc539f8a72429ebf73f5daf4 (diff)
configure_graphics: Use u8 for bg_color values
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 5305f1ed8..898798212 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -333,9 +333,9 @@ struct Values {
Setting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"};
Setting<bool> use_caches_gc{false, "use_caches_gc"};
- Setting<float> bg_red{0.0f, "bg_red"};
- Setting<float> bg_green{0.0f, "bg_green"};
- Setting<float> bg_blue{0.0f, "bg_blue"};
+ Setting<u8> bg_red{0, "bg_red"};
+ Setting<u8> bg_green{0, "bg_green"};
+ Setting<u8> bg_blue{0, "bg_blue"};
// System
Setting<std::optional<u32>> rng_seed{std::optional<u32>(), "rng_seed"};