Cocoa: Enable EGL

This commit is contained in:
Camilla Löwy
2017-01-02 15:32:55 +01:00
parent 3edaa5280d
commit ec410fb6fe
4 changed files with 14 additions and 7 deletions
+4
View File
@@ -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;