소스 검색

Fixed testautomation log callback calling convention

(cherry picked from commit 9f7eb6c4c11b445da0fcadb357e1c7ed053b0084)
Sam Lantinga 1 년 전
부모
커밋
c55bd24827
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/testautomation_log.c

+ 1 - 1
test/testautomation_log.c

@@ -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);