[PATCH] wined3d: Avoid double initialization.

Alex Henrie alexhenrie24 at gmail.com
Fri Nov 13 22:51:29 CST 2015


2015-11-13 5:55 GMT-07:00 Henri Verbeet <hverbeet at gmail.com>:
> On 13 November 2015 at 07:45, Alex Henrie <alexhenrie24 at gmail.com> wrote:
>> @@ -4962,7 +4960,7 @@ static GLuint generate_param_reorder_function(struct shader_glsl_priv *priv,
>>          BOOL per_vertex_point_size, const struct wined3d_gl_info *gl_info)
>>  {
>>      struct wined3d_string_buffer *buffer = &priv->shader_buffer;
>> -    GLuint ret = 0;
>> +    GLuint ret;
>>      DWORD ps_major = ps ? ps->reg_maps.shader_version.major : 0;
>>      unsigned int i;
>>      const char *semantic_name;
> This fails to apply.

The line offsets are slightly off because of recent commits. The patch
still applies with `git am -3`.

-Alex



More information about the wine-devel mailing list