projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e63f532
)
radeon: Assert pointer is not null before dereferencing.
author
Vinson Lee
<vlee@vmware.com>
Sat, 27 Feb 2010 10:28:00 +0000
(
02:28
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 27 Feb 2010 10:28:00 +0000
(
02:28
-0800)
Add back an assert that was removed in commit
cd5f167353f16fb4f5b349002625b704f3e23778
.
src/mesa/drivers/dri/radeon/radeon_tex_copy.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_tex_copy.c
b/src/mesa/drivers/dri/radeon/radeon_tex_copy.c
index d6aeb7049f482118146664d4df766e998656de83..18cf182e547b6f8dfec1a37ab4a7163ec276318b 100644
(file)
--- 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);