emscripten_set_main_loop error / problem

232 views
Skip to first unread message

colombian developers

unread,
Sep 11, 2012, 4:02:51 PM9/11/12
to emscripte...@googlegroups.com

full 3d engine
http://www.mediafire.com/?86b9bna71rpd3km


hello , our problem is with function

emscripten_set_main_loop(sdl3d_flip, 1);

we try with emscripten_set_main_loop(sdl3d_flip, 0);

but loop only execute one time...

i put printf function to debug problem but , execution is only one time..


to compile use

sh compilar.sh

the original engine is this one
http://code.google.com/p/yeti3dplusplus/

javascript colors not match .. rare? is the same code..

Alon Zakai

unread,
Sep 11, 2012, 6:48:18 PM9/11/12
to emscripte...@googlegroups.com
I put a console.log inside function _sdl3d_flip, and it is called once
per second, as it should be. How did you check?

- azakai

colombian developers

unread,
Sep 16, 2012, 1:08:38 PM9/16/12
to emscripte...@googlegroups.com

WE TEST WITH WINDOWS 7 AND


 FIREFOX 15 --- NOT WORK
CHROME 21 -- emscripten_set_main_loop --- ONLY EXECUTE ONE TIME


and my SDL render colors not match -- is the same sdl code ..







Alon Zakai

unread,
Sep 17, 2012, 6:02:47 PM9/17/12
to emscripte...@googlegroups.com
I pushed a fix to emscripten recently that should resolve the FF15
specific issue. Not sure if it's in master, might be only in incoming.
Worth trying with that.

- azakai
Reply all
Reply to author
Forward
0 new messages