Skip to content

Commit

Permalink
Update rcore_ios.c
Browse files Browse the repository at this point in the history
  • Loading branch information
blueloveTH committed Mar 27, 2024
1 parent bc34ea6 commit 3c12964
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/platforms/rcore_ios.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <complex.h>

// iOS only supports callbacks
// We are not able to give users full control of the game loop
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -253,7 +241,7 @@ int GetMonitorCount(void)
return 1;
}

// Get number of monitors
// Get current monitor id
int GetCurrentMonitor(void)
{
return 0;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3c12964

Please sign in to comment.