Fixed up new functions and files so that they build as part of SDL.
authorEli Gottlieb <eligottlieb@gmail.com>
Thu, 03 Jun 2010 17:21:40 -0400
changeset 4773590e680cc4e4
parent 4772 37e9f8154ac4
child 4774 90576a84d30d
Fixed up new functions and files so that they build as part of SDL.
include/SDL_poly.h
include/SDL_video.h
src/video/SDL_video.c
     1.1 --- a/include/SDL_poly.h	Thu Jun 03 16:21:04 2010 -0400
     1.2 +++ b/include/SDL_poly.h	Thu Jun 03 17:21:40 2010 -0400
     1.3 @@ -68,7 +68,7 @@
     1.4   *  
     1.5   *  \return SDL_TRUE if the polygons are equal, SDL_FALSE otherwise.
     1.6   */
     1.7 -extern DECLSPEC SDL_bool SDLCALL SDL_PolyEquals(const SDL_Poly *A,const SDL_Poly *A);
     1.8 +extern DECLSPEC SDL_bool SDLCALL SDL_PolyEquals(const SDL_Poly *A,const SDL_Poly *B);
     1.9  
    1.10  /**
    1.11   *  \brief Determine whether two rectangles intersect.
     2.1 --- a/include/SDL_video.h	Thu Jun 03 16:21:04 2010 -0400
     2.2 +++ b/include/SDL_video.h	Thu Jun 03 17:21:40 2010 -0400
     2.3 @@ -1256,7 +1256,7 @@
     2.4   *  
     2.5   *  \return 0 on success, or -1 if there is no rendering context current.
     2.6   */
     2.7 -extern DECLSPEC int SDLCALL SDL_RenderDrawEllipses(const SDL_Ellipse ** ellipse, int count);
     2.8 +extern DECLSPEC int SDLCALL SDL_RenderDrawEllipses(const SDL_Ellipse * ellipse, int count);
     2.9  
    2.10  /**
    2.11   *  \brief Fill an ellipse on the current rendering target with the drawing color.
     3.1 --- a/src/video/SDL_video.c	Thu Jun 03 16:21:04 2010 -0400
     3.2 +++ b/src/video/SDL_video.c	Thu Jun 03 17:21:40 2010 -0400
     3.3 @@ -2546,7 +2546,7 @@
     3.4      return SDL_RenderFillEllipses(&ellipse,1);
     3.5  }
     3.6  
     3.7 -int SDL_RenderFillEllipses(const SDL_Ellipse ** ellipse, int count) {
     3.8 +int SDL_RenderFillEllipses(const SDL_Ellipse * ellipse, int count) {
     3.9      return -1;
    3.10  }
    3.11