aboutsummaryrefslogtreecommitdiff
path: root/src/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.rs')
-rw-r--r--src/window.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.rs b/src/window.rs
index 9644cd42..0f527a4f 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -200,6 +200,7 @@ impl Window {
.with_transparency(true)
.with_decorations(window_config.decorations());
let context = ContextBuilder::new()
+ .with_srgb(true)
.with_vsync(true);
let window = ::glutin::GlWindow::new(window, context, &event_loop)?;
window.show();