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-Tag: mesa-7.8~4139^2~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e1c925ef58a126f16c1d456e58329e0e2a095e3;p=platform%2Fupstream%2Fmesa.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 7ddd2d5..1fdbdf9 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: ; }