[v7 05/10] ddraw: Check if surface is a mipmap sublevel through caps in ddraw_surface7_GetPriority().

Henri Verbeet hverbeet at gmail.com
Thu Nov 12 04:05:56 CST 2015

On 10 November 2015 at 14:09, Riccardo Bortolato <rikyz619 at gmail.com> wrote:
> -    else if (!(surface->surface_desc.ddsCaps.dwCaps2 & managed) || !surface->wined3d_texture)
> +    else if (!(surface->surface_desc.ddsCaps.dwCaps2 & managed) || (surface->surface_desc.ddsCaps.dwCaps2 & DDSCAPS2_MIPMAPSUBLEVEL))

This line is still too long. Stefan already mentioned that this causes
a behaviour change and should have a test.

More information about the wine-devel mailing list