From b6e9b8c3ff7b99cb8d061ee714fc76bd44049453 Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Sat, 30 Nov 2019 10:08:43 +0000 Subject: [PATCH] Fix a glColorPointer call --- samples/multitexture_arrays/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/multitexture_arrays/main.c b/samples/multitexture_arrays/main.c index 27b57cf..58bf860 100644 --- a/samples/multitexture_arrays/main.c +++ b/samples/multitexture_arrays/main.c @@ -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);