• Show log

    Commit

  • Hash : 59df6d6b
    Author : Sylvain Becker
    Date : 2019-01-07T17:06:50

    Android: don't allow multiple instance of SDLActivity
    
    Default launch mode (standard) allows multiple instances of the SDLActivity.
    ( https://developer.android.com/guide/topics/manifest/activity-element#lmode )
    
    Not sure this is intended in SDL as this doesn't work. There are static
     variables in Java, in C code which make this impossible (allow one android_window) and
     also Audio print errors.
    
    There is also some code added in onDestroy as if it would be able to
    re-initialize: https://hg.libsdl.org/SDL/rev/27686adb08c3
    
    Bug Android activity life-cycle seems to show there is not transition to get out
    of onDestroy()
    https://developer.android.com/reference/android/app/Activity#ActivityLifecycle
    
    ( can be tested with "adb shell am start  my.package.org/.MainActivity"
      and "adb shell am start -n  my.package.org/.MainActivity" )
    
    Send me a message if there are real use-case for this !
    

  • 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)