mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 13:10:25 +01:00
nv40: fix thinko == fix 3d textures
This commit is contained in:
parent
a1d622190f
commit
f940603037
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ nv40_miptree_layout(struct pipe_context *pipe, struct pipe_mipmap_tree *mt)
|
|||
mt->level[l].nr_images = 6;
|
||||
else
|
||||
if (mt->target == PIPE_TEXTURE_3D)
|
||||
mt->level[l].nr_images = 3;
|
||||
mt->level[l].nr_images = mt->level[l].depth;
|
||||
else
|
||||
mt->level[l].nr_images = 1;
|
||||
mt->level[l].image_offset =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue