[PATCH] WineD3D: remove some more junk code=0A=
Stefan Doesinger
stefan at codeweavers.com
Thu Aug 21 13:33:11 CDT 2008
=0A=
the device can't be released before the resources because the=0A=
resources hold a reference to the device=0A=
---=0A=
dlls/wined3d/device.c | 10 ----------=0A=
1 files changed, 0 insertions(+), 10 deletions(-)=0A=
=0A=
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c=0A=
index a569e96..e199ad1 100644=0A=
--- a/dlls/wined3d/device.c=0A=
+++ b/dlls/wined3d/device.c=0A=
@@ -2172,10 +2172,6 @@ static HRESULT WINAPI =
IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface, WINED3DPR=0A=
=0A=
ENTER_GL();=0A=
=0A=
-#if 0=0A=
- IWineD3DImpl_CheckGraphicsMemory();=0A=
-#endif=0A=
-=0A=
{ /* Set a default viewport */=0A=
WINED3DVIEWPORT vp;=0A=
vp.X =3D 0;=0A=
@@ -7589,12 +7585,6 @@ static void WINAPI =
IWineD3DDeviceImpl_ResourceReleased(IWineD3DDevice *iface, IW=0A=
This->stateBlock->streamSource[streamNumber] =
=3D 0;=0A=
}=0A=
}=0A=
-#if 0 /* TODO: Manage internal tracking properly so that 'this =
shouldn't happen' */=0A=
- else { /* This shouldn't happen */=0A=
- FIXME("Calling application has released the device =
before relasing all the resources bound to the device\n");=0A=
- }=0A=
-#endif=0A=
-=0A=
}=0A=
}=0A=
break;=0A=
-- =0A=
1.5.6.4=0A=
=0A=
------=_NextPart_000_0009_01C90844.17899260--
More information about the wine-patches
mailing list