summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_array.c
diff options
context:
space:
mode:
authorChih-Wei Huang <[email protected]>2012-02-02 20:23:57 +0800
committerMarek Olšák <[email protected]>2012-02-04 08:59:09 +0100
commitf8be4f33d31d004bfcf090fa7d4aa37b750e43af (patch)
treeba2c60c213b0485578c072b6e1f9ae4aea5ab732 /src/mesa/vbo/vbo_exec_array.c
parent8184228e8b894b434a87387c79d9a11a50684272 (diff)
vbo: fix a building error
Signed-off-by: Marek Olšák <[email protected]> NOTE: This is a candidate for the 8.0 branch.
Diffstat (limited to 'src/mesa/vbo/vbo_exec_array.c')
-rw-r--r--src/mesa/vbo/vbo_exec_array.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index 9861b21c986..d6b4d615c3a 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -1337,7 +1337,9 @@ vbo_exec_array_init( struct vbo_exec_context *exec )
exec->vtxfmt.DrawArraysInstanced = vbo_exec_DrawArraysInstanced;
exec->vtxfmt.DrawElementsInstanced = vbo_exec_DrawElementsInstanced;
exec->vtxfmt.DrawElementsInstancedBaseVertex = vbo_exec_DrawElementsInstancedBaseVertex;
+#if FEATURE_EXT_transform_feedback
exec->vtxfmt.DrawTransformFeedback = vbo_exec_DrawTransformFeedback;
+#endif
}