OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e846a
)
gallium/util: remove useless assertions
author
Brian Paul
<brianp@vmware.com>
Thu, 7 Jan 2010 15:49:33 +0000
(08:49 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 7 Jan 2010 16:20:48 +0000
(09:20 -0700)
src/gallium/auxiliary/util/u_rect.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_rect.c
b/src/gallium/auxiliary/util/u_rect.c
index
10c8bd7
..
8479161
100644
(file)
--- a/
src/gallium/auxiliary/util/u_rect.c
+++ b/
src/gallium/auxiliary/util/u_rect.c
@@
-65,10
+65,6
@@
util_copy_rect(ubyte * dst,
assert(blocksize > 0);
assert(blockwidth > 0);
assert(blockheight > 0);
- assert(src_x >= 0);
- assert(src_y >= 0);
- assert(dst_x >= 0);
- assert(dst_y >= 0);
dst_x /= blockwidth;
dst_y /= blockheight;
@@
-113,8
+109,6
@@
util_fill_rect(ubyte * dst,
assert(blocksize > 0);
assert(blockwidth > 0);
assert(blockheight > 0);
- assert(dst_x >= 0);
- assert(dst_y >= 0);
dst_x /= blockwidth;
dst_y /= blockheight;