Update Pi 3 raylib files

This commit is contained in:
beeanyew
2021-07-27 09:39:29 +02:00
parent ea4eec359e
commit 790635865c
19 changed files with 3649 additions and 3047 deletions

View File

@@ -56,9 +56,6 @@
#ifndef MAX_TRACELOG_MSG_LENGTH
#define MAX_TRACELOG_MSG_LENGTH 128 // Max length of one trace-log message
#endif
#ifndef MAX_UWP_MESSAGES
#define MAX_UWP_MESSAGES 512 // Max UWP messages to process
#endif
//----------------------------------------------------------------------------------
// Global Variables Definition
@@ -124,7 +121,7 @@ void TraceLog(int logType, const char *text, ...)
}
#if defined(PLATFORM_ANDROID)
switch(logType)
switch (logType)
{
case LOG_TRACE: __android_log_vprint(ANDROID_LOG_VERBOSE, "raylib", text, args); break;
case LOG_DEBUG: __android_log_vprint(ANDROID_LOG_DEBUG, "raylib", text, args); break;
@@ -155,7 +152,7 @@ void TraceLog(int logType, const char *text, ...)
va_end(args);
if (logType == LOG_ERROR) exit(1); // If error, exit program
if (logType == LOG_FATAL) exit(EXIT_FAILURE); // If fatal logging, exit program
#endif // SUPPORT_TRACELOG
}
@@ -325,7 +322,7 @@ char *LoadFileText(const char *fileName)
}
// Unload file text data allocated by LoadFileText()
void UnloadFileText(unsigned char *text)
void UnloadFileText(char *text)
{
RL_FREE(text);
}
@@ -393,7 +390,7 @@ FILE *android_fopen(const char *fileName, const char *mode)
if (asset != NULL)
{
// Return pointer to file in the assets
// Get pointer to file in the assets
return funopen(asset, android_read, android_write, android_seek, android_close);
}
else