Просмотр исходного кода

[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 лет назад
Родитель
Сommit
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">

Загрузка…
Отмена
Сохранить