mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-27 23:19:11 +00:00
SW_RenderGeometry: add a redundant check to clear static analysis (see bug #4600)
This commit is contained in:
parent
b17aa5d080
commit
54ca1d190e
7 changed files with 7 additions and 0 deletions
|
@ -1036,6 +1036,7 @@ D3D_QueueGeometry(SDL_Renderer *renderer, SDL_RenderCommand *cmd, SDL_Texture *t
|
|||
}
|
||||
|
||||
cmd->data.draw.count = count;
|
||||
size_indices = indices ? size_indices : 0;
|
||||
|
||||
for (i = 0; i < count; i++) {
|
||||
int j;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue