radeon: Assert pointer is not null before dereferencing.

Add back an assert that was removed in commit
cd5f167353.
This commit is contained in:
Vinson Lee 2010-02-27 02:28:00 -08:00
parent e63f532d26
commit d3004d9156

View file

@ -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);