projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72bbc89
)
i965: Fix VB refcount leak on aperture overflow.
author
Eric Anholt
<eric@anholt.net>
Wed, 12 Nov 2008 21:34:20 +0000
(13:34 -0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 12 Nov 2008 21:34:20 +0000
(13:34 -0800)
src/mesa/drivers/dri/i965/brw_draw_upload.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_draw_upload.c
b/src/mesa/drivers/dri/i965/brw_draw_upload.c
index 4080c5e32289dc23919f526706242e618615daaa..73d6dea01ee8e59450b8a6d625022585da8b1e6c 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_draw_upload.c
+++ b/
src/mesa/drivers/dri/i965/brw_draw_upload.c
@@
-353,6
+353,7
@@
static void brw_prepare_vertices(struct brw_context *brw)
intel_buffer_object(input->glarray->BufferObj);
/* Named buffer object: Just reference its contents directly. */
+ dri_bo_unreference(input->bo);
input->bo = intel_bufferobj_buffer(intel, intel_buffer,
INTEL_READ);
dri_bo_reference(input->bo);