[9/9] wined3d: pass the capabilities directly to d3d_level_from_gl_info and rename it to d3d_level_from_caps

Henri Verbeet hverbeet at gmail.com
Mon Jul 7 06:21:13 CDT 2014


On 4 July 2014 00:40, Andrei Slăvoiu <andrei.slavoiu at gmail.com> wrote:
> -    if (fragment_caps.TextureOpCaps & WINED3DTEXOPCAPS_DOTPRODUCT3)
> +    if (fragment_caps->TextureOpCaps & WINED3DTEXOPCAPS_DOTPRODUCT3)
>          return D3D7;
>      if (fragment_caps.MaxSimultaneousTextures > 1)
>          return D3D6;
This doesn't compile:
directx.c: In function ‘d3d_level_from_caps’:
directx.c:1692:22: error: request for member ‘MaxSimultaneousTextures’
in something not a structure or union



More information about the wine-devel mailing list