Mesa (master): r300-gallium: Fix typo in texture buffer size request.

Corbin Simpson csimpson at kemper.freedesktop.org
Fri Feb 13 02:16:36 UTC 2009


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

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Thu Feb 12 16:52:15 2009 -0800

r300-gallium: Fix typo in texture buffer size request.

---

 src/gallium/drivers/r300/r300_texture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index ff812c0..bd35e08 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -72,7 +72,7 @@ static struct pipe_texture*
 
     r300_setup_miptree(tex);
 
-    tex->buffer = screen->buffer_create(screen, 63,
+    tex->buffer = screen->buffer_create(screen, 64,
                                         PIPE_BUFFER_USAGE_PIXEL,
                                         tex->size);
 




More information about the mesa-commit mailing list