Robert Müller 7e1d4f843c Emscripten: fix incorrect error check for WebGL context creation
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
2025-04-24 11:25:58 -07:00
2025-04-11 13:42:58 -07:00
2025-04-10 17:53:43 +00:00
2025-04-11 13:42:58 -07:00
2025-04-11 13:42:58 -07:00
2025-03-31 09:56:01 -07:00
…
2025-04-11 13:42:58 -07:00
…

Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.

You can find the latest release and additional information at: https://www.libsdl.org/

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)

S
Description
Simple Directmedia Layer
Readme
213 MiB
Languages
C 87.4%
C++ 4.4%
Objective-C 3.4%
CMake 1.8%
Python 0.7%
Other 2.1%