(Apple) Fix building for 32-bit OSX

This commit is contained in:
meancoot 2014-01-05 14:56:45 -05:00
parent 7e9c8908f8
commit aa23e81cca

View File

@ -529,7 +529,7 @@ void apple_gfx_ctx_get_video_size(unsigned* width, unsigned* height)
if (g_initialized) if (g_initialized)
{ {
#if defined(OSX) && !defined(MAC_OS_X_VERSION_10_7) #if defined(OSX)
CGRect cgrect = NSRectToCGRect([g_view frame]); CGRect cgrect = NSRectToCGRect([g_view frame]);
size = CGRectMake(0, 0, CGRectGetWidth(cgrect), CGRectGetHeight(cgrect)); size = CGRectMake(0, 0, CGRectGetWidth(cgrect), CGRectGetHeight(cgrect));
#else #else