diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index fcd544d..e1bfb87 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -429,6 +429,23 @@ do {
\
#include "vbo_attrib_tmp.h"
+/**
+ * Flush (draw) vertices.
+ * \param unmap - leave VBO unmapped after flushing?
+ */
+static void
+vbo_exec_FlushVertices_internal(struct vbo_exec_context *exec, GLboolean unmap)
+{
+ if (exec->vtx.vert_count || unmap) {
+ vbo_exec_vtx_flush( exec, unmap );
+ }
+
+ if (exec->vtx.vertex_size) {
+ vbo_exec_copy_to_current( exec );
+ reset_attrfv( exec );
+ }
+}
+
#if FEATURE_beginend
@@ -531,7 +548,7 @@ static void GLAPIENTRY vbo_exec_EvalPoint2( GLint
i, GLint j )
#endif /* FEATURE_evaluators */
-
+#if 0
/**
* Flush (draw) vertices.
* \param unmap - leave VBO unmapped after flushing?
@@ -548,6 +565,7 @@ vbo_exec_FlushVertices_internal(struct
vbo_exec_context *exec, GLboolean unmap)
reset_attrfv( exec );
}
}
+#endif
> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-x86...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
>
>
--
Android-x86
http://www.android-x86.org