Fixed testautomation log callback calling convention

(cherry picked from commit 9f7eb6c4c1)
(cherry picked from commit c55bd24827)
This commit is contained in:
Sam Lantinga committed 2024-01-27 22:45:13 -08:00
1 parent f6b9ebb838
commit 173afd8564
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@
static SDL_LogOutputFunction original_function;
static void *original_userdata;
static void TestLogOutput(void *userdata, int category, SDL_LogPriority priority, const char *message)
static void SDLCALL TestLogOutput(void *userdata, int category, SDL_LogPriority priority, const char *message)
{
int *message_count = (int *)userdata;
++(*message_count);