Move emscripten web shell to src
This commit is contained in:
parent
e6ca2c4ba3
commit
be7e56f51e
18 changed files with 66 additions and 54 deletions
|
@ -1640,7 +1640,7 @@ void TakeScreenshot(const char *fileName)
|
|||
|
||||
#if defined(PLATFORM_WEB)
|
||||
// Download file from MEMFS (emscripten memory filesystem)
|
||||
// SaveFileFromMEMFSToDisk() function is defined in raylib/templates/web_shel/shell.html
|
||||
// SaveFileFromMEMFSToDisk() function is defined in raylib/src/shell.html
|
||||
emscripten_run_script(TextFormat("SaveFileFromMEMFSToDisk('%s','%s')", GetFileName(path), GetFileName(path)));
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue