[Feat] (iOS): support MobileGL builds and Metal surfaces

This commit is contained in:
2026-06-30 07:25:20 +08:00
parent cca4df17d9
commit 2f1949e093
6 changed files with 68 additions and 13 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
// End of Source File Header
#include "GetProcAddress.h"
#if defined(__APPLE__)
#if defined(__APPLE__) && !defined(MOBILEGL_IOS)
#ifndef GL_SILENCE_DEPRECATION
#define GL_SILENCE_DEPRECATION
#endif
@@ -67,7 +67,7 @@ namespace MobileGL::MG_Impl {
GETPROC(eglCreatePlatformPixmapSurface, name);
GETPROC(eglWaitSync, name);
#if defined(__APPLE__)
#if defined(__APPLE__) && !defined(MOBILEGL_IOS)
GETPROC(CGLChoosePixelFormat, name);
GETPROC(CGLDestroyPixelFormat, name);
GETPROC(CGLDescribePixelFormat, name);