mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-20 07:15:34 +02:00
b53b31b74a14cf7d36e2b1ce6fddcfed07f90621
- Add reusable line points buffer to eliminate per-call heap allocations in DrawLines. - Cache last draw color to skip redundant SetPenColor/SetBrushColor calls. - Pre-compute cardinal angle constants (0°, 90°, 180°, 270°) for CopyEx fast-path. - Cache color modulation state to avoid redundant LUT rebuilds. - Add missing break statement in HandleEvent. - Initialize previously uninitialized lastTime variable in UpdateFPS.
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)
Languages
C
85.7%
C++
6.6%
Objective-C
3.4%
CMake
1.6%
Perl
0.7%
Other
1.7%