(OSX) Buildfix

This commit is contained in:
Twinaphex 2016-01-16 16:21:39 +01:00
parent b4687fdb2b
commit fbdc30e7bb

View File

@ -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();
#if defined(HAVE_COCOA)
CGRect cgrect, size;
CGRect size;
GLsizei backingPixelWidth, backingPixelHeight;
CocoaView *g_view = (CocoaView*)nsview_get_ptr();
CGRect cgrect = NSRectToCGRect([g_view frame]);