Mesa (master): vbo: fix a building error
Marek Olšák
mareko at kemper.freedesktop.org
Sat Feb 4 07:59:37 UTC 2012
Module: Mesa
Branch: master
Commit: f8be4f33d31d004bfcf090fa7d4aa37b750e43af
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8be4f33d31d004bfcf090fa7d4aa37b750e43af
Author: Chih-Wei Huang <cwhuang at linux.org.tw>
Date: Thu Feb 2 20:23:57 2012 +0800
vbo: fix a building error
Signed-off-by: Marek Olšák <maraeo at gmail.com>
NOTE: This is a candidate for the 8.0 branch.
---
src/mesa/vbo/vbo_exec_array.c | 2 ++
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 9861b21..d6b4d61 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
}
More information about the mesa-commit
mailing list