소스 검색

Fixed an inaccuracy in the documentation for SDL_ConvertPixelsAndColorspace

Eduard Gushchin 9 달 전
부모
커밋
da80b9bce5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/SDL3/SDL_surface.h

+ 1 - 1
include/SDL3/SDL_surface.h

@@ -904,7 +904,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ConvertPixels(int width, int height, SDL_Pi
  *                       properties, or 0.
  * \param dst a pointer to be filled in with new pixel data.
  * \param dst_pitch the pitch of the destination pixels, in bytes.
- * \returns false on success or false on failure; call SDL_GetError() for more
+ * \returns true on success or false on failure; call SDL_GetError() for more
  *          information.
  *
  * \since This function is available since SDL 3.1.3.