radeon: Assert pointer is not null before dereferencing.
Add back an assert that was removed in commit
cd5f167353.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user