mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed testautomation log callback calling convention
(cherry picked from commit 9f7eb6c4c1)
This commit is contained in:
parent
ec25d6b1e8
commit
c55bd24827
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue