[PATCH 5/5] wined3d: Pass the state and private data to shader_select

Henri Verbeet hverbeet at gmail.com
Mon May 13 08:28:34 CDT 2013


On 12 May 2013 15:30, Stefan Dösinger <stefan at codeweavers.com> wrote:
>      /* Disable shaders */
> -    device->shader_backend->shader_select(context, WINED3D_SHADER_MODE_NONE, WINED3D_SHADER_MODE_NONE);
> +    device->shader_backend->shader_select(context, WINED3D_SHADER_MODE_NONE, WINED3D_SHADER_MODE_NONE,
> +            NULL, device->shader_priv);
I think that's a bit questionable. Passing NULL state happens to work
for this set of arguments, but I don't think we want that to be part
of the interface.



More information about the wine-devel mailing list