mirror of https://github.com/encounter/SDL.git
directfb: Fixed compiler warnings about undefined functions.
This commit is contained in:
parent
29222db7f6
commit
df4cf79d42
|
@ -36,10 +36,8 @@ static SDL_Cursor *DirectFB_CreateDefaultCursor(void);
|
||||||
static SDL_Cursor *DirectFB_CreateCursor(SDL_Surface * surface,
|
static SDL_Cursor *DirectFB_CreateCursor(SDL_Surface * surface,
|
||||||
int hot_x, int hot_y);
|
int hot_x, int hot_y);
|
||||||
static int DirectFB_ShowCursor(SDL_Cursor * cursor);
|
static int DirectFB_ShowCursor(SDL_Cursor * cursor);
|
||||||
static void DirectFB_MoveCursor(SDL_Cursor * cursor);
|
|
||||||
static void DirectFB_FreeCursor(SDL_Cursor * cursor);
|
static void DirectFB_FreeCursor(SDL_Cursor * cursor);
|
||||||
static void DirectFB_WarpMouse(SDL_Window * window, int x, int y);
|
static void DirectFB_WarpMouse(SDL_Window * window, int x, int y);
|
||||||
static void DirectFB_FreeMouse(SDL_Mouse * mouse);
|
|
||||||
|
|
||||||
static const char *arrow[] = {
|
static const char *arrow[] = {
|
||||||
/* pixels */
|
/* pixels */
|
||||||
|
@ -248,8 +246,10 @@ DirectFB_WarpMouse(SDL_Window * window, int x, int y)
|
||||||
|
|
||||||
#if USE_MULTI_API
|
#if USE_MULTI_API
|
||||||
|
|
||||||
|
static void DirectFB_MoveCursor(SDL_Cursor * cursor);
|
||||||
static void DirectFB_WarpMouse(SDL_Mouse * mouse, SDL_Window * window,
|
static void DirectFB_WarpMouse(SDL_Mouse * mouse, SDL_Window * window,
|
||||||
int x, int y);
|
int x, int y);
|
||||||
|
static void DirectFB_FreeMouse(SDL_Mouse * mouse);
|
||||||
|
|
||||||
static int id_mask;
|
static int id_mask;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue