-
High CPU usage can be observed on Windows with vsync at `1`, after making this change to the snake game example. The high CPU usage might be related to the code driving the `SDL_App*` callbacks, thoug…
-
When building a simple C++ Module which includes SDL headers emscripten fails at scanning its dependencies. I'm not sure if this is because CMake utilizes the system binaries instead of the one that g…
Diyou updated
6 months ago
-
Common ```SDL_assert``` usage pattern is to check error codes like https://github.com/libsdl-org/SDL/blob/1ba99c53d48ec1f1f7c58b20326fc0c964ce5aa2/src/thread/pthread/SDL_sysmutex.c#L73-74:
```
const…
-
Since properties are a new concept, and creating a window is one of the first things you do in SDL, I think it would be useful to have an example of how to use it. Showing different property types, er…
-
The SDL3 release is getting near, maybe it's time to consider dropping SDL1 support and move to the new API.
-
## Scenario
Every in-game tick of 20tps I update the controller input using `SDL_GetGamepadAxis` and similar.
My game implements rumble. On the same game tick loop, the game checks if the Rumble…
-
# Preface
For best performance and customizability, the built in tablet drivers should be used. But windows ink tablets are quite common and plug-and-play on windows, so it makes sense to support t…
-
I have problem getting my program to run on the ios < 16 (on new versions it works fine), it crashes during SDL_VideoInit. It seems that check at SDL_uikitmodes.m:
https://github.com/libsdl-org/SDL…
Zamyk updated
1 month ago
-
So I have [a text editor](https://github.com/icculus/fte) that I've been using for, oh, almost 30 years, which I ported to SDL2 at some point, so it would work wherever I might work. :)
At the mom…
-
The CI/CD actions for SDL3 on Apple platforms are compiled against the newest macOS/iOS/tvOS version, meaning it will:
- miss errors that result from unchecked API usage beyond the minimum required v…