Browse Source

Complete migration to SDL 2.0.18

pull/3656/head
Anders Jenbo 4 years ago
parent
commit
d3aab8376a
  1. 4
      3rdParty/SDL2/CMakeLists.txt
  2. 6
      android-project/app/src/main/AndroidManifest.xml

4
3rdParty/SDL2/CMakeLists.txt vendored

@ -14,8 +14,8 @@ endif()
include(FetchContent_MakeAvailableExcludeFromAll)
include(FetchContent)
FetchContent_Declare(SDL2
URL https://github.com/libsdl-org/SDL/archive/2e9821423a237a1206e3c09020778faacfe430be.tar.gz
URL_HASH MD5=5311423cceaea04fa1e00ae21050b012
URL https://github.com/libsdl-org/SDL/archive/refs/tags/release-2.0.18.tar.gz
URL_HASH MD5=647e2890385e5f13b9aeee2e27fa26e7
)
FetchContent_MakeAvailableExcludeFromAll(SDL2)

6
android-project/app/src/main/AndroidManifest.xml

@ -30,7 +30,10 @@
<!-- Required for downloading shareware data on older devices -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="22" />
<!-- Allow access to Bluetooth devices -->
<uses-permission android:name="android.permission.BLUETOOTH" />
<!-- Currently this is just for Steam Controller support and requires setting SDL_HINT_JOYSTICK_HIDAPI_STEAM -->
<!-- <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" /> -->
<!-- <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> -->
<!-- Allow access to the vibrator -->
<uses-permission android:name="android.permission.VIBRATE" />
<!-- Allow access to the network for multiplayer and demo download -->
@ -53,6 +56,7 @@
android:alwaysRetainTaskState="true"
android:launchMode="singleInstance"
android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
android:preferMinimalPostProcessing="true"
android:screenOrientation="landscape"
>
<intent-filter>

Loading…
Cancel
Save