include/SDL_surface.h
changeset 6257 4b6e961362fb
parent 6138 4c64952a58fb
child 6885 700f1b25f77f
--- a/include/SDL_surface.h	Sun Jan 22 18:11:41 2012 -0500
+++ b/include/SDL_surface.h	Sun Jan 22 18:37:46 2012 -0500
@@ -51,6 +51,7 @@
  *  Used internally (read-only).
  */
 /*@{*/
+#define SDL_SWSURFACE       0           /**< Just here for compatibility */
 #define SDL_PREALLOC        0x00000001  /**< Surface uses preallocated memory */
 #define SDL_RLEACCEL        0x00000002  /**< Surface is RLE encoded */
 #define SDL_DONTFREE        0x00000004  /**< Surface is referenced internally */
@@ -208,10 +209,12 @@
  *  \brief Sets the color key (transparent pixel) in a blittable surface.
  *  
  *  \param surface The surface to update
- *  \param flag Non-zero to enable colorkey and 0 to disable colorkey 
+ *  \param flag Non-zero to enable colorkey and 0 to disable colorkey
  *  \param key The transparent pixel in the native surface format
  *  
  *  \return 0 on success, or -1 if the surface is not valid
+ *
+ *  You can pass SDL_RLEACCEL to enable RLE accelerated blits.
  */
 extern DECLSPEC int SDLCALL SDL_SetColorKey(SDL_Surface * surface,
                                             int flag, Uint32 key);