summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Wei Huang <[email protected]>2012-02-02 20:23:57 +0800
committerIan Romanick <[email protected]>2012-02-07 10:26:17 -0800
commit73e15679cede19a780481bb60fa2ca582c6abf0e (patch)
tree6d58fc8bb2570a9e3801bf86760d5a8c69f8a3b0
parent974a67b41e879b91765e3ef647ae22fe99a47079 (diff)
vbo: fix a building error
Signed-off-by: Marek Olšák <[email protected]> NOTE: This is a candidate for the 8.0 branch. (cherry picked from commit f8be4f33d31d004bfcf090fa7d4aa37b750e43af)
-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 fec49d35e38..e31e93f3218 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -1302,7 +1302,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
}