mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-20 23:35:34 +02:00
- Remove SDL_Surface member from NGAGE_TextureData structure and update all functions that currently use surface->pixels to instead access bitmap->DataAddress() directly. This eliminates the intermediate copy step (Mem::Copy from surface to bitmap) in rendering operations. - Eliminate per-frame allocations in Copy/CopyEx methods. These buffers are now allocated once and resized only when needed.