mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 14:25:37 +00:00
Fixed testautomation log callback calling convention
(cherry picked from commit 9f7eb6c4c11b445da0fcadb357e1c7ed053b0084) (cherry picked from commit c55bd24827398be6a2ef3fc48aae05d9f68ebb86)
This commit is contained in:
parent
f6b9ebb838
commit
173afd8564
|
@ -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…
Reference in a new issue