Skip to main content
GameDev.net gamedev.net
🔒 Locked

how to turn on allocID output of unfreed resources

Started by s-men Mar 20, 2009 at 4:20 AM 0 replies 1.1k views
Original Post
s-men
s-men
I have this problem that the reset call on the D3D9device fails because some D3DPOOL_DEFAULT resources aren't freed yet. The problem is I don't know what, the only output I manage to get is this:
Quote:
Direct3D9: (ERROR) :All user created D3DPOOL_DEFAULT surfaces must be freed before ResetEx can succeed. ResetEx Fails. Direct3D9: (ERROR) :ResetEx failed and ResetEx/TestCooperativeLevel/Release are the only legal APIs to be called subsequently
However I often see on forums that you can get output like this:
Quote:
[1552] Direct3D8: (ERROR) :The following D3DPOOL_DEFAULT surfaces/buffers/textures still exist [1552] Direct3D8: (ERROR) : D3DRTYPE_TEXTURE
My directx control panel settings: http://i44.tinypic.com/15y98c9.jpg It would make it alot easier if I could see what resource is still not freed before resetting but I can't get it to say.
s-men
s-men
nobody that can help me out?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.