summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/vega')
-rw-r--r--src/gallium/state_trackers/vega/Makefile.am3
-rw-r--r--src/gallium/state_trackers/vega/SConscript2
-rw-r--r--src/gallium/state_trackers/vega/vg_manager.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/vega/Makefile.am b/src/gallium/state_trackers/vega/Makefile.am
index 85c173212c4..3ae096c85f3 100644
--- a/src/gallium/state_trackers/vega/Makefile.am
+++ b/src/gallium/state_trackers/vega/Makefile.am
@@ -25,8 +25,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = $(GALLIUM_CFLAGS)
AM_CPPFLAGS = \
-I$(top_srcdir)/include \
- -I$(top_srcdir)/src/mapi \
- -DVEGA_VERSION_STRING=\"$(MESA_VERSION)\"
+ -I$(top_srcdir)/src/mapi
noinst_LTLIBRARIES = libvega.la
diff --git a/src/gallium/state_trackers/vega/SConscript b/src/gallium/state_trackers/vega/SConscript
index b68a73299a1..e3c3d093ea0 100644
--- a/src/gallium/state_trackers/vega/SConscript
+++ b/src/gallium/state_trackers/vega/SConscript
@@ -12,7 +12,7 @@ env.Append(CPPPATH = [
Dir('.'),
])
env.Append(CPPDEFINES = [
- 'VEGA_VERSION_STRING=',
+ 'PACKAGE_VERSION='
'KHRONOS_DLL_EXPORTS',
])
diff --git a/src/gallium/state_trackers/vega/vg_manager.c b/src/gallium/state_trackers/vega/vg_manager.c
index 7b35f3afeeb..ad0e98d3a62 100644
--- a/src/gallium/state_trackers/vega/vg_manager.c
+++ b/src/gallium/state_trackers/vega/vg_manager.c
@@ -370,7 +370,7 @@ vg_api_destroy(struct st_api *stapi)
}
static const struct st_api vg_api = {
- "Vega " VEGA_VERSION_STRING,
+ "Vega " PACKAGE_VERSION,
ST_API_OPENVG,
ST_PROFILE_DEFAULT_MASK,
0,