From: José Fonseca Date: Fri, 4 Jul 2008 15:56:36 +0000 (+0900) Subject: psb: Fill all texture fields when creating texture blanket. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a18324c0bca4ae806b1c62cad44e859f0924a9b;p=mesa.git psb: Fill all texture fields when creating texture blanket. --- 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];