mirror of
https://github.com/glfw/glfw.git
synced 2025-07-29 02:50:02 +00:00
Fix compiles on Mac OS X 10.6 by using a category to polyfill the declaration of convertRectToBacking:.
This commit is contained in:
parent
2656bf8f9f
commit
b6a57b051e
@ -32,6 +32,12 @@
|
||||
// Needed for _NSGetProgname
|
||||
#include <crt_externs.h>
|
||||
|
||||
// Fix for 10.6.
|
||||
@interface NSWindow (GLFWNSWindowPolyfill)
|
||||
|
||||
-(NSRect)convertRectToBacking:(NSRect)rect;
|
||||
|
||||
@end
|
||||
|
||||
// Enter fullscreen mode
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user