docs/README-emscripten.md
changeset 10896 bc382771cd10
parent 10486 5bf595c48fd4
child 10958 92d837180433
equal deleted inserted replaced
10895:fd63ed9b0746 10896:bc382771cd10
    20     $ cd test/
    20     $ cd test/
    21     $ emcc -O2 --js-opts 0 -g4 testdraw2.c -I../include ../build/.libs/libSDL2.a ../build/libSDL2_test.a -o a.html
    21     $ emcc -O2 --js-opts 0 -g4 testdraw2.c -I../include ../build/.libs/libSDL2.a ../build/libSDL2_test.a -o a.html
    22 
    22 
    23 Uses GLES2 renderer or software
    23 Uses GLES2 renderer or software
    24 
    24 
    25 tests: https://dl.dropboxusercontent.com/u/17360362/SDL2-em/index.html
       
    26 
       
    27 Some other SDL2 libraries can be easily built (assuming SDL2 is installed somewhere):
    25 Some other SDL2 libraries can be easily built (assuming SDL2 is installed somewhere):
    28 
    26 
    29 SDL_mixer (http://www.libsdl.org/projects/SDL_mixer/):
    27 SDL_mixer (http://www.libsdl.org/projects/SDL_mixer/):
    30 
    28 
    31     $ EMCONFIGURE_JS=1 emconfigure ../configure
    29     $ EMCONFIGURE_JS=1 emconfigure ../configure