diff --git a/include/SDL_poly.h b/include/SDL_poly.h index 40bbc8d57..1192daf95 100644 --- a/include/SDL_poly.h +++ b/include/SDL_poly.h @@ -68,7 +68,7 @@ typedef struct SDL_Poly { * * \return SDL_TRUE if the polygons are equal, SDL_FALSE otherwise. */ -extern DECLSPEC SDL_bool SDLCALL SDL_PolyEquals(const SDL_Poly *A,const SDL_Poly *A); +extern DECLSPEC SDL_bool SDLCALL SDL_PolyEquals(const SDL_Poly *A,const SDL_Poly *B); /** * \brief Determine whether two rectangles intersect. diff --git a/include/SDL_video.h b/include/SDL_video.h index fdc28a487..557ed40e1 100644 --- a/include/SDL_video.h +++ b/include/SDL_video.h @@ -1256,7 +1256,7 @@ extern DECLSPEC int SDLCALL SDL_RenderDrawEllipse(const SDL_Ellipse ellipse); * * \return 0 on success, or -1 if there is no rendering context current. */ -extern DECLSPEC int SDLCALL SDL_RenderDrawEllipses(const SDL_Ellipse ** ellipse, int count); +extern DECLSPEC int SDLCALL SDL_RenderDrawEllipses(const SDL_Ellipse * ellipse, int count); /** * \brief Fill an ellipse on the current rendering target with the drawing color. diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 86ca62d40..2f9b27642 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -2546,7 +2546,7 @@ int SDL_RenderFillEllipse(const SDL_Ellipse ellipse) { return SDL_RenderFillEllipses(&ellipse,1); } -int SDL_RenderFillEllipses(const SDL_Ellipse ** ellipse, int count) { +int SDL_RenderFillEllipses(const SDL_Ellipse * ellipse, int count) { return -1; }