Skip to content

Commit

Permalink
Purge SDL/GL context.
Browse files Browse the repository at this point in the history
Conflicts:
	gfx/context/sdl_ctx.c
  • Loading branch information
Themaister authored and inactive123 committed Jul 17, 2013
1 parent 81125ba commit c54af19
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 376 deletions.
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,6 @@ ifeq ($(HAVE_SDL), 1)
JOYCONFIG_OBJ += input/sdl_joypad.o
DEFINES += $(SDL_CFLAGS) $(BSD_LOCAL_INC)
LIBS += $(SDL_LIBS)

ifeq ($(HAVE_OPENGL), 1)
OBJ += gfx/context/sdl_ctx.o
endif
endif

ifeq ($(HAVE_OPENGL), 1)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ifeq ($(HAVE_RGUI), 1)
endif

ifeq ($(HAVE_SDL), 1)
OBJ += gfx/sdl_gfx.o gfx/context/sdl_ctx.o input/sdl_input.o input/sdl_joypad.o audio/sdl_audio.o
OBJ += gfx/sdl_gfx.o input/sdl_input.o input/sdl_joypad.o audio/sdl_audio.o
JOBJ += input/sdl_joypad.o
LIBS += -lSDL
JLIBS += -lSDL
Expand Down
366 changes: 0 additions & 366 deletions gfx/context/sdl_ctx.c

This file was deleted.

3 changes: 0 additions & 3 deletions gfx/gfx_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = {
#if defined(IOS) || defined(OSX) //< Don't use __APPLE__ as it breaks basic SDL builds
&gfx_ctx_apple,
#endif
#if defined(HAVE_SDL) && defined(HAVE_OPENGL)
&gfx_ctx_sdl_gl,
#endif
};

const gfx_ctx_driver_t *gfx_ctx_find_driver(const char *ident)
Expand Down
Loading

0 comments on commit c54af19

Please sign in to comment.