From 940360a2e545ea69a9da547f6e1bf2c919d14205 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 2 Jan 2010 21:25:34 +0800 Subject: [PATCH] st/vega: Advertise OpenVG support. Define st_api_OpenVG to advertise OpenVG support. Signed-off-by: Chia-I Wu --- src/gallium/state_trackers/vega/vg_tracker.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.30.2