• Show log

    Commit

  • Hash : e9134b04
    Author : Cameron Gutman
    Date : 2022-01-06T19:38:10

    events: Only add sentinels for pumping done inside SDL_WaitEventTimeout()
    
    We don't want to catch explicit SDL_PumpEvents() calls by the application with
    our polling check to avoid stale data. If the call to SDL_PumpEvents() produced
    no events, there will be a sentinel sitting in the queue that will cause
    SDL_PollEvent() to immediately return 0 next time it is called.
    
    Our SDL_WaitEventTimeout() implementation avoids this issue by always popping
    an event after calling SDL_PumpEvents(). This will remove the new sentinel if
    we didn't get any new events.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w thodg_l www_kmx_io thodg
    Tags