vbo: fix a building error
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 2 Feb 2012 12:23:57 +0000 (20:23 +0800)
committerMarek Olšák <maraeo@gmail.com>
Sat, 4 Feb 2012 07:59:09 +0000 (08:59 +0100)
Signed-off-by: Marek Olšák <maraeo@gmail.com>
NOTE: This is a candidate for the 8.0 branch.

src/mesa/vbo/vbo_exec_array.c

index 9861b21c9860ac305ff79a98bed7b24f5b5285be..d6b4d615c3aac87da21e3f3264c320d20696be7c 100644 (file)
@@ -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
 }