From aa6a1b4283c8c35b5edb706f3a0110ca6c82878b Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 5 Nov 2017 09:58:25 +0100 Subject: [PATCH] Corrected issue with missing defines --- src/rlgl.c | 5 +++++ 1 file changed, 5 insertions(+) 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