diff options
Diffstat (limited to 'ui/Makefile.objs')
-rw-r--r-- | ui/Makefile.objs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/Makefile.objs b/ui/Makefile.objs index 67fe278c15..029a42a688 100644 --- a/ui/Makefile.objs +++ b/ui/Makefile.objs @@ -21,6 +21,9 @@ sdl.mo-objs := sdl.o sdl_zoom.o endif ifeq ($(CONFIG_SDLABI),2.0) sdl.mo-objs := sdl2.o sdl2-input.o sdl2-2d.o +ifeq ($(CONFIG_OPENGL),y) +sdl.mo-objs += sdl2-gl.o +endif endif sdl.mo-cflags := $(SDL_CFLAGS) |