mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
radeon: Assert pointer is not null before dereferencing.
Add back an assert that was removed in commit
cd5f167353.
This commit is contained in:
parent
e63f532d26
commit
d3004d9156
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ do_copy_texsubimage(GLcontext *ctx,
|
|||
}
|
||||
|
||||
assert(rrb && rrb->bo);
|
||||
assert(timg->mt);
|
||||
assert(timg->mt->bo);
|
||||
assert(timg->base.Width >= dstx + width);
|
||||
assert(timg->base.Height >= dsty + height);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue