On 2/12/20 6:48 AM, Henri Verbeet wrote: > On Wed, 12 Feb 2020 at 04:54, Zebediah Figura <z.figura12 at gmail.com> wrote: >> + if (sampler_idx >= WINED3D_MAX_COMBINED_SAMPLERS) >> + { > Why not ARRAY_SIZE? (Applies to 3/6 as well.) > It felt a little more cumbersome, but sure.