SDL
SDL copied to clipboard
Simple Directmedia Layer
It seems that when running an Emscripten app on a mobile device (tested with Android Chrome, iPadOS Safari), SDL will send both mouse and touch events for the same click/tap....
Regardless of renderer settings MacOS seems to always have VSync enabled. I have tried not calling it at all as well as: ` SDL_SetRenderVSync(engine.renderer, 0); SDL_SetRenderVSync(engine.renderer, SDL_RENDERER_VSYNC_DISABLED); ` I checked...
SDL3: Rendering Stops When Resizing Window with SDL_WINDOW_RESIZABLE Flag Beyond Certain Dimensions
## Environment - **SDL Version**: 3.2.14 - **Platform**: Windows 11 - **Compiler Versions**: - C++: C++20 - C: C17 - **IDE**: Microsoft Visual Studio Community 2022 (64-bit) - Version 17.13.6...
I enter full screen mode on MacOS like so: if (display_fullscreen_mode == DISPLAY_FULLSCREEN_MODE) { SDL_DisplayMode *selected_mode; SDL_DisplayID did = SDL_GetDisplayForWindow(window); int num_modes; SDL_DisplayMode **modes = SDL_GetFullscreenDisplayModes(did, &num_modes); for (int i...
I've noticed this when I tried to implement SDL_SetTextInputArea() in Exult and made a post at https://discourse.libsdl.org/t/sdl-settextinputarea-on-android/59971 and then decided to investigate with SDL's testime. (edit: using latest git fbba5b272)...
I've noticed that the current implementation of the N-Gage renderer doesn't support using textures as a rendering target. I've taken on the task of adding this feature, but any help...
Markdown links of the form `[SDL_somestring](https://someurl)` get transformed into `[[SDL_somestring](SDL_somestring)](https://someurl)`, which is rendered on the wiki as a broken link followed by the full url. Here's how I stumbled upon...
Somewhat related to #12787. In order to share some OpenGL resources across multiple GL contexts, I create a hidden base shared OpenGL context like this: ```cpp // Create a hidden...
## Description Kept adding docs until `wikiheaders.pl` stopped generating warnings. I'm not an SDL expert, so some of these have been left a bit vague (eg `\param bExclusive boolean exclusive.`)...
Ref: [Factorio bug report](https://forums.factorio.com/126322) On Windows, if you change the resolution of a secondary display while an SDL app is running, the coordinates returned by `SDL_GetMouseState` become offset from the...