浏览代码

Updated window event names

Sam Lantinga 1 年之前
父节点
当前提交
606903c02f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/SDL3/SDL_events.h

+ 1 - 1
include/SDL3/SDL_events.h

@@ -273,7 +273,7 @@ typedef struct SDL_DisplayEvent
  */
  */
 typedef struct SDL_WindowEvent
 typedef struct SDL_WindowEvent
 {
 {
-    SDL_EventType type; /**< SDL_WINDOWEVENT_* */
+    SDL_EventType type; /**< SDL_EVENT_WINDOW_* */
     Uint32 reserved;
     Uint32 reserved;
     Uint64 timestamp;   /**< In nanoseconds, populated using SDL_GetTicksNS() */
     Uint64 timestamp;   /**< In nanoseconds, populated using SDL_GetTicksNS() */
     SDL_WindowID windowID; /**< The associated window */
     SDL_WindowID windowID; /**< The associated window */