Hi Henri, I will fix the line, as for the test it should be handled already by test_resource_priority(): [...] hr = IDirectDrawSurface7_GetPriority(mipmap, &priority); ok(hr == DDERR_INVALIDPARAMS, "Got unexpected hr %#x, type managed mipmap.\n", hr); [...] Ciao, Riccardo 2015-11-12 11:05 GMT+01:00 Henri Verbeet <hverbeet(a)gmail.com>:
On 10 November 2015 at 14:09, Riccardo Bortolato <rikyz619(a)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.