ソースを参照

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 3 日 前
コミット
e035f3a480
1 ファイル変更5 行追加2 行削除
  1. 5 2
      include/SDL3/SDL_gpu.h

+ 5 - 2
include/SDL3/SDL_gpu.h

@@ -4433,7 +4433,8 @@ extern SDL_DECLSPEC Uint32 SDLCALL SDL_CalculateGPUTextureFormatSize(
  * Get the SDL pixel format corresponding to a GPU texture format.
  *
  * \param format a texture format.
- * \returns the corresponding pixel format, or SDL_PIXELFORMAT_UNKNOWN if there is no corresponding pixel format.
+ * \returns the corresponding pixel format, or SDL_PIXELFORMAT_UNKNOWN if
+ *          there is no corresponding pixel format.
  *
  * \since This function is available since SDL 3.4.0.
  */
@@ -4443,7 +4444,9 @@ extern SDL_DECLSPEC SDL_PixelFormat SDLCALL SDL_GetPixelFormatFromGPUTextureForm
  * Get the GPU texture format corresponding to an SDL pixel format.
  *
  * \param format a pixel format.
- * \returns the corresponding GPU texture format, or SDL_GPU_TEXTUREFORMAT_INVALID if there is no corresponding GPU texture format.
+ * \returns the corresponding GPU texture format, or
+ *          SDL_GPU_TEXTUREFORMAT_INVALID if there is no corresponding GPU
+ *          texture format.
  *
  * \since This function is available since SDL 3.4.0.
  */