projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecb2eb4
)
nv50: another typo..
author
Ben Skeggs
<skeggsb@gmail.com>
Mon, 12 Jan 2009 06:24:42 +0000
(16:24 +1000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Mon, 12 Jan 2009 06:59:35 +0000
(16:59 +1000)
src/gallium/drivers/nv50/nv50_miptree.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_miptree.c
b/src/gallium/drivers/nv50/nv50_miptree.c
index c3436db014c3e594d25951fb5bd84931440669df..3c10a4ff745d32bc0cc095b7ea20eff21d8819ec 100644
(file)
--- 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 *));