[PATCH 1/2] wined3d: Remove leftover texture accesses in GLSL shader generation

Henri Verbeet hverbeet at gmail.com
Mon Apr 22 07:42:27 CDT 2013


On 21 April 2013 16:51, Stefan Dösinger <stefan at 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.



More information about the wine-devel mailing list