Archived

This topic is now archived and is closed to further replies.

jack_1313

Releasing backbuffers manualy in D3D 8.1

Recommended Posts

Why do you ask?

If you have a reference then you should eventually release it, such as before resetting the device or exiting the app. This is basic COM. You would only have a reference if you''ve called GetBackBuffer on the device or swap chain.

But you should never release a reference you don''t own. If you''re thinking of running down the reference count on a back buffer, again 1) Why do you want to do this? and 2) Don''t do it.

Share this post


Link to post
Share on other sites
Well, I want to do this because of a strange, unusual problem I''ve been having for a while of which I, or no-one else for that matter, can solve. See ''D3D freezes my computer'', which is on page 2 now, for my bloody annoying problem. Anyhow, I figure if I can manually release the backbuffers then release my D3D then I might be able to fix this thing...

Share this post


Link to post
Share on other sites