瀏覽代碼

[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…
取消
儲存