mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
Fixed bug #10954: software renderer: examples/renderer/10-geometry missing a triangle
typo when changing return code from int to bool
This commit is contained in:
parent
860e38a3a2
commit
09e3af58b5
1 changed files with 2 additions and 2 deletions
|
@ -4389,7 +4389,7 @@ bool SDL_RenderGeometry(SDL_Renderer *renderer,
|
|||
}
|
||||
|
||||
#ifdef SDL_VIDEO_RENDER_SW
|
||||
static bool remap_one_indice(
|
||||
static int remap_one_indice(
|
||||
int prev,
|
||||
int k,
|
||||
SDL_Texture *texture,
|
||||
|
@ -4427,7 +4427,7 @@ static bool remap_one_indice(
|
|||
return prev;
|
||||
}
|
||||
|
||||
static bool remap_indices(
|
||||
static int remap_indices(
|
||||
int prev[3],
|
||||
int k,
|
||||
SDL_Texture *texture,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue