python: Do not pass screen object to pipe_buffer_reference.

This commit is contained in:
Michal Krol 2009-03-17 10:26:38 +01:00
parent 627c2d2f0a
commit 4e1c925ef5
1 changed files with 1 additions and 1 deletions

View File

@ -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:
;
}