Skip to content

Commit

Permalink
Update rlgl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
blueloveTH committed Mar 25, 2024
1 parent 67fb284 commit 0a9ea31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rlgl.h
Original file line number Diff line number Diff line change
Expand Up @@ -816,9 +816,13 @@ RLAPI void rlLoadDrawQuad(void); // Load and draw a quad
#endif

#if defined(PLATFORM_IOS)
// These required macros should be defined in Xcode
#ifndef GRAPHICS_API_OPENGL_ES3
#error "GRAPHICS_API_OPENGL_ES3 required on PLATFORM_IOS"
#endif
#ifndef GL_GLEXT_PROTOTYPES
#error "GL_GLEXT_PROTOTYPES required on PLATFORM_IOS"
#endif
#include "libGLESv2/GLES/glext.h"
#include "libGLESv2/GLES2/gl2.h"
#include "libGLESv2/GLES2/gl2ext.h" // OpenGL ES 2.0 extensions library
Expand Down

0 comments on commit 0a9ea31

Please sign in to comment.