mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-18 17:28:13 +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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user