diff --git a/graphics/opengl/opengl.hpp b/graphics/opengl/opengl.hpp index 69dafad02a..95e3a1db1f 100644 --- a/graphics/opengl/opengl.hpp +++ b/graphics/opengl/opengl.hpp @@ -128,6 +128,7 @@ namespace graphics extern const int GL_DEPTH_COMPONENT16_MWM; extern const int GL_DEPTH_COMPONENT24_MWM; extern const int GL_RGBA8_MWM; + extern const int GL_RGBA4_MWM; extern void (OPENGL_CALLING_CONVENTION * glBindFramebufferFn) (GLenum target, GLuint framebuffer); extern void (OPENGL_CALLING_CONVENTION * glFramebufferTexture2DFn) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); diff --git a/graphics/opengl/opengl_es2.cpp b/graphics/opengl/opengl_es2.cpp index 1fb9bfa7e2..44473e96a6 100644 --- a/graphics/opengl/opengl_es2.cpp +++ b/graphics/opengl/opengl_es2.cpp @@ -42,6 +42,7 @@ namespace graphics const int GL_DEPTH_COMPONENT16_MWM = GL_DEPTH_COMPONENT16; const int GL_DEPTH_COMPONENT24_MWM = GL_DEPTH_COMPONENT24_OES; const int GL_RGBA8_MWM = GL_RGBA8_OES; + const int GL_RGBA4_MWM = GL_RGBA4; const int GL_WRITE_ONLY_MWM = GL_WRITE_ONLY_OES; diff --git a/graphics/opengl/opengl_ext.cpp b/graphics/opengl/opengl_ext.cpp index 59cc975b1b..3059f1c9b1 100644 --- a/graphics/opengl/opengl_ext.cpp +++ b/graphics/opengl/opengl_ext.cpp @@ -19,6 +19,7 @@ namespace graphics const int GL_DEPTH_COMPONENT16_MWM = GL_DEPTH_COMPONENT16; const int GL_DEPTH_COMPONENT24_MWM = GL_DEPTH_COMPONENT24; const int GL_RGBA8_MWM = GL_RGBA8; + const int GL_RGBA4_MWM = GL_RGBA4; const int GL_WRITE_ONLY_MWM = GL_WRITE_ONLY; diff --git a/graphics/opengl/opengl_win32.cpp b/graphics/opengl/opengl_win32.cpp index 9b6b525672..646cd184f0 100644 --- a/graphics/opengl/opengl_win32.cpp +++ b/graphics/opengl/opengl_win32.cpp @@ -24,6 +24,7 @@ namespace graphics const int GL_DEPTH_COMPONENT16_MWM = GL_DEPTH_COMPONENT16; const int GL_DEPTH_COMPONENT24_MWM = GL_DEPTH_COMPONENT24; const int GL_RGBA8_MWM = GL_RGBA8; + const int GL_RGBA4_MWM = GL_RGBA4; const int GL_WRITE_ONLY_MWM = GL_WRITE_ONLY;