summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_texture.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-06-13 19:03:51 +0200
committerJakob Bornecrantz <[email protected]>2008-06-13 19:03:51 +0200
commitc341094921da7c4ff30f81706279ead39cb3b812 (patch)
tree7aa08bfa905a73d27ee67a75056e2803406c6778 /src/gallium/drivers/i915simple/i915_texture.c
parent39bd7eb6dcd97e61096bbae4041cd5eeff21e767 (diff)
i915: Fix most of the clear problems
trivial/clear-undefined still fails
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_texture.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_texture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_texture.c b/src/gallium/drivers/i915simple/i915_texture.c
index 16354dce509..7a1665d48b2 100644
--- a/src/gallium/drivers/i915simple/i915_texture.c
+++ b/src/gallium/drivers/i915simple/i915_texture.c
@@ -635,6 +635,7 @@ i915_get_tex_surface(struct pipe_screen *screen,
ps->pitch = tex->pitch;
ps->offset = offset;
ps->usage = flags;
+ ps->status = PIPE_SURFACE_STATUS_DEFINED;
}
return ps;
}