Parcourir la source

Fixed a typo in the name of the method in the documentation for SDL_GetDisplayProperties

Eduard Gushchin il y a 9 mois
Parent
commit
24bb95f60c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      include/SDL3/SDL_video.h

+ 1 - 1
include/SDL3/SDL_video.h

@@ -429,7 +429,7 @@ extern SDL_DECLSPEC SDL_DisplayID SDLCALL SDL_GetPrimaryDisplay(void);
  *
  * On KMS/DRM:
  *
- * - `SDL_PROP_DISPLAY_KMSDRM_ORIENTATION_NUMBER`: the "panel orientation"
+ * - `SDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER`: the "panel orientation"
  *   property for the display in degrees of clockwise rotation. Note that this
  *   is provided only as a hint, and the application is responsible for any
  *   coordinate transformations needed to conform to the requested display