ddraw: Create surfaces with the correct mip level in device_parent_create_texture_surface().
This commit is contained in:
parent
98652ec1c6
commit
89a781adc9
|
@ -5348,7 +5348,7 @@ static HRESULT CDECL device_parent_create_texture_surface(struct wined3d_device_
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME: Validate that format, usage, pool, etc. really make sense. */
|
/* FIXME: Validate that format, usage, pool, etc. really make sense. */
|
||||||
if (FAILED(hr = ddraw_create_surface(ddraw, &desc, &ddraw_surface, 0, tex_root->version)))
|
if (FAILED(hr = ddraw_create_surface(ddraw, &desc, &ddraw_surface, level, tex_root->version)))
|
||||||
return hr;
|
return hr;
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
|
Loading…
Reference in New Issue