Mesa (nvc0): st/python: remove unused 'buf' parameter in pipe_buffer_unmap

Ben Skeggs darktama at kemper.freedesktop.org
Tue Dec 21 06:43:27 UTC 2010


Module: Mesa
Branch: nvc0
Commit: a14f79f801c52ac6d757ec6ab4c90a8cf952912b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a14f79f801c52ac6d757ec6ab4c90a8cf952912b

Author: Vinson Lee <vlee at vmware.com>
Date:   Mon Dec 20 11:40:54 2010 -0800

st/python: remove unused 'buf' parameter in pipe_buffer_unmap

This is a follow-up to commit ec51092a72e2dff1e9b1362d813fe4691cda89b7.

Fixes SCons build.

---

 src/gallium/state_trackers/python/p_context.i |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i
index 5bdeaa8..d694651 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -360,7 +360,7 @@ struct st_context {
       if (!map)
          goto error2;
       memcpy(map, vertices, size);
-      pipe_buffer_unmap(pipe, vbuf, transfer);
+      pipe_buffer_unmap(pipe, transfer);
 
       cso_save_vertex_elements($self->cso);
 




More information about the mesa-commit mailing list