summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/LambdaCube/GL/Backend.hs1
1 files changed, 1 insertions, 0 deletions
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
701 701
702renderFrame :: GLRenderer -> IO () 702renderFrame :: GLRenderer -> IO ()
703renderFrame glp = do 703renderFrame glp = do
704 glEnable GL_FRAMEBUFFER_SRGB
704 glBindVertexArray (glVAO glp) 705 glBindVertexArray (glVAO glp)
705 forM_ (glCommands glp) $ \cmd -> do 706 forM_ (glCommands glp) $ \cmd -> do
706 case cmd of 707 case cmd of