Bläddra i källkod

Fixed testautomation log callback calling convention

Sam Lantinga 2 år sedan
förälder
incheckning
9f7eb6c4c1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      test/testautomation_log.c

+ 1 - 1
test/testautomation_log.c

@@ -8,7 +8,7 @@
 static SDL_LogOutputFunction original_function;
 static SDL_LogOutputFunction original_function;
 static void *original_userdata;
 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;
     int *message_count = (int *)userdata;
     ++(*message_count);
     ++(*message_count);