summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/dri
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/winsys/dri
parentfe06a47361b2db3dfde537aeb0c193495a16905e (diff)
gallium: Propagate tex_usage flags down to winsys.
Diffstat (limited to 'src/gallium/winsys/dri')
-rw-r--r--src/gallium/winsys/dri/intel/intel_winsys_pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_winsys_pipe.c b/src/gallium/winsys/dri/intel/intel_winsys_pipe.c
index 77dec9488df..d15143acfd4 100644
--- a/src/gallium/winsys/dri/intel/intel_winsys_pipe.c
+++ b/src/gallium/winsys/dri/intel/intel_winsys_pipe.c
@@ -206,7 +206,8 @@ intel_i915_surface_alloc_storage(struct pipe_winsys *winsys,
struct pipe_surface *surf,
unsigned width, unsigned height,
enum pipe_format format,
- unsigned flags)
+ unsigned flags,
+ unsigned tex_usage)
{
const unsigned alignment = 64;
int ret;