(OSX) Buildfix

This commit is contained in:
Twinaphex 2019-02-10 01:21:45 +01:00
parent 20a94a5f37
commit ed458cd89b

View File

@ -449,7 +449,7 @@ static void cocoagl_gfx_ctx_input_driver(void *data,
static void cocoagl_gfx_ctx_get_video_size(void *data, unsigned* width, unsigned* height)
{
float screenscale = cocoagl_gfx_ctx_get_native_scale();
#if defined(HAVE_COCOA_METAL)
#if defined(HAVE_COCOA) || defined(HAVE_COCOA_METAL)
CGRect size;
GLsizei backingPixelWidth, backingPixelHeight;
#if defined(HAVE_COCOA_METAL)