Fixed up new functions and files so that they build as part of SDL.

This commit is contained in:
Eli Gottlieb 2010-06-03 17:21:40 -04:00
parent af2813acd5
commit c8581d3a82
3 changed files with 3 additions and 3 deletions

View file

@ -68,7 +68,7 @@ typedef struct SDL_Poly {
* *
* \return SDL_TRUE if the polygons are equal, SDL_FALSE otherwise. * \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. * \brief Determine whether two rectangles intersect.

View file

@ -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. * \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. * \brief Fill an ellipse on the current rendering target with the drawing color.

View file

@ -2546,7 +2546,7 @@ int SDL_RenderFillEllipse(const SDL_Ellipse ellipse) {
return SDL_RenderFillEllipses(&ellipse,1); 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; return -1;
} }