Test changing the palette for a single texture

This commit is contained in:
Sam Lantinga
2025-09-28 22:10:06 -07:00
parent 264b436dba
commit 7dcc09986d
2 changed files with 38 additions and 9 deletions
+4
View File
@@ -728,6 +728,10 @@ static bool UpdateTexturePalette(SDL_Texture *texture)
return false;
}
} else {
if (!FlushRenderCommandsIfTextureNeeded(texture)) {
return false;
}
if (!renderer->UpdateTexturePalette(renderer, texture)) {
return false;
}