Jump to content
  • Advertisement
Sign in to follow this  

Strange behaviour in D3DFont class when resizing window

This topic is 4698 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I have problems when resizing window, I get the following debug message " Direct3D9: (ERROR) :The following D3DPOOL_DEFAULT surfaces/buffers/textures still exist Direct3D9: (ERROR) : D3DRTYPE_VERTEXBUFFER Direct3D9: (ERROR) : Memory Address: 0a1c3060 lAllocID=1020 dwSize=00000050, (pid=00000d8c) ... Direct3D9: (ERROR) :All user created D3DPOOL_DEFAULT surfaces must be freed before Reset can succeed. Reset Fails. " the lAllocID belongs to the D3DFont class... and before trying to do the reset on the device I make sure I call the InvalidateDeviceObjects() method on my two fonts... which do the work of doing a SAFE_RELEASE on the vertex buffer pointer.. So, why does the buffer don't get released?? =) Please heeelp... It hasn't anything to do with the ID3DXEffect's cause I call the OnLostDevice() method before the reset. /Hendrix

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!