mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 01:21:10 +00:00
(OSX) Buildfix
This commit is contained in:
parent
b4687fdb2b
commit
fbdc30e7bb
@ -372,7 +372,7 @@ static void cocoagl_gfx_ctx_get_video_size(void *data, unsigned* width, unsigned
|
|||||||
{
|
{
|
||||||
float screenscale = cocoagl_gfx_ctx_get_native_scale();
|
float screenscale = cocoagl_gfx_ctx_get_native_scale();
|
||||||
#if defined(HAVE_COCOA)
|
#if defined(HAVE_COCOA)
|
||||||
CGRect cgrect, size;
|
CGRect size;
|
||||||
GLsizei backingPixelWidth, backingPixelHeight;
|
GLsizei backingPixelWidth, backingPixelHeight;
|
||||||
CocoaView *g_view = (CocoaView*)nsview_get_ptr();
|
CocoaView *g_view = (CocoaView*)nsview_get_ptr();
|
||||||
CGRect cgrect = NSRectToCGRect([g_view frame]);
|
CGRect cgrect = NSRectToCGRect([g_view frame]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user