[fixed]Direct3D9 Memory leak

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
loverlinfish
Posts: 7
Joined: Thu Aug 06, 2009 8:38 am

[fixed]Direct3D9 Memory leak

Post by loverlinfish »

CD3D9Device.cpp
line 593 ==> call hr = pID3DDevice->GetSwapChain(0, &swChain);
but no call swChain->Release();
when create new device, old data not release.

CreateDeviceEx ....(see windows task manager - thread 1)
device->beginScene
device->endScene
.
.
.
device->closeDevice
device->drop
============== create new device ==============
CreateDeviceEx ....(see windows task manager - thread 2)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Direct3D9 Memory leak

Post by hybrid »

Yeah, thanks, fixed now.
Post Reply