Disable divisibility checking
This commit is contained in:
parent
0b8b067e46
commit
91035bc675
|
@ -204,6 +204,8 @@ impl TransferRegion<'_> {
|
|||
return Err("Source region is out-of-bounds! (Too wide)");
|
||||
}
|
||||
// Check that source lengths divide destination lengths
|
||||
/* This section is disabled because it's not
|
||||
* strictly necessary to have this property (divisibility)
|
||||
match &self.dest_region {
|
||||
Region::Point(_) => (),
|
||||
Region::Rect(d1, d2) => {
|
||||
|
@ -234,6 +236,7 @@ impl TransferRegion<'_> {
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue