Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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

  • Loading branch information
esennesh committed Jun 3, 2010
1 parent 111ada8 commit 511cfe18a049336126b2d3360f474bf2c3c8f516
Showing with 3 additions and 3 deletions.
  1. +1 −1 include/SDL_poly.h
  2. +1 −1 include/SDL_video.h
  3. +1 −1 src/video/SDL_video.c
@@ -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.
@@ -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.
@@ -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;
}

0 comments on commit 511cfe1

Please sign in to comment.