瀏覽代碼

Fix GetEventState

gingerBill 3 年之前
父節點
當前提交
776b48c10d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vendor/sdl2/sdl_events.odin

+ 1 - 1
vendor/sdl2/sdl_events.odin

@@ -477,7 +477,7 @@ DISABLE ::  0
 ENABLE  ::  1
 
 
-GetEventState :: #force_inline proc "c" (type: EventType) -> u8 { return EventState(type, QUERY) }
+GetEventState :: #force_inline proc "c" (type: EventType) -> b8 { return EventState(type, QUERY) }
 
 
 @(default_calling_convention="c", link_prefix="SDL_")