Use sizeof(GLfloat) instead of sizeof(GL_FLOAT)
GL_FLOAT is an enum, with the value 0x1406, while GLFloat is the actual type. Source: https://www.khronos.org/opengl/wiki/OpenGL_Typepull/593/head
parent
b2791fd487
commit
7f4f2c042e
Loading…
Reference in New Issue