Alt key crashes engine :(
Alt key crashes engine :(
For some reason pressing alt crashes the engine. Is this a known issue or anything like that?
-
larztheloser
- Posts: 13
- Joined: Thu Oct 08, 2009 8:58 pm
- Location: New Zealand
Definitely not a known issue :-) As long as it doesn't also happen with the examples you will have to show us some code so we can help you.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
Lil Margin
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
-
Lil Margin
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
Yeah here is some pseudo-code:hmmm ok, is there a way i make it pause when it loses focus or is there a fix for it?
Code: Select all
bool paused = false;
while(device->run())
{
if(device->losesFocus())
{
paused = true;
}
if(paused == false)
{
driver->beginScene();
//all of that other stuff
}
}
multum in parvo