To openglraw
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ bindShaderLayers shads counts = MV.imapM_ f shads
|
||||
f i shad = do
|
||||
let theVBO = _vaoVBO $ _shadVAO' shad
|
||||
stride = sum $ _vboAttribSizes theVBO
|
||||
glBindBuffer GL_ARRAY_BUFFER (_vboName $ theVBO)
|
||||
glBindBuffer GL_ARRAY_BUFFER (_vboName theVBO)
|
||||
VFSM.mapM_ (g stride theVBO) $ VFSM.enumFromStepN 0 1 6 -- [0..5]
|
||||
--S.mapM_ (g stride theVBO) $ S.each [0..5]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user