diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2010-03-02 11:08:05 +0100 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2010-03-05 18:18:49 +0100 |
commit | 5024a39d111e2cef176a18e17f18917c2242ec72 (patch) | |
tree | c9ff53b361fbdfdbfa5a0a87f507cc0af4086573 /src/gallium/drivers/nv50 | |
parent | caa8a365c512d477b9698e79f55da9c041eb1bef (diff) |
nouveau: s/TEXTURE_USAGE_PRIMARY/TEXTURE_USAGE_SCANOUT
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_miptree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_miptree.c b/src/gallium/drivers/nv50/nv50_miptree.c index 7297c74a83..133f2204e0 100644 --- a/src/gallium/drivers/nv50/nv50_miptree.c +++ b/src/gallium/drivers/nv50/nv50_miptree.c @@ -104,7 +104,7 @@ nv50_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *tmp) tile_flags = 0x7400; break; default: - if ((pt->tex_usage & PIPE_TEXTURE_USAGE_PRIMARY) && + if ((pt->tex_usage & PIPE_TEXTURE_USAGE_SCANOUT) && util_format_get_blocksizebits(pt->format) == 32) tile_flags = 0x7a00; else |