From 346b3a202aebedcad1b2515f52697e715efd23c7 Mon Sep 17 00:00:00 2001 From: Csaba Hruska Date: Sun, 28 Feb 2016 14:47:11 +0100 Subject: enable srgb by default --- src/LambdaCube/GL/Backend.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/LambdaCube/GL/Backend.hs') diff --git a/src/LambdaCube/GL/Backend.hs b/src/LambdaCube/GL/Backend.hs index 478dfd1..cec78a4 100644 --- a/src/LambdaCube/GL/Backend.hs +++ b/src/LambdaCube/GL/Backend.hs @@ -701,6 +701,7 @@ renderSlot cmds = forM_ cmds $ \cmd -> do renderFrame :: GLRenderer -> IO () renderFrame glp = do + glEnable GL_FRAMEBUFFER_SRGB glBindVertexArray (glVAO glp) forM_ (glCommands glp) $ \cmd -> do case cmd of -- cgit v1.2.3