mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(Apple) Fix building for 32-bit OSX
This commit is contained in:
parent
7e9c8908f8
commit
aa23e81cca
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user