• Show log

    Commit

  • Hash : 43aad966
    Author : Sam Lantinga
    Date : 2020-12-08T19:03:50

    Fixed bug 5222 - Crash when running with -DHIDAPI=ON
    
    Mathieu Eyraud
    
    SDL dynamically loads libusb but does not check the return value of 'SDL_LoadFunction'.
    
    Also libusb is loaded and initialized several time because 'SDL_hidapi_wasinit' is never set to true.
    
    I made a patch if you want to test:
      - check that 'hid_init' is called once and only once,
      - check return value of 'hid_init',
      - check return value of 'SDL_LoadFunction',
      - check return value of 'SDL_malloc',
      - add some debug logging.
    

  • 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

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    https://www.libsdl.org/
    
    Simple DirectMedia Layer is a cross-platform development library designed
    to provide low level access to audio, keyboard, mouse, joystick, and graphics
    hardware via OpenGL and Direct3D. It is used by video playback software,
    emulators, and popular games including Valve's award winning catalog
    and many Humble Bundle games.
    
    More extensive documentation is available in the docs directory, starting
    with README.md
    
    Enjoy!
    	Sam Lantinga				(slouken@libsdl.org)