[PATCH 3/5] wined3d: Fix querying texture-related limits on core profile.

Józef Kucia joseph.kucia at gmail.com
Thu Feb 2 07:56:44 CST 2017


On Thu, Feb 2, 2017 at 1:04 AM, Matteo Bruni <mbruni at codeweavers.com> wrote:
>          else
>          {
>              gl_info->limits.texture_coords = max(gl_info->limits.texture_coords, gl_max);
> +            TRACE("Max texture coords: %d.\n", gl_info->limits.texture_coords);
>              gl_info->limits.fragment_samplers = max(gl_info->limits.fragment_samplers, gl_max);
>          }

Is this "else" block supposed to be executed only for legacy contexts?
It might be better to merge it into the "if
(gl_info->supported[WINED3D_GL_LEGACY_CONTEXT])" block above.



More information about the wine-devel mailing list