Fix a glColorPointer call

This commit is contained in:
Luke Benstead 2019-11-30 10:08:43 +00:00
parent a280dac778
commit b6e9b8c3ff

View File

@ -67,7 +67,7 @@ void RenderCallback(GLuint texID0, GLuint texID1) {
glClientActiveTextureARB(GL_TEXTURE0_ARB);
/* Bind the Color Array */
glColorPointer(1, GL_UNSIGNED_INT, 0, ARGB_ARRAY);
glColorPointer(GL_BGRA, GL_UNSIGNED_BYTE, 0, ARGB_ARRAY);
/* Bind the Vertex Array */
glVertexPointer(3, GL_FLOAT, 0, VERTEX_ARRAY);