Browse Source

SDL_GetPixelFormatName() returns a string

Sam Lantinga 1 year ago
parent
commit
282cf286fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL3/SDL_pixels.h

+ 1 - 1
include/SDL3/SDL_pixels.h

@@ -764,7 +764,7 @@ typedef struct SDL_PixelFormatDetails
  *
  *
  * \param format the pixel format to query.
  * \param format the pixel format to query.
  * \returns the human readable name of the specified pixel format or
  * \returns the human readable name of the specified pixel format or
- *          `SDL_PIXELFORMAT_UNKNOWN` if the format isn't recognized.
+ *          "SDL_PIXELFORMAT_UNKNOWN" if the format isn't recognized.
  *
  *
  * \threadsafety It is safe to call this function from any thread.
  * \threadsafety It is safe to call this function from any thread.
  *
  *