mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[Simulator] Don't resize canvas to 0x0 (#310)
* [Simulator] Don't resize canvas to 0x0 * [storage] Fix broken script saving/loading * [Simulator] Don't resize canvas to 0x0 Co-authored-by: Yaya-Cout <yaya.cout@free.fr>
This commit is contained in:
@@ -268,9 +268,6 @@ Emscripten_DestroyWindow(_THIS, SDL_Window * window)
|
||||
data->egl_surface = EGL_NO_SURFACE;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* We can't destroy the canvas, so resize it to zero instead */
|
||||
emscripten_set_canvas_element_size(data->canvas_id, 0, 0);
|
||||
SDL_free(data->canvas_id);
|
||||
|
||||
SDL_free(window->driverdata);
|
||||
|
||||
Reference in New Issue
Block a user