Преглед изворни кода

[Android] Require OpenGL ES 2.0

This was already an implicit requirement, as it's the only version implemented
in libwebrtc.

The reason to add this is to (defensively) try to filter old devices which may
not implement it.

WebRTC's own Android demo app defines this.
master
Saúl Ibarra Corretgé пре 8 година
родитељ
комит
4efbbe14b1
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3
    0
      android/sdk/src/main/AndroidManifest.xml

+ 3
- 0
android/sdk/src/main/AndroidManifest.xml Прегледај датотеку

@@ -12,6 +12,9 @@
12 12
     <uses-feature android:name="android.hardware.camera" />
13 13
     <uses-feature android:name="android.hardware.camera.autofocus"/>
14 14
 
15
+    <!-- Tell the system this app requires OpenGL ES 2.0. -->
16
+    <uses-feature android:glEsVersion="0x00020000" android:required="true" />
17
+
15 18
     <application android:allowBackup="true"
16 19
                  android:label="@string/app_name"
17 20
                  android:supportsRtl="true">

Loading…
Откажи
Сачувај