This commit is contained in:
Twinaphex 2016-01-16 11:51:24 +01:00
parent 302089e8d8
commit 64fe30281c

View File

@ -363,10 +363,10 @@ float cocoagl_gfx_ctx_get_native_scale(void)
if ([screen respondsToSelector:selector])
return get_from_selector([screen class], screen, selector, &ret);
ret = 1.0f;
ret = 1.0f;
selector = NSSelectorFromString(BOXSTRING("scale"));
if ([screen respondsToSelector:selector])
ret = screen.scale;
ret = screen.scale;
return ret;
}