summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-02 21:25:34 +0800
committerChia-I Wu <[email protected]>2010-01-12 10:55:35 +0800
commit940360a2e545ea69a9da547f6e1bf2c919d14205 (patch)
tree06bd43963e619bd119f45f6a69823bfead626203 /src/gallium/state_trackers
parentf2f83d9a7891428ea7c784a75bd9e2968fdf00ae (diff)
st/vega: Advertise OpenVG support.
Define st_api_OpenVG to advertise OpenVG support. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/vega/vg_tracker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/vg_tracker.c b/src/gallium/state_trackers/vega/vg_tracker.c
index e5039132758..d63abe6a421 100644
--- a/src/gallium/state_trackers/vega/vg_tracker.c
+++ b/src/gallium/state_trackers/vega/vg_tracker.c
@@ -36,6 +36,9 @@
#include "util/u_math.h"
#include "util/u_rect.h"
+/* advertise OpenVG support */
+PUBLIC const int st_api_OpenVG = 1;
+
static struct pipe_texture *
create_texture(struct pipe_context *pipe, enum pipe_format format,
VGint width, VGint height)