SDL
SDL copied to clipboard
Simple Directmedia Layer
When changing the orientation, the swapchain is recreated. When creating the swapchain on Android, [preTransform is set to VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR](https://github.com/libsdl-org/SDL/blob/15c6acf74f1f5885f52142c9405a5173476d1c6f/src/gpu/vulkan/SDL_gpu_vulkan.c#L4633). Setting the preTransform to something different than the currentTransform (which is...
I am on Manjaro linux (arch) and I have installed SDL3 from AUR: `yay -S sdl3-git` I create this cpp file as a test case: ``` #include int main() {...
With SDL 3.2.10, on Debian 12.10, compiled with gcc 14.1.0 Valgrind's memcheck reports a memory leak on the code below. I am not familiar with the internal SDL code, but...
When using the pen under X11, SDL synthesizes a mouse move when the pen is moved over a window. That is fine, but using the test code below one can...
1. Before opening SDL_AUDIO_DEVICE_DEFAULT_RECORDING, calling SDL_GetAudioDeviceFormat returns the default microphone format as SDL_AUDIO_S16LE. 2. After executing: stream_in_ = SDL_OpenAudioDeviceStream(SDL_AUDIO_DEVICE_DEFAULT_RECORDING, nullptr, nullptr, nullptr); the microphone format changes to SDL_AUDIO_F32LE. 3. Forcing...
The following line will return false, to suggest the file doesn't exist: `SDL_GetPathInfo("example.text", 0);` However, the following line will work, because the file does exist: `SDL_LoadFile("example.text", 0);` The file is...
Hi, everyone. I'm automating the Android build process for an SDL3-based project without using Gradle. While SDL provides an Android project template, it doesn't fully cover my case, so I'm...
Hi, I'm using a DualShock 3 on SDL 3.2.14 on Win11 and the properties report SDL_PROP_GAMEPAD_CAP_RGB_LED_BOOLEAN and SDL_PROP_GAMEPAD_CAP_MONO_LED_BOOLEAN. But whenever I call SDL_SetGamepadLED (generic call when the LEDs are available)...
With both DDNet and sdlpop/prince, SDL causes a segfault I am using `sdl2-compat-2.32.56-1` On DDNet the segfault line is `SDL_InitSubSystem(SDL_INIT_VIDEO) < 0` xclock and glxgears work
I'm writing a python app using Kivy, which uses SDL as its backend. I decided it would be useful to show a native context menu on macos instead of rendering...