Fix Emscripten#2005
Conversation
…emove assets from virtual file system and remove curl and efsw to reduce file size
|
Only rendering issues remain:
|
Even though the project is using WebGL2 (OpenGL 3), this might be happening because the API being used is actually WebGL (OpenGL 2). I’m not very familiar with the behavioral differences between these two versions. lime/project/src/graphics/opengl/OpenGL.h Lines 13 to 19 in 17fe047 |
|
Rendering fixed, waiting for merging. Requires openfl/openfl#2860 on OpenFL |
| { | ||
| System.mkdir(Path.directory(path)); | ||
| AssetHelper.copyAsset(asset, path, context); | ||
| } |
There was a problem hiding this comment.
Does WASM really need two copies of the non-template assets? You've got this here, and above on line 472 it also copies it into obj/assets.
There was a problem hiding this comment.
I'm not sure about that because it's been a while since I wrote the code; need to test it.
Fix Emscripten compile & rendering issues, implement HTTP requests, remove assets from virtual file system and remove curl and efsw to reduce file size
Emscripten Status