gsdx-linux: remove alpha hack from the GUI

Normally you don't need it anymore on OpenGL :)

You can still use this option from the ini file for debug purpose
This commit is contained in:
Gregory Hainaut 2015-07-03 21:24:17 +02:00
parent abec4bd760
commit 82ed6eac13
1 changed files with 1 additions and 4 deletions

View File

@ -396,7 +396,6 @@ void populate_shader_table(GtkWidget* shader_table)
void populate_hack_table(GtkWidget* hack_table)
{
GtkWidget* hack_alpha_check = CreateCheckBox("Alpha Hack", "UserHacks_AlphaHack");
GtkWidget* hack_offset_check = CreateCheckBox("Offset Hack", "UserHacks_HalfPixelOffset");
GtkWidget* hack_skipdraw_label = gtk_label_new("Skipdraw:");
GtkWidget* hack_skipdraw_spin = CreateSpinButton(0, 1000, "UserHacks_SkipDraw");
@ -413,7 +412,6 @@ void populate_hack_table(GtkWidget* hack_table)
GtkWidget* stretch_hack_label = gtk_label_new("Align Sprite Texture:");
// Reuse windows helper string :)
gtk_widget_set_tooltip_text(hack_alpha_check, dialog_message(IDC_ALPHAHACK));
gtk_widget_set_tooltip_text(hack_offset_check, dialog_message(IDC_TCOFFSETX));
gtk_widget_set_tooltip_text(hack_skipdraw_label, dialog_message(IDC_SKIPDRAWHACK));
gtk_widget_set_tooltip_text(hack_skipdraw_spin, dialog_message(IDC_SKIPDRAWHACK));
@ -431,8 +429,7 @@ void populate_hack_table(GtkWidget* hack_table)
s_table_line = 0;
InsertWidgetInTable(hack_table , hack_enble_check);
InsertWidgetInTable(hack_table , hack_alpha_check , hack_offset_check);
InsertWidgetInTable(hack_table , hack_logz_check);
InsertWidgetInTable(hack_table , hack_logz_check , hack_offset_check);
InsertWidgetInTable(hack_table , hack_wild_check , align_sprite_check);
InsertWidgetInTable(hack_table , hack_sprite_label , hack_sprite_box );
InsertWidgetInTable(hack_table , stretch_hack_label , stretch_hack_box );