@parameters
[width] [height]
@effect
- The maximum size of the state.
+ The maximum size of the state. A size of -1.0 means that it will be ignored in one direction.
@endproperty
*/
static void
ed = ep->default_desc;
if (ep->other.desc_count) ed = ep->other.desc[ep->other.desc_count - 1];
- ed->max.w = parse_float_range(0, 0, 0x7fffffff);
- ed->max.h = parse_float_range(1, 0, 0x7fffffff);
+ ed->max.w = parse_float_range(0, -1.0, 0x7fffffff);
+ ed->max.h = parse_float_range(1, -1.0, 0x7fffffff);
}
/**