mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 20:28:32 +09:00
[Feat] (iOS): support MobileGL builds and Metal surfaces
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user