[PATCH 1/5] wined3d: Get rid of "texture_stages" variable in draw_primitive_immediate_mode().

Henri Verbeet hverbeet at gmail.com
Mon Mar 13 09:06:03 CDT 2017


On 13 March 2017 at 11:57, Józef Kucia <jkucia at codeweavers.com> wrote:
> @@ -281,8 +281,7 @@ static void draw_primitive_immediate_mode(struct wined3d_context *context, const
>          GL_EXTCALL(glSecondaryColor3fEXT)(0.0f, 0.0f, 0.0f);
>      }
>
> -    texture_stages = d3d_info->limits.ffp_blend_stages;
> -    for (texture_idx = 0; texture_idx < texture_stages; ++texture_idx)
> +    for (texture_idx = 0; texture_idx < d3d_info->limits.ffp_blend_stages; ++texture_idx)
It doesn't matter that much, but I'm not sure that's an improvement.



More information about the wine-devel mailing list