render: Added SDL_RenderFlush().

This commit is contained in:
Ryan C. Gordon 2018-10-04 16:34:44 -04:00
parent 09140bd8bc
commit 1ecf4dfc5f
4 changed files with 33 additions and 0 deletions

View file

@ -254,6 +254,12 @@ FlushRenderCommandsIfNotBatching(SDL_Renderer *renderer)
return renderer->batching ? 0 : FlushRenderCommands(renderer);
}
int
SDL_RenderFlush(SDL_Renderer * renderer)
{
return FlushRenderCommands(renderer);
}
static SDL_AllocVertGap *
AllocateVertexGap(SDL_Renderer *renderer)
{