summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-03 13:30:46 -0600
committerBrian Paul <[email protected]>2008-09-03 13:35:06 -0600
commitb035c85b3e3eaae071f1401f23be40b16cdee34f (patch)
tree72dfdfb2b36715e36de97cb354ef0d205ca424c0 /src/gallium/drivers/cell
parentba2812f23e05c63e0ea2a042dcb788c30fcbc37f (diff)
cell: updated assertion
Diffstat (limited to 'src/gallium/drivers/cell')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_surface.c b/src/gallium/drivers/cell/ppu/cell_surface.c
index d9e3b510dc0..995ae341d70 100644
--- a/src/gallium/drivers/cell/ppu/cell_surface.c
+++ b/src/gallium/drivers/cell/ppu/cell_surface.c
@@ -45,7 +45,7 @@ cell_surface_copy(struct pipe_context *pipe,
unsigned srcx, unsigned srcy,
unsigned width, unsigned height)
{
- assert( dst->cpp == src->cpp );
+ assert( dst->format == src->format );
pipe_copy_rect(pipe_surface_map(dst, PIPE_BUFFER_USAGE_CPU_WRITE),
&dst->block,