Move from glNamedBufferData to glNamedBufferStorage
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user