On 21 April 2013 16:51, Stefan Dösinger <ste...@codeweavers.com> wrote:
> -    if (texture && texture->target == GL_TEXTURE_RECTANGLE_ARB)
> -        sample_flags |= WINED3D_GLSL_SAMPLE_RECT;
> +    if (priv->cur_ps_args->np2_fixup & (1 << sampler_idx))
> +    {
> +        sample_flags |= WINED3D_GLSL_SAMPLE_NPOT;
> +    }
I don't think the added braces are an improvement, but otherwise this looks ok.


Reply via email to