diff --git a/Makefile b/Makefile index 03b97f27a0..239d6c3037 100644 --- a/Makefile +++ b/Makefile @@ -319,7 +319,7 @@ ifeq ($(HAVE_FREETYPE), 1) endif ifeq ($(HAVE_SDL_IMAGE), 1) - OBJ += gfx/image/image_sdl.o + OBJ += gfx/image/image_sdl.o LIBS += $(SDL_IMAGE_LIBS) DEFINES += $(SDL_IMAGE_CFLAGS) endif diff --git a/Makefile.win b/Makefile.win index f57e6e1bb1..8acea301c7 100644 --- a/Makefile.win +++ b/Makefile.win @@ -147,7 +147,7 @@ ifeq ($(HAVE_OPENGL), 1) endif ifeq ($(HAVE_SDL_IMAGE), 1) - OBJ += gfx/image/image_sdl.o + OBJ += gfx/image/image_sdl.o LIBS += -lSDL_image DEFINES += -DHAVE_SDL_IMAGE endif diff --git a/gfx/image_context.h b/gfx/image_context.h index ad6079ac15..b494de1ec5 100644 --- a/gfx/image_context.h +++ b/gfx/image_context.h @@ -51,10 +51,8 @@ extern const image_ctx_driver_t image_ctx_ps3; extern const image_ctx_driver_t image_ctx_sdl; extern const image_ctx_driver_t image_ctx_rpng; -const void *image_ctx_find_driver(const char *ident); void find_prev_image_driver(void); void find_next_image_driver(void); void find_image_driver(void); -const void *image_ctx_init_first(void); #endif