summaryrefslogtreecommitdiff
path: root/src/LambdaCube
diff options
context:
space:
mode:
Diffstat (limited to 'src/LambdaCube')
-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 499498e..4280876 100644
--- a/src/LambdaCube/GL/Backend.hs
+++ b/src/LambdaCube/GL/Backend.hs
@@ -772,7 +772,7 @@ setupDrawContext glForceSetup glDrawContextRef glInput new = do
772 glBindSampler (GL_TEXTURE0 + fromIntegral textureUnit) glSamplerObject 772 glBindSampler (GL_TEXTURE0 + fromIntegral textureUnit) glSamplerObject
773 773
774 -- setup sampler uniform mapping 774 -- setup sampler uniform mapping
775 setup glSamplerUniformMapping $ mapM_ $ \(textureUnit,GLSamplerUniform{..}) -> do 775 forM_ (glSamplerUniformMapping new) $ \(textureUnit,GLSamplerUniform{..}) -> do
776 glUniform1i glUniformBinding (fromIntegral textureUnit) 776 glUniform1i glUniformBinding (fromIntegral textureUnit)
777 writeIORef glUniformBindingRef (fromIntegral textureUnit) 777 writeIORef glUniformBindingRef (fromIntegral textureUnit)
778 778