mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 21:04:54 +00:00
Replaced deprecated CoreGraphics calls in video mode enumeration.
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#if defined(__OBJC__)
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#else
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
typedef void* id;
|
||||
#endif
|
||||
|
||||
@@ -90,10 +91,10 @@ typedef struct _GLFWlibraryNS
|
||||
} timer;
|
||||
|
||||
// dlopen handle for dynamically loading OpenGL extension entry points
|
||||
void* OpenGLFramework;
|
||||
id desktopMode;
|
||||
id delegate;
|
||||
id autoreleasePool;
|
||||
void* OpenGLFramework;
|
||||
CGDisplayModeRef desktopMode;
|
||||
id delegate;
|
||||
id autoreleasePool;
|
||||
} _GLFWlibraryNS;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user