[PATCH v2 1/3] d3d9: Keep track of D3DUSAGE_AUTOGENMIPMAP textures in the d3d9 device.
hverbeet at gmail.com
Tue Feb 5 11:58:49 CST 2019
On Tue, 5 Feb 2019 at 03:30, Matteo Bruni <mbruni at codeweavers.com> wrote:
> diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
> index 98ada03af8b..66bf69589ca 100644
> --- a/dlls/d3d9/device.c
> +++ b/dlls/d3d9/device.c
> @@ -1012,6 +1012,9 @@ static HRESULT d3d9_device_reset(struct d3d9_device *device,
> device->device_state = D3D9_DEVICE_STATE_OK;
> + if (!device->d3d_parent->extended)
> + device->auto_mipmaps = 0;
Could this just get merged into the "if (!extended)" block slightly above?
More information about the wine-devel