changeset 4773:590e680cc4e4

Fixed up new functions and files so that they build as part of SDL.
author Eli Gottlieb <eligottlieb@gmail.com>
date Thu, 03 Jun 2010 17:21:40 -0400
parents 37e9f8154ac4
children 90576a84d30d
files include/SDL_poly.h include/SDL_video.h src/video/SDL_video.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/include/SDL_poly.h	Thu Jun 03 16:21:04 2010 -0400
+++ b/include/SDL_poly.h	Thu Jun 03 17:21:40 2010 -0400
@@ -68,7 +68,7 @@
  *  
  *  \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.
--- a/include/SDL_video.h	Thu Jun 03 16:21:04 2010 -0400
+++ b/include/SDL_video.h	Thu Jun 03 17:21:40 2010 -0400
@@ -1256,7 +1256,7 @@
  *  
  *  \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.
--- a/src/video/SDL_video.c	Thu Jun 03 16:21:04 2010 -0400
+++ b/src/video/SDL_video.c	Thu Jun 03 17:21:40 2010 -0400
@@ -2546,7 +2546,7 @@
     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;
 }