From 3c129644e5986a96a303e4aca06c9ab65272ae92 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 27 Mar 2024 22:09:00 +0800 Subject: [PATCH] Update rcore_ios.c --- src/platforms/rcore_ios.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/platforms/rcore_ios.c b/src/platforms/rcore_ios.c index 24598c964..5628a211c 100644 --- a/src/platforms/rcore_ios.c +++ b/src/platforms/rcore_ios.c @@ -45,10 +45,7 @@ * 3. This notice may not be removed or altered from any source distribution. * **********************************************************************************************/ - -// TODO: Include the platform specific libraries #include "libEGL/libEGL.h" -#include // iOS only supports callbacks // We are not able to give users full control of the game loop @@ -120,15 +117,6 @@ static int map_point_id(UITouch *touch){ int InitPlatform(void); // Initialize platform (graphics, inputs and more) -//---------------------------------------------------------------------------------- -// Module Functions Declaration -//---------------------------------------------------------------------------------- -// NOTE: Functions declaration is provided by raylib.h - -//---------------------------------------------------------------------------------- -// Module Functions Definition: Window and Graphics Device -//---------------------------------------------------------------------------------- - // Check if application should close bool WindowShouldClose(void) { @@ -253,7 +241,7 @@ int GetMonitorCount(void) return 1; } -// Get number of monitors +// Get current monitor id int GetCurrentMonitor(void) { return 0; @@ -317,7 +305,6 @@ Vector2 GetWindowScaleDPI(void) { CGFloat scale = [[UIScreen mainScreen] scale]; return (Vector2){ scale, scale }; - // return (Vector2){ 1.0f, 1.0f }; } // Set clipboard text content