gloverlay: Include into the build with GLES2 only too

This commit is contained in:
Sebastian Dröge 2014-09-25 20:48:59 +03:00
parent 7e69750336
commit 9c6c82887f

View file

@ -47,11 +47,6 @@ OPENGL_SOURCES += \
gstglbumper.h \
gstgldifferencematte.c \
gstgldifferencematte.h
if HAVE_JPEG
OPENGL_SOURCES += \
gstgloverlay.c \
gstgloverlay.h
endif
endif
endif
@ -85,6 +80,14 @@ libgstopengl_la_SOURCES += \
gstgltransformation.h
endif
if HAVE_JPEG
if HAVE_PNG
libgstopengl_la_SOURCES += \
gstgloverlay.c \
gstgloverlay.h
endif
endif
# check order of CFLAGS and LIBS, shouldn't the order be the other way around
# (like in AM_CFLAGS)?
libgstopengl_la_CFLAGS = \