mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 08:27:05 +00:00
SW_RenderGeometry: add a redundant check to clear static analysis (see bug #4600)
This commit is contained in:
@@ -1333,6 +1333,7 @@ METAL_QueueGeometry(SDL_Renderer *renderer, SDL_RenderCommand *cmd, SDL_Texture
|
||||
}
|
||||
|
||||
cmd->data.draw.count = count;
|
||||
size_indices = indices ? size_indices : 0;
|
||||
|
||||
for (int i = 0; i < count; i++) {
|
||||
int j;
|
||||
|
||||
Reference in New Issue
Block a user