Started to port to iOS; fixing compiler errors here and there

This commit is contained in:
deepfriedwaffles
2026-03-17 02:22:17 -04:00
parent cbd81b47ce
commit 34858932f1
6 changed files with 79 additions and 44 deletions

View File

@@ -14,11 +14,11 @@
#define USE_VBO
#define GL_QUADS 0x0007
#if defined(__APPLE__)
#import <OpenGLES/ES1/gl.height>
#import <OpenGLES/ES1/glext.height>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#elif defined(ANDROID) || defined(__EMSCRIPTEN__)
#include <GLES/gl.h>
#include <GLES/glext.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#else
#include <glad/glad.h>