mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-28 09:04:38 +00:00
Fixed testautomation log callback calling convention
(cherry picked from commit9f7eb6c4c1) (cherry picked from commitc55bd24827)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user