Mesa (gallium-0.2): nv50: another typo..
Ben Skeggs
darktama at kemper.freedesktop.org
Mon Jan 12 07:00:06 UTC 2009
Module: Mesa
Branch: gallium-0.2
Commit: 39bcc397174cbc6a0293a406d34d00a4f6b90e24
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39bcc397174cbc6a0293a406d34d00a4f6b90e24
Author: Ben Skeggs <skeggsb at gmail.com>
Date: Mon Jan 12 16:24:42 2009 +1000
nv50: another typo..
---
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 c3436db..3c10a4f 100644
--- a/src/gallium/drivers/nv50/nv50_miptree.c
+++ b/src/gallium/drivers/nv50/nv50_miptree.c
@@ -69,7 +69,7 @@ nv50_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *tmp)
pt->height[l] = height;
pt->depth[l] = depth;
pt->nblocksx[l] = pf_get_nblocksx(&pt->block, width);
- pt->nblocksy[l] = pf_get_nblocksy(&pt->block, width);
+ pt->nblocksy[l] = pf_get_nblocksy(&pt->block, height);
lvl->image_offset = CALLOC(mt->image_nr, sizeof(int));
lvl->image = CALLOC(mt->image_nr, sizeof(struct pipe_buffer *));
More information about the mesa-commit
mailing list