[Mesa-dev] [PATCH 10/14] vbo: remove redundant vfmt->Begin = _save_Begin assignment

Brian Paul brianp at vmware.com
Wed Apr 24 17:32:24 PDT 2013


The same assignment appears later in the function.
---
 src/mesa/vbo/vbo_save_api.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c
index 1b080f4..a47ee7b 100644
--- a/src/mesa/vbo/vbo_save_api.c
+++ b/src/mesa/vbo/vbo_save_api.c
@@ -1396,7 +1396,6 @@ _save_vtxfmt_init(struct gl_context *ctx)
 
    _MESA_INIT_ARRAYELT_VTXFMT(vfmt, _ae_);
 
-   vfmt->Begin = _save_Begin;
    vfmt->Color3f = _save_Color3f;
    vfmt->Color3fv = _save_Color3fv;
    vfmt->Color4f = _save_Color4f;
-- 
1.7.3.4



More information about the mesa-dev mailing list