mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 02:47:31 +09:00
Bug 1464039 - Only reject qcms transform with invalid grid size if the transform function uses the grid size. r=Bas a=jcristau
This commit is contained in:
parent
152f93be21
commit
1974d5079a
2 changed files with 8 additions and 2 deletions
|
|
@ -972,7 +972,9 @@ static float* qcms_modular_transform_data(struct qcms_modular_transform *transfo
|
|||
assert(0 && "Unsupported transform module");
|
||||
return NULL;
|
||||
}
|
||||
if (transform->grid_size <= 0) {
|
||||
if (transform->grid_size <= 0 &&
|
||||
(transform_fn == qcms_transform_module_clut ||
|
||||
transform_fn == qcms_transform_module_clut_only)) {
|
||||
assert(0 && "Invalid transform");
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue