mirror of
https://github.com/encounter/SDL.git
synced 2025-12-20 10:25:28 +00:00
Use SDLCALL for callbacks in public APIs
This commit is contained in:
committed by
Sam Lantinga
parent
ffab9f46b5
commit
0cca71a846
@@ -341,7 +341,7 @@ SDL_DestroyWindowTexture(SDL_VideoDevice *unused, SDL_Window * window)
|
||||
SDL_free(data);
|
||||
}
|
||||
|
||||
static int
|
||||
static int SDLCALL
|
||||
cmpmodes(const void *A, const void *B)
|
||||
{
|
||||
const SDL_DisplayMode *a = (const SDL_DisplayMode *) A;
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "SDL_timer.h"
|
||||
#include "SDL_vkeys.h"
|
||||
#include "SDL_hints.h"
|
||||
#include "SDL_main.h"
|
||||
#include "../../events/SDL_events_c.h"
|
||||
#include "../../events/SDL_touch_c.h"
|
||||
#include "../../events/scancodes_windows.h"
|
||||
|
||||
Reference in New Issue
Block a user