summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-02 21:25:34 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-12 10:55:35 +0800
commit940360a2e545ea69a9da547f6e1bf2c919d14205 (patch)
tree06bd43963e619bd119f45f6a69823bfead626203
parentf2f83d9a7891428ea7c784a75bd9e2968fdf00ae (diff)
st/vega: Advertise OpenVG support.
Define st_api_OpenVG to advertise OpenVG support. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
-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 e503913275..d63abe6a42 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)