cell: updated assertion
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 3 Sep 2008 19:30:46 +0000 (13:30 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 3 Sep 2008 19:35:06 +0000 (13:35 -0600)
src/gallium/drivers/cell/ppu/cell_surface.c

index d9e3b510dc01e6a3b3700ee7982229c4275ab2ae..995ae341d70fed8883756561907a66c509075f53 100644 (file)
@@ -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,