SDL_test: use SDLCALL calling convention
This is needed when using a pre-built static SDL3_test library.
This commit is contained in:
committed by
Anonymous Maarten
parent
379aea5c2d
commit
db96ddca34
@@ -45,7 +45,7 @@ static SDL_bool SDLCALL events_sampleNullEventFilter(void *userdata, SDL_Event *
|
||||
* \sa SDL_PumpEvents
|
||||
* \sa SDL_PollEvent
|
||||
*/
|
||||
static int events_pushPumpAndPollUserevent(void *arg)
|
||||
static int SDLCALL events_pushPumpAndPollUserevent(void *arg)
|
||||
{
|
||||
SDL_Event event_in;
|
||||
SDL_Event event_out;
|
||||
@@ -109,7 +109,7 @@ static int events_pushPumpAndPollUserevent(void *arg)
|
||||
* \sa SDL_RemoveEventWatch
|
||||
*
|
||||
*/
|
||||
static int events_addDelEventWatch(void *arg)
|
||||
static int SDLCALL events_addDelEventWatch(void *arg)
|
||||
{
|
||||
SDL_Event event;
|
||||
|
||||
@@ -159,7 +159,7 @@ static int events_addDelEventWatch(void *arg)
|
||||
* \sa SDL_RemoveEventWatch
|
||||
*
|
||||
*/
|
||||
static int events_addDelEventWatchWithUserdata(void *arg)
|
||||
static int SDLCALL events_addDelEventWatchWithUserdata(void *arg)
|
||||
{
|
||||
SDL_Event event;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user