Refactor EBO to use DSA
This commit is contained in:
@@ -33,7 +33,7 @@ drawCPUShadows pdata s pos rad = do
|
||||
--currentProgram $= theshad ^? shadProg
|
||||
glUseProgram (theshad ^. shadProg')
|
||||
--bindVertexArrayObject $= Just (_vaoName $ _shadVAO' theshad)
|
||||
glBindVertexArray $ (_vaoName $ _shadVAO' theshad)
|
||||
glBindVertexArray . _vaoName $ _shadVAO' theshad
|
||||
glDrawArrays
|
||||
(marshalEPrimitiveMode $ _shadPrim' theshad)
|
||||
0
|
||||
|
||||
Reference in New Issue
Block a user