summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-03-17 10:26:38 +0100
committerMichal Krol <[email protected]>2009-03-17 10:26:38 +0100
commit4e1c925ef58a126f16c1d456e58329e0e2a095e3 (patch)
tree96f97fbb070eefbc82b37cd386c55d296eda3b71 /src
parent627c2d2f0a26e01095d23bb33955bee825390c8d (diff)
python: Do not pass screen object to pipe_buffer_reference.
Diffstat (limited to 'src')
-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 7ddd2d55ef1..1fdbdf98b26 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:
;
}