mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 09:26:25 +00:00
Test changing the palette for a single texture
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user