dglOpenGL
Works fine when AVertices is static array but does not work when identical data is sent as dynamic array. What do I do to make it work with dynamic array?Code:glBufferData(GL_ARRAY_BUFFER, ASizeOfVertices, @AVertices, GL_STATIC_DRAW);
dglOpenGL
Works fine when AVertices is static array but does not work when identical data is sent as dynamic array. What do I do to make it work with dynamic array?Code:glBufferData(GL_ARRAY_BUFFER, ASizeOfVertices, @AVertices, GL_STATIC_DRAW);
@AVertices[0] should do the trick
Bookmarks