projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e3360
)
i965g: initialize surface refcount
author
Keith Whitwell
<keithw@vmware.com>
Wed, 4 Nov 2009 19:03:06 +0000
(19:03 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Wed, 4 Nov 2009 19:03:06 +0000
(19:03 +0000)
src/gallium/drivers/i965/brw_screen_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_screen_surface.c
b/src/gallium/drivers/i965/brw_screen_surface.c
index b4ad91278b2fdcc64a0c7be37a52eeb571238019..04a6fc7b66dce9a25576e0f09d009f007a236172 100644
(file)
--- a/
src/gallium/drivers/i965/brw_screen_surface.c
+++ b/
src/gallium/drivers/i965/brw_screen_surface.c
@@
-130,6
+130,8
@@
static struct brw_surface *create_in_place_view( struct brw_screen *brw_screen,
if (surface == NULL)
return NULL;
+ pipe_reference_init(&surface->base.reference, 1);
+
/* XXX: ignoring render-to-slice-of-3d-texture
*/
assert(id.bits.zslice == 0);