mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 21:50:34 +01:00
cell: updated assertion
This commit is contained in:
parent
ba2812f23e
commit
b035c85b3e
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue