diff options
-rw-r--r-- | src/gui/opengl/qopenglfunctions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/opengl/qopenglfunctions.h b/src/gui/opengl/qopenglfunctions.h index 881c27f2c9..4e778dda66 100644 --- a/src/gui/opengl/qopenglfunctions.h +++ b/src/gui/opengl/qopenglfunctions.h @@ -2073,6 +2073,9 @@ inline void QOpenGLFunctions::glVertexAttribPointer(GLuint indx, GLint size, GLe #ifndef GL_RGBA4 #define GL_RGBA4 0x8056 #endif +#ifndef GL_BGR +#define GL_BGR 0x80E0 +#endif #ifndef GL_BGRA #define GL_BGRA 0x80E1 #endif |