setupMethod = POINTER;
} else if (strcmp(arg, "interleaved") == 0) {
setupMethod = INTERLEAVED;
- } else if (strcmp(arg, "DRAWARRAYS") == 0) {
+ } else if (strcmp(arg, "drawarrays") == 0) {
derefMethod = DRAWARRAYS;
} else if (strcmp(arg, "arrayelement") == 0) {
derefMethod = ARRAYELEMENT;
glLoadIdentity()
glOrtho(left = 0, right = 350, bottom = 0, top = 350, zNear = -1, zFar = 1)
glClear(mask = GL_COLOR_BUFFER_BIT)
-glColorPointer(size = 3, type = GL_FLOAT, stride = 12, pointer = blob(60))
-glVertexPointer(size = 2, type = GL_INT, stride = 8, pointer = blob(40))
+glColorPointer(size = 3, type = GL_FLOAT, stride = 12, pointer = blob(72))
+glVertexPointer(size = 2, type = GL_INT, stride = 8, pointer = blob(48))
glDrawArrays(mode = GL_TRIANGLES, first = 0, count = 6)
glFlush()