Mesa (master): nouveau: oops :-)

Patrice Mandin pmandin at kemper.freedesktop.org
Mon Feb 16 17:45:03 UTC 2009


Module: Mesa
Branch: master
Commit: 0f4a91b50908ce4c1ae5fc65d73791608de30f06
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f4a91b50908ce4c1ae5fc65d73791608de30f06

Author: Patrice Mandin <patmandin at gmail.com>
Date:   Mon Feb 16 18:43:56 2009 +0100

nouveau: oops :-)

---

 src/gallium/drivers/nv30/nv30_miptree.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/nv30/nv30_miptree.c b/src/gallium/drivers/nv30/nv30_miptree.c
index 510c94d..b11ed8c 100644
--- 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)




More information about the mesa-commit mailing list