Skip to content

Commit

Permalink
[Android] Fixes #2247, enable hardware acceleration by default.
Browse files Browse the repository at this point in the history
Setting android:hardwareAccelerated="true" seems to fix some random behaviors
in certain devices like the XperiaE.

Ref: http://developer.android.com/guide/topics/graphics/hardware-accel.html
  • Loading branch information
gabomdq committed Nov 22, 2013
1 parent a218717 commit 45dbff2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion android-project/AndroidManifest.xml
Expand Up @@ -20,7 +20,8 @@
<application android:label="@string/app_name"
android:icon="@drawable/ic_launcher"
android:allowBackup="true"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:hardwareAccelerated="true" >
<activity android:name="SDLActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation"
Expand Down

0 comments on commit 45dbff2

Please sign in to comment.