diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-05-07 14:17:59 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-05-07 14:17:59 +0900 |
commit | c7ad942c54c3892a98d248a15af817f256260e75 (patch) | |
tree | 3100ba9a9086063d2aee56431f36b7c76a901c17 /src/gallium/drivers/softpipe/sp_texture.c | |
parent | fe06a47361b2db3dfde537aeb0c193495a16905e (diff) |
gallium: Propagate tex_usage flags down to winsys.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_texture.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_texture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c index 599ff2ac45..1d7a1fffe4 100644 --- a/src/gallium/drivers/softpipe/sp_texture.c +++ b/src/gallium/drivers/softpipe/sp_texture.c @@ -115,7 +115,8 @@ softpipe_displaytarget_layout(struct pipe_screen *screen, spt->base.width[0], spt->base.height[0], spt->base.format, - flags); + flags, + spt->base.tex_usage); /* Now extract the goodies: */ |