76f152e0
by Elizabeth Figura at 2026-02-04T22:21:41+01:00
wined3d: Clear backup_dc and backup_wnd when deleting them.
If we were using a backup DC and then perform a reset, we will clear the DC, but
not zero it, meaning that once 3D is initialized again, we may eventually end up
trying to use the same backup DC which has been deleted. Fix this by also
zeroing the DC pointer.