summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.c
diff options
context:
space:
mode:
authorRay <[email protected]>2017-11-05 09:58:25 +0100
committerRay <[email protected]>2017-11-05 09:58:25 +0100
commitaa6a1b4283c8c35b5edb706f3a0110ca6c82878b (patch)
tree2cc30f8360b80474718ab156cf6f7368fd8189a7 /src/rlgl.c
parentd43af4918be5262246a0efa5acb178d1b39c008c (diff)
downloadraylib-aa6a1b4283c8c35b5edb706f3a0110ca6c82878b.tar.gz
raylib-aa6a1b4283c8c35b5edb706f3a0110ca6c82878b.zip
Corrected issue with missing defines
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 5f0db6e8..655b03ca 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -170,6 +170,11 @@
#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
#endif
+#if defined(GRAPHICS_API_OPENGL_21)
+ #define GL_LUMINANCE 0x1909
+ #define GL_LUMINANCE_ALPHA 0x190A
+#endif
+
#if defined(GRAPHICS_API_OPENGL_ES2)
#define glClearDepth glClearDepthf
#define GL_READ_FRAMEBUFFER GL_FRAMEBUFFER