From 757804868b3df0ea0c52c5f86382f2e6b3227386 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 30 Mar 2015 18:03:57 +0200 Subject: [PATCH] (iOS) Remove last instances of CGFloat --- apple/iOS/platform.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apple/iOS/platform.m b/apple/iOS/platform.m index 7acd96c8a3..cb45f939fd 100644 --- a/apple/iOS/platform.m +++ b/apple/iOS/platform.m @@ -111,22 +111,22 @@ const void* apple_get_frontend_settings(void) return settings; } -extern CGFloat apple_gfx_ctx_get_native_scale(void); +extern float apple_gfx_ctx_get_native_scale(void); /* Input helpers: This is kept here because it needs ObjC */ static void handle_touch_event(NSArray* touches) { NSUInteger i; - driver_t *driver = driver_get_ptr(); + driver_t *driver = driver_get_ptr(); apple_input_data_t *apple = (apple_input_data_t*)driver->input_data; - CGFloat scale = apple_gfx_ctx_get_native_scale(); + float scale = apple_gfx_ctx_get_native_scale(); if (!apple) return; apple->touch_count = 0; - for(i = 0; i < touches.count && (apple->touch_count < MAX_TOUCHES); i ++) + for (i = 0; i < touches.count && (apple->touch_count < MAX_TOUCHES); i++) { UITouch* touch = [touches objectAtIndex:i];