gsdx linux: add the missing gui option for unscale point/line primitive

This commit is contained in:
Gregory Hainaut 2016-09-23 19:11:23 +02:00
parent 5e1064da55
commit d1e07295e7
1 changed files with 3 additions and 1 deletions

View File

@ -355,6 +355,7 @@ void populate_hack_table(GtkWidget* hack_table)
GtkWidget* hack_fast_inv = CreateCheckBox("Fast Texture Invalidation", "UserHacks_DisablePartialInvalidation");
GtkWidget* hack_depth_check = CreateCheckBox("Disable Depth Emulation", "UserHacks_DisableDepthSupport");
GtkWidget* hack_auto_flush = CreateCheckBox("Auto Flush Primitives", "UserHacks_AutoFlush");
GtkWidget* hack_unscale_prim = CreateCheckBox("Unscale Point&Line Primitives", "UserHacks_unscale_point_line");
GtkWidget* hack_sprite_box = CreateComboBoxFromVector(theApp.m_gs_hack, "UserHacks_SpriteHack");
GtkWidget* hack_sprite_label = left_label("Alpha-Sprite Hack:");
@ -375,12 +376,13 @@ void populate_hack_table(GtkWidget* hack_table)
AddTooltip(hack_fast_inv, IDC_FAST_TC_INV);
AddTooltip(hack_depth_check, IDC_TC_DEPTH);
AddTooltip(hack_auto_flush, IDC_AUTO_FLUSH);
AddTooltip(hack_unscale_prim, IDC_UNSCALE_POINT_LINE);
s_table_line = 0;
InsertWidgetInTable(hack_table , hack_wild_check , align_sprite_check);
InsertWidgetInTable(hack_table , hack_offset_check , preload_gs_check);
InsertWidgetInTable(hack_table , hack_fast_inv);
InsertWidgetInTable(hack_table , hack_unscale_prim , hack_fast_inv);
InsertWidgetInTable(hack_table , hack_depth_check , hack_auto_flush);
InsertWidgetInTable(hack_table , hack_sprite_label , hack_sprite_box );
InsertWidgetInTable(hack_table , stretch_hack_label , stretch_hack_box );