Replaced deprecated CoreGraphics calls in video mode enumeration.

This commit is contained in:
Camilla Berglund
2012-03-05 16:27:53 +01:00
parent c0db61bd6e
commit 7af82fdade
4 changed files with 69 additions and 35 deletions
+5 -4
View File
@@ -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;