mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
egl-static: use automake conditionals for defining FEATURE_{GL,ES1,ES2}
Removes the need of API_DEFINES. Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
3537d853d0
commit
afa33a001a
1 changed files with 11 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ endif
|
|||
if HAVE_OPENGL
|
||||
AM_CPPFLAGS += \
|
||||
-I$(top_srcdir)/src/mesa \
|
||||
$(API_DEFINES)
|
||||
-DFEATURE_GL=1
|
||||
|
||||
egl_gallium_la_LIBADD += \
|
||||
$(top_builddir)/src/mesa/libmesagallium.la
|
||||
|
|
@ -132,6 +132,16 @@ st_GL_la_LIBADD = \
|
|||
endif
|
||||
endif
|
||||
|
||||
if HAVE_OPENGL_ES1
|
||||
AM_CPPFLAGS += \
|
||||
-DFEATURE_ES1=1
|
||||
endif
|
||||
|
||||
if HAVE_OPENGL_ES2
|
||||
AM_CPPFLAGS += \
|
||||
-DFEATURE_ES2=1
|
||||
endif
|
||||
|
||||
if HAVE_OPENVG
|
||||
AM_CPPFLAGS += \
|
||||
-I$(top_srcdir)/src/gallium/state_trackers/vega \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue