mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
gallium/util: remove useless assertions
This commit is contained in:
parent
c3e846af30
commit
c642c246d7
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue