mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-10-02 16:23:57 +08:00
main
gsKit_vram_clear() only resets gsKit's VRAM allocator, it never zeroes physical VRAM - and gsKit_init_screen() already turned PCRTC on pointing at whatever was there before (previous app's framebuffer, power-on garbage). A single clear+flip only ever cleans the buffer not currently on screen. Flip twice right after enabling the display so both physical buffers are black before anything can see either of them.
…
…
…
…
…
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
87.4%
C++
4.4%
Objective-C
3.4%
CMake
1.8%
Python
0.7%
Other
2.1%