Qt: Add "Use Debug Device" to GPU settings

This commit is contained in:
Connor McLaughlin 2020-02-02 00:22:14 +10:00
parent 96be414e3e
commit 899a8e0f03
2 changed files with 13 additions and 5 deletions

View file

@ -19,6 +19,7 @@ GPUSettingsWidget::GPUSettingsWidget(QtHostInterface* host_interface, QWidget* p
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.trueColor, "GPU/TrueColor"); SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.trueColor, "GPU/TrueColor");
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.linearTextureFiltering, "GPU/TextureFiltering"); SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.linearTextureFiltering, "GPU/TextureFiltering");
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.forceProgressiveScan, "GPU/ForceProgressiveScan"); SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.forceProgressiveScan, "GPU/ForceProgressiveScan");
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.useDebugDevice, "GPU/UseDebugDevice");
} }
GPUSettingsWidget::~GPUSettingsWidget() = default; GPUSettingsWidget::~GPUSettingsWidget() = default;

View file

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1350</width> <width>448</width>
<height>788</height> <height>307</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -42,10 +42,10 @@
<item row="0" column="1"> <item row="0" column="1">
<widget class="QComboBox" name="renderer"/> <widget class="QComboBox" name="renderer"/>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="fullscreen"> <widget class="QCheckBox" name="useDebugDevice">
<property name="text"> <property name="text">
<string>Fullscreen</string> <string>Use Debug Device</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -63,6 +63,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="fullscreen">
<property name="text">
<string>Fullscreen</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>