mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-24 12:15:08 +00:00
(iOS) Buildfix
This commit is contained in:
parent
4b9fea617c
commit
794bcc53c3
@ -161,7 +161,7 @@ float get_backing_scale_factor(void)
|
||||
#endif
|
||||
if (!screen)
|
||||
return 0.0;
|
||||
#if MAC_OS_X_VERSION_10_7
|
||||
#if MAC_OS_X_VERSION_10_7 && !defined(IOS)
|
||||
return screen.backingScaleFactor;
|
||||
#else
|
||||
return 1.0f;
|
||||
|
@ -143,7 +143,9 @@ static void cocoa_input_poll(void *data)
|
||||
{
|
||||
uint32_t i;
|
||||
cocoa_input_data_t *apple = (cocoa_input_data_t*)data;
|
||||
#ifndef IOS
|
||||
float backing_scale_factor = get_backing_scale_factor();
|
||||
#endif
|
||||
|
||||
for (i = 0; i < apple->touch_count; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user