Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed up new functions and files so that they build as part of SDL.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli Gottlieb committed Jun 3, 2010
1 parent 111ada8 commit 511cfe1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/SDL_poly.h
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion include/SDL_video.h
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/video/SDL_video.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 511cfe1

Please sign in to comment.