summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-03-17 10:26:38 +0100
committerMichal Krol <michal@vmware.com>2009-03-17 10:26:38 +0100
commit4e1c925ef58a126f16c1d456e58329e0e2a095e3 (patch)
tree96f97fbb070eefbc82b37cd386c55d296eda3b71
parent627c2d2f0a26e01095d23bb33955bee825390c8d (diff)
python: Do not pass screen object to pipe_buffer_reference.
-rw-r--r--src/gallium/state_trackers/python/p_context.i2
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 7ddd2d55ef..1fdbdf98b2 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -247,7 +247,7 @@ struct st_context {
util_draw_vertex_buffer(pipe, vbuf, 0, prim, num_verts, num_attribs);
error2:
- pipe_buffer_reference(screen, &vbuf, NULL);
+ pipe_buffer_reference(&vbuf, NULL);
error1:
;
}