mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-24 12:05:43 +00:00
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.
Fixes #15524.
(cherry picked from commit 56e0d052f1)