22 Apr
2013
22 Apr
'13
12:42 p.m.
On 21 April 2013 16:51, Stefan Dösinger <stefan(a)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.