On Thu, Feb 2, 2017 at 1:04 AM, Matteo Bruni mbruni@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.