Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Deleting objects

Author
Message
Third Dimension Artist
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location:
Posted: 4th Feb 2011 00:59
The default program that the 3D game wizard makes deletes all objects at the end of the program. But it runs fine if I don't do this. Is it bad to not delete all the objects at the end? Will it cause a memory leak or anything I should be worried about?

Thanks!
dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 4th Feb 2011 02:45
Nope, you can just leave the objects. Windows(and every other OS) will free all non-shared memory allocated by the application when you terminate it, so you'd have to try pretty hard to waste memory.

Third Dimension Artist
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location:
Posted: 5th Feb 2011 22:27
Thanks. I wish there was a GDK FAQ somewhere. Alot of questions that I have as a beginner can be answered so easily.

Login to post a reply

Server time is: 2024-06-23 03:18:21
Your offset time is: 2024-06-23 03:18:21