Mesa (master): python: Do not pass screen object to pipe_buffer_reference.
MichaŠKról
michal at kemper.freedesktop.org
Tue Mar 17 09:43:50 UTC 2009
Module: Mesa
Branch: master
Commit: 4e1c925ef58a126f16c1d456e58329e0e2a095e3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e1c925ef58a126f16c1d456e58329e0e2a095e3
Author: Michal Krol <michal at vmware.com>
Date: Tue Mar 17 10:26:38 2009 +0100
python: Do not pass screen object to pipe_buffer_reference.
---
src/gallium/state_trackers/python/p_context.i | 2 +-
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 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:
;
}
More information about the mesa-commit
mailing list