mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-11 17:05:41 +00:00
It turns out the reason this function was having so many overread issues was because our row copies were wrong - for compressed images we also need to reduce the row count based on the block size, similar to what we already do for pitch calculation - these copies are byte copies, not pixel copies!
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| d3d12 | ||
| metal | ||
| vulkan | ||
| SDL_gpu.c | ||
| SDL_sysgpu.h | ||