From: Michal Krol Date: Tue, 17 Mar 2009 09:26:38 +0000 (+0100) Subject: python: Do not pass screen object to pipe_buffer_reference. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e1c925ef58a126f16c1d456e58329e0e2a095e3;p=mesa.git python: Do not pass screen object to pipe_buffer_reference. --- 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: ; }