summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-05 00:56:36 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-05 00:56:36 +0900
commit4a18324c0bca4ae806b1c62cad44e859f0924a9b (patch)
tree448c39ec19e832418827966bf90a257040851e87 /src/gallium/drivers
parent1942e29bf7e4df34164ed815ccd77b08cd28ed56 (diff)
psb: Fill all texture fields when creating texture blanket.
Diffstat (limited to 'src/gallium/drivers')
-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 2815e61345..5d6769924c 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];