[SOLVED] Closing my program?
-
Joe_Oliveri
- Posts: 448
- Joined: Tue Oct 05, 2004 3:24 am
- Location: Boston, MA
[SOLVED] Closing my program?
What would I call in my keyboard input code to close the app, I have tryed many things on my own but none see to work. Any one got a good one? I am using Dev-C++ for this application.
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Learn the basics at </dream.in.code>
Try out calling this function :
If you're using a standard render loop, this will make
return false and exit the loop.
Code: Select all
device->closeDevice();Code: Select all
device->run()-
Joe_Oliveri
- Posts: 448
- Joined: Tue Oct 05, 2004 3:24 am
- Location: Boston, MA
Thank you I see what I did wrong. I forgot to call this out side of my main loop.
Its always the little things that screw you up!
Code: Select all
IrrlichtDevice* irrDevice = 0;
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Learn the basics at </dream.in.code>