Browse Source

Fix GetEventState

gingerBill 3 năm trước cách đây
mục cha
commit
776b48c10d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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_")