Based on the stack trace, it looks like the SDL screen was freed, then the
screen recreated, and we didn't handle that properly. This is now fixed on
the incoming branch, let me know if that doesn't fix things for you.

- Alon



On Fri, Mar 28, 2014 at 8:51 AM, colombian developers
<[email protected]>wrote:

> i have this error .. A possible bug in parameters...
>
>
>
>
>
>
> *my code in grsetmode function is :          printf("estoy gr
> setmode(ELSE) w %d h %d depth %d f %d  /n", surface_width, surface_height,
> depth, sdl_flags);         if (surface_width > 0 && *
>
>
>
>
> *surface_height > 0)              screen = SDL_SetVideoMode(
> surface_width, surface_height, depth, sdl_flags );
> else{               printf("estoy en ultimo setmode  /n");
> screen = SDL_SetVideoMode( 640, 480, 16, SDL_HWSURFACE  );}*
> test online my project please....
>
>       https://googledrive.com/host/0B9kSzw-XTJHNZTBrZnVnYW5uXzA/index.html
>
>
> attach other files from interest...
>
>
> thanks...
>
>
>
> =================  CONSOLE ERROR
> =========================================
> "exception thrown: TypeError: info is
> null,@file:///C:/html5/bennugd/index.js:6202
> _SDL_SetVideoMode@file:///C:/html5/bennugd/index.js:6671
> _gr_set_mode@file:///C:/html5/bennugd/index.js:37907
> _modvideo_set_mode_4@file:///C:/html5/bennugd/index.js:97883
> _instance_go@file:///C:/html5/bennugd/index.js:14740
> _instance_go@file:///C:/html5/bennugd/index.js:14522
> _one@file:///C:/html5/bennugd/index.js:13862
> @file:///C:/html5/bennugd/index.js:678
> Browser_mainLoop_runner@file:///C:/html5/bennugd/index.js:5103
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to