Change VBO to store vertex size in bytes

This commit is contained in:
2023-04-12 23:47:52 +01:00
parent 589f663b65
commit 9bb1a22ea5
3 changed files with 30 additions and 8 deletions
+1 -1
View File
@@ -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!
}