Change VBO to store vertex size in bytes
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ Vertex attributes are interleaved within the vbo.
|
||||
data VBO = VBO
|
||||
{ _vboName :: GLuint
|
||||
, _vboPtr :: Ptr Float
|
||||
, _vboVertexSize :: Int
|
||||
, _vboVertexBytes :: Int
|
||||
-- add int for AMOUNT of data poked!
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user