device->drop

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Sigutis
Posts: 10
Joined: Thu May 01, 2008 8:51 am
Location: Lithuania

device->drop

Post by Sigutis »

Can the "drop" cause any program crashes? It seems that my game "encounters a problem and needs to be closed" after I quit. (the device->drop is performed).
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Yeah, if you try and drop an object that shouldn't be dropped or has already been deleted or call drop on an invalid pointer then you'll get a crash.

Are you calling drop on the device more than once? Are you doing anything differently with the device than in the tutorials?
Image Image Image
Post Reply