summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-02-06 14:06:39 -0800
committerCorbin Simpson <[email protected]>2009-02-06 14:06:39 -0800
commit2d6355495ce6f8668df3d9eb8825815bfead5401 (patch)
tree99482125bc874a4d6bd344e83950c0bb50dd6859 /src/gallium/drivers/nv30
parent5538323005a20d6911c7e51cb5f26b242c04a57c (diff)
parent776d86606cd8b250802730410d5e55a41944cf0a (diff)
Merge branch 'gallium-0.2' of git://anongit.freedesktop.org/mesa/mesa into gallium-0.2
Diffstat (limited to 'src/gallium/drivers/nv30')
-rw-r--r--src/gallium/drivers/nv30/nv30_miptree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_miptree.c b/src/gallium/drivers/nv30/nv30_miptree.c
index 5458f834aac..23f88293219 100644
--- a/src/gallium/drivers/nv30/nv30_miptree.c
+++ b/src/gallium/drivers/nv30/nv30_miptree.c
@@ -123,6 +123,7 @@ nv30_miptree_blanket(struct pipe_screen *pscreen, const struct pipe_texture *pt,
mt->base = *pt;
mt->base.refcount = 1;
mt->base.screen = pscreen;
+ mt->level[0].pitch = stride[0];
mt->level[0].image_offset = CALLOC(1, sizeof(unsigned));
pipe_buffer_reference(pscreen, &mt->buffer, pb);