aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-07-05 00:56:36 +0900
committerJosé Fonseca <[email protected]>2008-07-05 00:56:36 +0900
commit4a18324c0bca4ae806b1c62cad44e859f0924a9b (patch)
tree448c39ec19e832418827966bf90a257040851e87
parent1942e29bf7e4df34164ed815ccd77b08cd28ed56 (diff)
psb: Fill all texture fields when creating texture blanket.
-rw-r--r--src/gallium/drivers/i915simple/i915_texture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_texture.c b/src/gallium/drivers/i915simple/i915_texture.c
index 2815e61345c..5d6769924c3 100644
--- a/src/gallium/drivers/i915simple/i915_texture.c
+++ b/src/gallium/drivers/i915simple/i915_texture.c
@@ -710,6 +710,8 @@ i915_texture_blanket(struct pipe_screen * screen,
return NULL;
tex->base = *base;
+ tex->base.refcount = 1;
+ tex->base.screen = screen;
tex->stride = stride[0];