ios: don't use glad

Fixes crash at start up on iOS.
Issue #1461
This commit is contained in:
Flyinghead 2024-03-17 17:54:37 +01:00
parent 966ff3767d
commit c7ee42f0ba
2 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,7 @@
#include "types.h"
#include "context.h"
#if defined(USE_OPENGL) && !defined(LIBRETRO)
#if defined(USE_OPENGL) && !defined(LIBRETRO) && !defined(TARGET_IPHONE)
#include <glad/gl.h>
#endif

View File

@ -21,6 +21,8 @@
#pragma once
#if defined(TARGET_IPHONE)
#include "gl_context.h"
#include <OpenGLES/ES3/gl.h>
#include <OpenGLES/ES3/glext.h>
class OSXGraphicsContext : public GLGraphicsContext
{