Get shape shader working using vertex pulling
Seems slow, will try to improve
This commit is contained in:
@@ -29,10 +29,6 @@ bufferEBO :: UintBO -> Int -> IO ()
|
||||
bufferEBO x i =
|
||||
glNamedBufferSubData (x ^. uiboName) 0 (fromIntegral $ gluintSize * i) (x ^. uiboPtr)
|
||||
|
||||
--bufferFloatBO :: VBO -> Int -> IO ()
|
||||
--bufferFloatBO x i = undefined
|
||||
-- glNamedBufferSubData (x ^. uiboName) 0 (fromIntegral $ gluintSize * i) (x ^. uiboPtr)
|
||||
|
||||
bufferShaderLayers :: MV.MVector (PrimState IO) (Shader, VBO) -> UMV.MVector (PrimState IO) Int -> IO ()
|
||||
bufferShaderLayers shads counts = MV.imapM_ f shads
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user