summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_surface.c
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2010-12-05 12:04:47 +0100
committerPatrice Mandin <patmandin@gmail.com>2010-12-05 12:08:00 +0100
commitaf5345d9371e927019d51ce3ad198958f8cd42a9 (patch)
tree39bd4692e2df0a1430322c14ad6ea8be2f4b1e36 /src/gallium/drivers/nvfx/nvfx_surface.c
parent66d45567b4e2c6f2585789b68667e6c00b7567e1 (diff)
nvfx: fixes after array textures merge
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Patrice Mandin <patmandin@gmail.com>
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_surface.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_surface.c b/src/gallium/drivers/nvfx/nvfx_surface.c
index 7f315e9da9..6fd6c47081 100644
--- a/src/gallium/drivers/nvfx/nvfx_surface.c
+++ b/src/gallium/drivers/nvfx/nvfx_surface.c
@@ -389,7 +389,7 @@ nvfx_surface_copy_temp(struct pipe_context* pipe, struct pipe_surface* surf, int
base_vertex = nvfx->base_vertex;
box.x = box.y = 0;
- assert(surf->u.tex.first_layer = surf->u.tex.last_layer);
+ assert(surf->u.tex.first_layer == surf->u.tex.last_layer);
box.width = surf->width;
box.height = surf->height;
box.depth = 1;