diff include/SDL_video.h @ 2901:133601e3b255

Added RenderPiont() API Merged the drawing tests into a single test program
author Sam Lantinga <slouken@libsdl.org>
date Sun, 21 Dec 2008 17:39:41 +0000
parents 633ce79b7a5b
children 5f89d3751ce7
line wrap: on
line diff
--- a/include/SDL_video.h	Sun Dec 21 08:59:56 2008 +0000
+++ b/include/SDL_video.h	Sun Dec 21 17:39:41 2008 +0000
@@ -1197,6 +1197,18 @@
 extern DECLSPEC int SDLCALL SDL_GetRenderDrawBlendMode(int *blendMode);
 
 /**
+ * \fn int SDL_RenderPoint(int x, int y)
+ *
+ * \brief Draw a point on the current rendering target.
+ *
+ * \param x The x coordinate of the point
+ * \param y The y coordinate of the point
+ *
+ * \return 0 on success, or -1 if there is no rendering context current
+ */
+extern DECLSPEC int SDLCALL SDL_RenderPoint(int x, int y);
+
+/**
  * \fn int SDL_RenderLine(int x1, int y1, int x2, int y2)
  *
  * \brief Draw a line on the current rendering target.
@@ -1208,7 +1220,6 @@
  *
  * \return 0 on success, or -1 if there is no rendering context current
  */
-
 extern DECLSPEC int SDLCALL SDL_RenderLine(int x1, int y1, int x2, int y2);
 
 /**