summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2009-01-12 16:24:42 +1000
committerBen Skeggs <skeggsb@gmail.com>2009-01-12 16:59:35 +1000
commit39bcc397174cbc6a0293a406d34d00a4f6b90e24 (patch)
treebabb9c721ed86e722a3de4c7c9d4f8081ebf4f0b
parentecb2eb4c991be40cf4235fadd286c942179f4036 (diff)
nv50: another typo..
-rw-r--r--src/gallium/drivers/nv50/nv50_miptree.c2
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 c3436db014..3c10a4ff74 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 *));