From: Chih-Wei Huang Date: Thu, 2 Feb 2012 12:23:57 +0000 (+0800) Subject: vbo: fix a building error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8be4f33d31d004bfcf090fa7d4aa37b750e43af;p=mesa.git vbo: fix a building error Signed-off-by: Marek Olšák NOTE: This is a candidate for the 8.0 branch. --- 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 }