mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 00:49:48 +00:00
Cocoa: Enable EGL
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
#define EGLAPIENTRY __stdcall
|
||||
typedef HDC EGLNativeDisplayType;
|
||||
typedef HWND EGLNativeWindowType;
|
||||
#elif defined(_GLFW_COCOA)
|
||||
#define EGLAPIENTRY
|
||||
typedef void* EGLNativeDisplayType;
|
||||
typedef id EGLNativeWindowType;
|
||||
#elif defined(_GLFW_X11)
|
||||
#define EGLAPIENTRY
|
||||
typedef Display* EGLNativeDisplayType;
|
||||
|
||||
Reference in New Issue
Block a user