Store RenderingWindows whitebalance in Settings

This commit is contained in:
Bruno Herbelin
2023-03-02 05:02:48 +01:00
parent 1c309b2c89
commit 6e3497e4c4
5 changed files with 29 additions and 38 deletions

View File

@@ -64,9 +64,12 @@ struct WindowConfig
bool decorated;
std::string monitor;
bool show_pattern;
glm::vec4 whitebalance;
WindowConfig() : name(APP_TITLE), x(15), y(15), w(1280), h(720),
fullscreen(false), scaled(false), decorated(true), monitor(""), show_pattern(false) { }
fullscreen(false), scaled(false), decorated(true),
monitor(""), show_pattern(false), whitebalance(glm::vec4(1.f, 1.f, 1.f, 0.5f))
{ }
};