Browse Source

Corrected issue with missing defines

pull/382/head
Ray 7 years ago
parent
commit
aa6a1b4283
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/rlgl.c

+ 5
- 0
src/rlgl.c View File

@ -170,6 +170,11 @@
#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
#endif #endif
#if defined(GRAPHICS_API_OPENGL_21)
#define GL_LUMINANCE 0x1909
#define GL_LUMINANCE_ALPHA 0x190A
#endif
#if defined(GRAPHICS_API_OPENGL_ES2) #if defined(GRAPHICS_API_OPENGL_ES2)
#define glClearDepth glClearDepthf #define glClearDepth glClearDepthf
#define GL_READ_FRAMEBUFFER GL_FRAMEBUFFER #define GL_READ_FRAMEBUFFER GL_FRAMEBUFFER

Loading…
Cancel
Save