st/vega: Advertise OpenVG support.
authorChia-I Wu <olvaffe@gmail.com>
Sat, 2 Jan 2010 13:25:34 +0000 (21:25 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 12 Jan 2010 02:55:35 +0000 (10:55 +0800)
Define st_api_OpenVG to advertise OpenVG support.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/state_trackers/vega/vg_tracker.c

index e5039132758c8893d7b0089d8336ca8ee73245fd..d63abe6a421575d1c1bd8f53301dc39c241828d8 100644 (file)
@@ -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)