Tweak vbo again
This commit is contained in:
+2
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user