mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-11-30 16:48:41 +01:00
5db07ab90428b6097ed92cedbab00c2b9415d124
Now this keeps one FBO for each SDL_TEXTUREACCESS_TARGET texture, and doesn't reuse it. We check if the FBO is "complete" once, at creation time, and setting a render target merely has to bind the right FBO and never look back. This simplifies the code and removes a guaranteed pipeline stall when setting a new render target. (This code merged over from the GLES2 renderer, from changes made in 56e0d052f18938e8d9c6cfe11d87d118afc1990d.) Reference Issue #16839.
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
86.5%
C++
5.2%
Objective-C
3.4%
CMake
1.8%
Java
0.8%
Other
2.1%