summaryrefslogtreecommitdiff
path: root/Source/Android
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2015-09-09 21:20:46 +0200
committerdegasus <wickmarkus@web.de>2015-09-09 21:31:54 +0200
commit74b20e627ca524366b0a4fa617d59014cd2c967c (patch)
tree86434f2a52b7c69edc8f50cf63f50436e25eadc2 /Source/Android
parent38d05cd70f858c7c86e6ed2aab9bd0258157f1d0 (diff)
VideoCommon: Drop "Disable destAlpha" hack
This option has no use any more, neither performance nor driver workaround.
Diffstat (limited to 'Source/Android')
-rw-r--r--Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/UserPreferences.java5
-rw-r--r--Source/Android/app/src/main/res/xml/preferences.xml8
2 files changed, 1 insertions, 12 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/UserPreferences.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/UserPreferences.java
index 59573132a4..8fe609beb1 100644
--- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/UserPreferences.java
+++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/UserPreferences.java
@@ -110,7 +110,6 @@ public final class UserPreferences
editor.putString("externalFrameBuffer", "Real");
}
- editor.putBoolean("disableDestinationAlpha", getConfig("gfx_opengl.ini", "Settings", "DstAlphaPass", "False").equals("True"));
editor.putBoolean("fastDepthCalculation", getConfig("gfx_opengl.ini", "Settings", "FastDepthCalc", "True").equals("True"));
editor.putString("aspectRatio", getConfig("gfx_opengl.ini", "Settings", "AspectRatio", "0"));
@@ -166,9 +165,6 @@ public final class UserPreferences
// External frame buffer emulation. Falls back to disabled upon error.
String externalFrameBuffer = prefs.getString("externalFrameBuffer", "Disabled");
- // Whether or not to disable destination alpha.
- boolean disableDstAlphaPass = prefs.getBoolean("disableDestinationAlpha", false);
-
// Whether or not to use fast depth calculation.
boolean useFastDepthCalc = prefs.getBoolean("fastDepthCalculation", true);
@@ -275,7 +271,6 @@ public final class UserPreferences
NativeLibrary.SetConfig("gfx_opengl.ini", "Settings", "UseRealXFB", "True");
}
- NativeLibrary.SetConfig("gfx_opengl.ini", "Settings", "DstAlphaPass", disableDstAlphaPass ? "True" : "False");
NativeLibrary.SetConfig("gfx_opengl.ini", "Settings", "FastDepthCalc", useFastDepthCalc ? "True" : "False");
//-- Enhancement Settings --//
diff --git a/Source/Android/app/src/main/res/xml/preferences.xml b/Source/Android/app/src/main/res/xml/preferences.xml
index 878689c2a8..31eddd09d4 100644
--- a/Source/Android/app/src/main/res/xml/preferences.xml
+++ b/Source/Android/app/src/main/res/xml/preferences.xml
@@ -1031,12 +1031,6 @@
<PreferenceCategory android:title="@string/other">
<CheckBoxPreference
- android:defaultValue="false"
- android:key="disableDestinationAlpha"
- android:summary="@string/disable_destination_alpha_descrip"
- android:title="@string/disable_destination_alpha"/>
-
- <CheckBoxPreference
android:defaultValue="true"
android:key="fastDepthCalculation"
android:summary="@string/fast_depth_calculation_descrip"
@@ -1066,4 +1060,4 @@
</PreferenceCategory>
<!-- TODO Add the About information here too. -->
-</PreferenceScreen> \ No newline at end of file
+</PreferenceScreen>