aboutsummaryrefslogtreecommitdiff
path: root/include/mgl
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgl')
-rw-r--r--include/mgl/gl.h1
-rw-r--r--include/mgl/gl_macro.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/mgl/gl.h b/include/mgl/gl.h
index c9a709d..1d19339 100644
--- a/include/mgl/gl.h
+++ b/include/mgl/gl.h
@@ -27,7 +27,6 @@ typedef struct {
void (*glGenTextures)(int n, unsigned int *textures);
void (*glDeleteTextures)(int n, const unsigned int *textures);
void (*glTexImage2D)(unsigned int target, int level, int internalFormat, int width, int height, int border, unsigned int format, unsigned int type, const void *pixels);
- void (*glCompressedTexImage2D)(unsigned int target, int level, unsigned int internalformat, int width, int height, int border, int imageSize, const void *data);
void (*glBindTexture)(unsigned int target, unsigned int texture);
void (*glTexParameteri)(unsigned int target, unsigned int pname, int param);
void (*glHint)(unsigned int target, unsigned int mode);
diff --git a/include/mgl/gl_macro.h b/include/mgl/gl_macro.h
index c47c8fb..aa264ee 100644
--- a/include/mgl/gl_macro.h
+++ b/include/mgl/gl_macro.h
@@ -31,6 +31,8 @@
#define GL_UNSIGNED_BYTE 0x1401
#define GL_ALPHA 0x1906
+#define GL_LUMINANCE 0x1909
+#define GL_LUMINANCE_ALPHA 0x190A
#define GL_RGB 0x1907
#define GL_RGBA 0x1908