瀏覽代碼

Sync wiki -> header

SDL Wiki Bot 4 年之前
父節點
當前提交
46919b1e8e
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      include/SDL_surface.h

+ 3 - 3
include/SDL_surface.h

@@ -388,9 +388,9 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasSurfaceRLE(SDL_Surface * surface);
 /**
 /**
  * Set the color key (transparent pixel) in a surface.
  * Set the color key (transparent pixel) in a surface.
  *
  *
- * The color key defines a pixel value that will be treated as transparent in
- * a blit. It is a pixel of the format used by the surface, as generated by
- * SDL_MapRGB().
+ * E.g. Set cyan pixals to transparentThe color key defines a pixel value that
+ * will be treated as transparent in a blit. It is a pixel of the format used
+ * by the surface, as generated by SDL_MapRGB().
  *
  *
  * RLE acceleration can substantially speed up blitting of images with large
  * RLE acceleration can substantially speed up blitting of images with large
  * horizontal runs of transparent pixels. See SDL_SetSurfaceRLE() for details.
  * horizontal runs of transparent pixels. See SDL_SetSurfaceRLE() for details.