mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-17 12:58:55 +02:00
VideoCommon: Drop "Disable destAlpha" hack
This option has no use any more, neither performance nor driver workaround.
This commit is contained in:
@ -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 --//
|
||||
|
@ -1030,12 +1030,6 @@
|
||||
<!-- Other Hacks -->
|
||||
<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"
|
||||
@ -1066,4 +1060,4 @@
|
||||
</PreferenceCategory>
|
||||
|
||||
<!-- TODO Add the About information here too. -->
|
||||
</PreferenceScreen>
|
||||
</PreferenceScreen>
|
||||
|
Reference in New Issue
Block a user