Tweak vbo again

This commit is contained in:
jgk
2021-06-11 21:13:01 +02:00
parent c2360a5f0f
commit 1f87dca6ec
4 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ module Shader.Data
, ShaderTexture (..)
-- | Lens functions
, vao
, vaoVBO
, vaoBufferTargets
, shaderProgram
@@ -39,7 +40,7 @@ and a list of attribute pointer sizes.
Vertex attributes are interleaved within the vbo. -}
data VBO = VBO
{ _vbo :: BufferObject
, _vboPoint :: Ptr Float
, _vboPointer :: Ptr Float
, _vboAttribSizes :: [Int] -- ^ It is not clear to me if this is necessary to store or not
}