When I break out of my main subroutine, I call:
Code: Select all
device->closeDevice();
device->drop();
But for some reason, after that display the program waits about 10 seconds before exiting. Sometimes it will flood the console with Direct3d9 present failed (but not always, usually only when I click the X (close) windows button).
If I X the console when it's frozen, visual studio lets me know that:
exited with code -1073741510. If I wait about 15 seconds, it exits with code 0.
could thousands-size arrays (single dimension) if irrlicht classes be the problem? could passing the irrlicht pointers by arguments possibly be an issue?
Thanks.