Просмотр исходного кода

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 1 день назад
Родитель
Сommit
3462494ec1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/SDL3/SDL_pixels.h

+ 1 - 1
include/SDL3/SDL_pixels.h

@@ -1407,7 +1407,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_GetRGB(Uint32 pixelvalue, const SDL_PixelFo
  * (e.g., a completely white pixel in 16-bit RGB565 format would return [0xff,
  * 0xff, 0xff] not [0xf8, 0xfc, 0xf8]).
  *
- * If the surface has no alpha component, the alpha will be returned as 0xff
+ * If the format has no alpha component, the alpha will be returned as 0xff
  * (100% opaque).
  *
  * \param pixelvalue a pixel value.