That's a limitation of the current SDL code. If we copy the pixels during
lock (so that C/C++ code can access them) then a hardware palette means we
need to do some mapping of raw RGB values to the hardware palette, and that
code hasn't been written.

- Alon



On Thu, Mar 27, 2014 at 1:22 PM, colombian developers
<[email protected]>wrote:

> in firefox my project show this error ?
>
>
> SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated.
> Use //# instead index.js:213719
> 15:16:42.954 "preload time: 33 ms" index.html:61
> 15:16:44.971 uncaught exception: CopyOnLock is not supported for
> SDL_LockSurface with SDL_HWPALETTE flag set_SDL_LockSurface
> @file:///C:/html5/bennugd/index.js:6807
> _gr_lock_screen@file:///C:/html5/bennugd/index.js:43312
> _gr_draw_frame@file:///C:/html5/bennugd/index.js:39526
> _one@file:///C:/html5/bennugd/index.js:14019
> @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