lime
lime copied to clipboard
Fix Emscripten
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
- Rendering
- *Rendering [!]
- Auto Size Canvas [X] -> [✓]
- Network
- HTTP Request [X] -> [✓]
- Compile
- Compile [X] -> [✓]
- Optimizations [X] -> [✓]
- File Size Optimizations
- Removing curl and efsw from Build [X] -> [✓]
*Some colors are wrongly rendered.
Only rendering issues remain:
- Some areas are not being rendered
- Some areas are rendered with incorrect colors
Only rendering issues remain:
- Some areas are not being rendered
- Some areas are rendered with incorrect colors
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.
https://github.com/openfl/lime/blob/17fe04721d8bc4c8b18c1e3d4983b9371326e72d/project/src/graphics/opengl/OpenGL.h#L13-L19