deive->run is always true

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
Arudil
Posts: 27
Joined: Sun Sep 28, 2003 7:59 am
Location: Germany
Contact:

deive->run is always true

Post by Arudil »

hio

today i change from 0,4 to 0.4.1.. but i've a problem:

Code: Select all

while(device->run())
{
 foo();
 bar();
}
then, when i call "device->closeDevice();", the window closes, but it doesn't go out of the while-repeat (? *dont-know-the-english-word* ?)
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

I can't reproduce this Behavior in my version here. Are you using Windows or Linux?
Arudil
Posts: 27
Joined: Sun Sep 28, 2003 7:59 am
Location: Germany
Contact:

Post by Arudil »

i'm using win98se

btw: there is no text in the titlebar.. i red that this was fixed..
[dx/x]=HUNT3R
Posts: 271
Joined: Sat Aug 23, 2003 5:52 pm
Location: Hurricane Central, Florida

Post by [dx/x]=HUNT3R »

try using a WinMain instead...
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

Yeah, I see now... when I went from 0.4 to 0.4.1 my device doesn't "close". The window disappears but the engine keeps running in the "Close Program" dialog box... (the thing you get when press CTRL + ALT + DELETE). Niko do you know what might be causing this? I'm using Win98SE too .. and no text in the Windows Title bar. =/
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Hm strange. I'll look what I changed in this version and i'll try to fix it.
Post Reply