summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-05-07 14:17:59 +0900
committerJosé Fonseca <[email protected]>2008-05-07 14:17:59 +0900
commitc7ad942c54c3892a98d248a15af817f256260e75 (patch)
tree3100ba9a9086063d2aee56431f36b7c76a901c17 /src/gallium/drivers/i915simple
parentfe06a47361b2db3dfde537aeb0c193495a16905e (diff)
gallium: Propagate tex_usage flags down to winsys.
Diffstat (limited to 'src/gallium/drivers/i915simple')
-rw-r--r--src/gallium/drivers/i915simple/i915_texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_texture.c b/src/gallium/drivers/i915simple/i915_texture.c
index f668e2e7d7a..3e23e540f9d 100644
--- a/src/gallium/drivers/i915simple/i915_texture.c
+++ b/src/gallium/drivers/i915simple/i915_texture.c
@@ -127,7 +127,8 @@ i915_displaytarget_layout(struct pipe_screen *screen,
tex->base.width[0],
tex->base.height[0],
tex->base.format,
- flags);
+ flags,
+ tex->base.tex_usage);
/* Now extract the goodies:
*/