diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-11-20 00:48:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-20 00:48:16 +0100 |
| commit | a4c057b315dcbcd1fdbc3fbdf3fdcc46c448b699 (patch) | |
| tree | d7c9066881d17d78072a428d02c775328befaeaa /Source/Core | |
| parent | 88bfbda157a16f92bda12db274676c4aeb336e61 (diff) | |
| parent | 5dc3ecdb7244ebecee0b31057774ec5c519af72d (diff) | |
Merge pull request #6212 from ligfx/qtimmediatexfb
Qt: show "Immediately present XFB" option
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/Graphics/HacksWidget.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/HacksWidget.cpp b/Source/Core/DolphinQt2/Config/Graphics/HacksWidget.cpp index 59bad9e3e6..22d76bb13e 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/HacksWidget.cpp +++ b/Source/Core/DolphinQt2/Config/Graphics/HacksWidget.cpp @@ -64,14 +64,15 @@ void HacksWidget::CreateWidgets() // XFB auto* xfb_box = new QGroupBox(tr("External Frame Buffer (XFB)")); - auto* xfb_layout = new QGridLayout(); + auto* xfb_layout = new QVBoxLayout(); xfb_box->setLayout(xfb_layout); m_store_xfb_copies = new GraphicsBool(tr("Store XFB Copies to Texture Only"), Config::GFX_HACK_SKIP_XFB_COPY_TO_RAM); m_immediate_xfb = new GraphicsBool(tr("Immediately Present XFB"), Config::GFX_HACK_IMMEDIATE_XFB); - xfb_layout->addWidget(m_store_xfb_copies, 1, 0); + xfb_layout->addWidget(m_store_xfb_copies); + xfb_layout->addWidget(m_immediate_xfb); // Other auto* other_box = new QGroupBox(tr("Other")); |
