27 Jul
2020
27 Jul
'20
2:09 p.m.
On Mon, 27 Jul 2020 at 17:21, Gabriel Ivăncescu <gabrielopcode(a)gmail.com> wrote:
@@ -3758,6 +3758,9 @@ static HRESULT WINAPI ddraw_surface7_Restore(IDirectDrawSurface7 *iface) struct wined3d_display_mode mode; HRESULT hr;
+ if (surface->ddraw->device_state == DDRAW_DEVICE_STATE_LOST) + return DDERR_WRONGMODE; +
Does this only apply to primary surfaces, or does it affect other surfaces as well?