This commit is contained in:
2023-03-09 13:06:55 +00:00
parent 01268e4c8a
commit 9f37ed9944
2 changed files with 7 additions and 13 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ setupVAO = setupVAOSized numDrawableElements
setupVAOSized :: Int -> [Int] -> IO VAO
setupVAOSized ndraw sizes = do
vaoname <- mglCreateSingle glGenVertexArrays
vaoname <- mglCreateSingle glCreateVertexArrays
glBindVertexArray vaoname
theVBO <- setupVBOSized ndraw sizes
return $