Mesa (master): gallium/util: remove useless assertions
Brian Paul
brianp at kemper.freedesktop.org
Thu Jan 7 16:20:59 UTC 2010
Module: Mesa
Branch: master
Commit: c642c246d7c908976505ee18fbf328572e213499
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c642c246d7c908976505ee18fbf328572e213499
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 7 08:49:33 2010 -0700
gallium/util: remove useless assertions
---
src/gallium/auxiliary/util/u_rect.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_rect.c b/src/gallium/auxiliary/util/u_rect.c
index 10c8bd7..8479161 100644
--- 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;
More information about the mesa-commit
mailing list