Update rcore_ios.c
This commit is contained in:
parent
bc34ea6faa
commit
3c129644e5
|
|
@ -45,10 +45,7 @@
|
||||||
* 3. This notice may not be removed or altered from any source distribution.
|
* 3. This notice may not be removed or altered from any source distribution.
|
||||||
*
|
*
|
||||||
**********************************************************************************************/
|
**********************************************************************************************/
|
||||||
|
|
||||||
// TODO: Include the platform specific libraries
|
|
||||||
#include "libEGL/libEGL.h"
|
#include "libEGL/libEGL.h"
|
||||||
#include <complex.h>
|
|
||||||
|
|
||||||
// iOS only supports callbacks
|
// iOS only supports callbacks
|
||||||
// We are not able to give users full control of the game loop
|
// 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)
|
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
|
// Check if application should close
|
||||||
bool WindowShouldClose(void)
|
bool WindowShouldClose(void)
|
||||||
{
|
{
|
||||||
|
|
@ -253,7 +241,7 @@ int GetMonitorCount(void)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get number of monitors
|
// Get current monitor id
|
||||||
int GetCurrentMonitor(void)
|
int GetCurrentMonitor(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -317,7 +305,6 @@ Vector2 GetWindowScaleDPI(void)
|
||||||
{
|
{
|
||||||
CGFloat scale = [[UIScreen mainScreen] scale];
|
CGFloat scale = [[UIScreen mainScreen] scale];
|
||||||
return (Vector2){ scale, scale };
|
return (Vector2){ scale, scale };
|
||||||
// return (Vector2){ 1.0f, 1.0f };
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set clipboard text content
|
// Set clipboard text content
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user