Rendering a triangle with mixed colors using GL_COLOR_ARRAY and glColorPointer()