mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
SW_RenderGeometry: add a redundant check to clear static analysis (see bug #4600)
This commit is contained in:
@@ -3452,6 +3452,7 @@ SDL_SW_RenderGeometryRaw(SDL_Renderer *renderer,
|
||||
}
|
||||
|
||||
prev[0] = -1; prev[1] = -1; prev[2] = -1;
|
||||
size_indices = indices ? size_indices : 0;
|
||||
|
||||
for (i = 0; i < count; i += 3) {
|
||||
int k0, k1, k2; /* Current triangle indices */
|
||||
|
Reference in New Issue
Block a user