mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 19:03:27 +08:00
Fixed assertion at quit when the debug text was the last texture used.
This commit is contained in:
parent
a48fa675be
commit
b40ad5428b
@ -5072,6 +5072,7 @@ static void SDL_DiscardAllCommands(SDL_Renderer *renderer)
|
||||
renderer->render_commands_pool = NULL;
|
||||
renderer->render_commands_tail = NULL;
|
||||
renderer->render_commands = NULL;
|
||||
renderer->vertex_data_used = 0;
|
||||
|
||||
while (cmd) {
|
||||
SDL_RenderCommand *next = cmd->next;
|
||||
|
Loading…
Reference in New Issue
Block a user