mirror of
https://github.com/mmp/pbrt-v4
synced 2026-09-26 16:20:07 +03:00
Fix CHECK in imgtool
This commit is contained in:
parent
d250ece5d5
commit
c4baa53404
1 changed files with 1 additions and 1 deletions
|
|
@ -646,7 +646,7 @@ int splitn(std::vector<std::string> args) {
|
|||
result.SetChannels({x, y}, desc, {rgb.r, rgb.g, rgb.b});
|
||||
};
|
||||
|
||||
CHECK_LT(crops.size(), sizeof(edges) / sizeof(edges[0]));
|
||||
CHECK_LE(crops.size(), sizeof(edges) / sizeof(edges[0]));
|
||||
ImageChannelDesc cropDesc = cropsImage.GetChannelDesc({"R", "G", "B"});
|
||||
CHECK(bool(cropDesc));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue