Enable sdl_gl for SDL2 windows builds

This commit is contained in:
Higor Eurípedes 2014-08-21 13:45:52 -03:00
parent 0b3bfb27c2
commit 6f164f540c

View File

@ -139,6 +139,11 @@ endif
ifeq ($(HAVE_SDL2), 1)
OBJ += gfx/sdl2_gfx.o input/sdl_input.o input/sdl_joypad.o audio/sdl_audio.o
ifeq ($(HAVE_OPENGL), 1)
OBJ += gfx/context/sdl_gl_ctx.o
endif
JOBJ += input/sdl_joypad.o
LIBS += -lSDL2
JLIBS += -lSDL2