projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252671f
)
nouveau: oops :-)
author
Patrice Mandin
<patmandin@gmail.com>
Mon, 16 Feb 2009 17:43:56 +0000
(18:43 +0100)
committer
Patrice Mandin
<patmandin@gmail.com>
Mon, 16 Feb 2009 17:44:17 +0000
(18:44 +0100)
src/gallium/drivers/nv30/nv30_miptree.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv30/nv30_miptree.c
b/src/gallium/drivers/nv30/nv30_miptree.c
index 510c94d4e644cda6d8c269147a8f8c2ba7ab1fcb..b11ed8c24e243dc4fcae95471f5245cfd81cfdb2 100644
(file)
--- a/
src/gallium/drivers/nv30/nv30_miptree.c
+++ b/
src/gallium/drivers/nv30/nv30_miptree.c
@@
-85,8
+85,8
@@
nv30_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *pt)
mt->base.tex_usage |= NOUVEAU_TEXTURE_USAGE_LINEAR;
else
if (pt->tex_usage & (PIPE_TEXTURE_USAGE_PRIMARY |
-
+
PIPE_TEXTURE_USAGE_DISPLAY_TARGET |
-
+
PIPE_TEXTURE_USAGE_DEPTH_STENCIL))
+
PIPE_TEXTURE_USAGE_DISPLAY_TARGET |
+
PIPE_TEXTURE_USAGE_DEPTH_STENCIL))
mt->base.tex_usage |= NOUVEAU_TEXTURE_USAGE_LINEAR;
else
if (pt->tex_usage & PIPE_TEXTURE_USAGE_DYNAMIC)