mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
(iOS) apple_gfx_ctx_get_native_scale - let's make this even MORE
backwards compatible just because we can
This commit is contained in:
parent
9507bdcea7
commit
bdd5ac59ea
@ -248,6 +248,8 @@ CGFloat apple_gfx_ctx_get_native_scale(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = 1.0f;
|
||||||
|
if ([screen respondsToSelector:@selector(scale)])
|
||||||
ret = screen.scale;
|
ret = screen.scale;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user