Move from glNamedBufferData to glNamedBufferStorage

This commit is contained in:
2025-11-09 21:11:55 +00:00
parent 7ae50adb55
commit 187751ec26
4 changed files with 16 additions and 13 deletions
+1 -3
View File
@@ -61,9 +61,7 @@ newtype TO = TO {_unTO :: GLuint}
{- | Vertex array object: contains the reference to the object,
and its buffer targets.
-}
newtype VAO = VAO
{ _vaoName :: GLuint
}
newtype VAO = VAO { _vaoName :: GLuint }
data VertexAttribute = VertexAttribute
{ _vaCount :: GLint