Files
SDL/src
Sam Lantinga a55e059f84 Set the texture palette before setting pixel data
This is a better fix for https://github.com/libsdl-org/SDL/issues/16227.

The original problem was that the newly created texture didn't have any palette, so when the surface data was set, colors couldn't be mapped to pixel index values. The old fix temporarily set the texture palette to the surface palette, copied the surface data, and then set the texture palette to a copy of the surface palette. This caused Vulkan validation errors because we were deleting the original palette which was still referenced by the active command buffer. Instead, we'll create the palette that we want the texture to have to start with, then copy the surface data once that's set.
2026-09-09 10:21:23 -07:00
..
2026-08-15 01:30:12 -04:00
2026-08-23 10:35:08 -07:00
2026-07-03 16:18:28 -07:00
2026-01-01 09:40:08 -08:00
2026-01-23 16:02:16 -08:00
2026-01-01 09:40:08 -08:00
2026-08-06 07:46:30 -07:00
2026-09-09 10:21:23 -07:00
2026-01-01 09:40:08 -08:00
2026-01-23 11:23:27 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-04-10 14:11:38 -07:00
2026-04-10 14:11:38 -07:00
2026-01-01 09:40:08 -08:00
2026-04-10 14:11:38 -07:00
2026-01-01 09:40:08 -08:00
2026-08-15 01:30:12 -04:00