summaryrefslogtreecommitdiff
path: root/src/LambdaCube/GL
diff options
context:
space:
mode:
Diffstat (limited to 'src/LambdaCube/GL')
-rw-r--r--src/LambdaCube/GL/Backend.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LambdaCube/GL/Backend.hs b/src/LambdaCube/GL/Backend.hs
index 84e5b04..324b3e6 100644
--- a/src/LambdaCube/GL/Backend.hs
+++ b/src/LambdaCube/GL/Backend.hs
@@ -852,7 +852,7 @@ emit cmd = modify $ \s -> s {drawCommands = cmd : drawCommands s}
852 852
853drawContext programs = do 853drawContext programs = do
854 GLProgram{..} <- (programs !) <$> gets currentProgram 854 GLProgram{..} <- (programs !) <$> gets currentProgram
855 let f = take (Set.size inputTextureUniforms) . IntMap.toList 855 let f = take (Map.size inputTextures) . IntMap.toList
856 GLDrawContext <$> gets rasterContext 856 GLDrawContext <$> gets rasterContext
857 <*> gets accumulationContext 857 <*> gets accumulationContext
858 <*> gets renderTarget 858 <*> gets renderTarget