Преглед изворни кода

Updated comment for event type in SDL_DisplayEvent

Petar Popovic пре 5 месеци
родитељ
комит
79dae1b9d6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      include/SDL3/SDL_events.h

+ 1 - 1
include/SDL3/SDL_events.h

@@ -307,7 +307,7 @@ typedef struct SDL_CommonEvent
  */
  */
 typedef struct SDL_DisplayEvent
 typedef struct SDL_DisplayEvent
 {
 {
-    SDL_EventType type; /**< SDL_DISPLAYEVENT_* */
+    SDL_EventType type; /**< SDL_EVENT_DISPLAY_* */
     Uint32 reserved;
     Uint32 reserved;
     Uint64 timestamp;   /**< In nanoseconds, populated using SDL_GetTicksNS() */
     Uint64 timestamp;   /**< In nanoseconds, populated using SDL_GetTicksNS() */
     SDL_DisplayID displayID;/**< The associated display */
     SDL_DisplayID displayID;/**< The associated display */