update SDL3 to latest commit

This commit is contained in:
Sasha Szpakowski
2024-10-06 20:30:44 -03:00
parent 1b0fdc338b
commit 9e5eb1b018
1426 changed files with 242456 additions and 103496 deletions
+5 -5
View File
@@ -21,7 +21,7 @@ static void EnableTestLog(int *message_count)
SDL_SetLogOutputFunction(TestLogOutput, message_count);
}
static void DisableTestLog()
static void DisableTestLog(void)
{
SDL_SetLogOutputFunction(original_function, original_userdata);
}
@@ -33,7 +33,7 @@ static void DisableTestLog()
/**
* Check SDL_HINT_LOGGING functionality
*/
static int log_testHint(void *arg)
static int SDLCALL log_testHint(void *arg)
{
int count;
@@ -138,8 +138,8 @@ static int log_testHint(void *arg)
}
SDL_SetHint(SDL_HINT_LOGGING, "0=4,3=2,2=0,*=3");
SDLTest_AssertPass("SDL_SetHint(SDL_HINT_LOGGING, \"0=4,3=2,2=0,*=3\")");
SDL_SetHint(SDL_HINT_LOGGING, "0=5,3=3,2=0,*=4");
SDLTest_AssertPass("SDL_SetHint(SDL_HINT_LOGGING, \"0=5,3=3,2=1,*=4\")");
{
EnableTestLog(&count);
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_WARN, "test");
@@ -192,7 +192,7 @@ static int log_testHint(void *arg)
/* Log test cases */
static const SDLTest_TestCaseReference logTestHint = {
(SDLTest_TestCaseFp)log_testHint, "log_testHint", "Check SDL_HINT_LOGGING functionality", TEST_ENABLED
log_testHint, "log_testHint", "Check SDL_HINT_LOGGING functionality", TEST_ENABLED
};
/* Sequence of Log test cases */