Forgoted to Release a Surface

Started by
3 comments, last by BenB 24 years, 6 months ago
hi.

When you forget to release a surface, it remains in (system)-memory after the program
ends. When you reboot your computer, the
memory is erased, so of cause everything is
OK now!

bye ...

------------------
Philippo
s_buschmann@gmx.de
http://privat.schlund.de/Gerio

sbusch@pixellight.orghttp://www.pixellight.org
Advertisement
Unless your computer is really different than mine, forgetting to release a surface won't actually cause a noticeable effect (unless you forget to release something like 100 surfaces). And yes, it will be fixed after you reset

------------------
Visit the homepage of my (soon to be 'net multiplayer) Tank Game at http://members.home.net/chris-man

Visit the homepage of my (soon to be 'net multiplayer) Tank Game at http://members.home.net/chris-man

I might be wrong, but doesn't DDHELP.EXE try and detect it when you forget to release things? Or does it do something completely different?

--TheGoop

Hello!
I have created a DirectDraw program, but one time I have forgoted to Release a Surface. My computer worked very slow. I have rebooted my computer and it worked fine. Is anything OK now?
I've read that the DirectDraw-Surfaces are released automatically when the DirectDraw-Object is released...

This topic is closed to new replies.

Advertisement