mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-18 03:58:54 +00:00
According to the documentation and testing the `emscripten_webgl_create_context` function returns `0` on error as oppposed to a negative number. This was causing the error message to be empty when the later `emscripten_webgl_make_context_current` call fails given the invalid context. See https://emscripten.org/docs/api_reference/html5.h.html#c.emscripten_webgl_create_context |
||
|---|---|---|
| .. | ||
| SDL_emscriptenevents.c | ||
| SDL_emscriptenevents.h | ||
| SDL_emscriptenframebuffer.c | ||
| SDL_emscriptenframebuffer.h | ||
| SDL_emscriptenmouse.c | ||
| SDL_emscriptenmouse.h | ||
| SDL_emscriptenopengles.c | ||
| SDL_emscriptenopengles.h | ||
| SDL_emscriptenvideo.c | ||
| SDL_emscriptenvideo.h | ||