Commit 11fc530a authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Set load_local_constsF in shader_set_function().

parent 4c7d5642
......@@ -3390,6 +3390,8 @@ static HRESULT shader_set_function(struct wined3d_shader *shader,
return WINED3DERR_INVALIDCALL;
}
shader->load_local_constsF = shader->lconst_inf_or_nan;
return WINED3D_OK;
}
......@@ -3787,8 +3789,6 @@ static HRESULT shader_init(struct wined3d_shader *shader, struct wined3d_device
}
}
shader->load_local_constsF = shader->lconst_inf_or_nan;
return hr;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment