diff options
author | Vinson Lee <[email protected]> | 2010-02-27 02:28:00 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-02-27 02:28:00 -0800 |
commit | d3004d9156e261d81adcae31d55a4b782433cd6b (patch) | |
tree | 8b79e157e6a7e8fed8c2a2198be210495abe36fc /src/mesa/drivers/dri/radeon | |
parent | e63f532d26d82c06281840a84c73e2e36d7b3e1e (diff) |
radeon: Assert pointer is not null before dereferencing.
Add back an assert that was removed in commit
cd5f167353f16fb4f5b349002625b704f3e23778.
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_tex_copy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_tex_copy.c b/src/mesa/drivers/dri/radeon/radeon_tex_copy.c index d6aeb7049f4..18cf182e547 100644 --- a/src/mesa/drivers/dri/radeon/radeon_tex_copy.c +++ b/src/mesa/drivers/dri/radeon/radeon_tex_copy.c @@ -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); |