Translate VAOs to DSA

This commit is contained in:
2023-03-09 10:10:57 +00:00
parent 18fa216dff
commit 7b797dfdb4
9 changed files with 61 additions and 32 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ data FullShader' = FullShader'
{- | Vertex array object: contains the reference to the object,
and its buffer targets. -}
data VAO = VAO
{ _vaoName :: VertexArrayObject
{ _vaoName :: GLuint
, _vaoVBO :: VBO
}
{- | Vertex buffer object: contains the reference to the object,