From 6f164f540c9a8e3d05616ea45350f20013b48af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Thu, 21 Aug 2014 13:45:52 -0300 Subject: [PATCH] Enable sdl_gl for SDL2 windows builds --- Makefile.win | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.win b/Makefile.win index 300d2d176a..d35dd6efda 100644 --- a/Makefile.win +++ b/Makefile.win @@ -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