Merge pull request #6212 from ligfx/qtimmediatexfb

Qt: show "Immediately present XFB" option
This commit is contained in:
Leo Lam 2017-11-20 00:48:16 +01:00 committed by GitHub
commit a4c057b315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -64,14 +64,15 @@ void HacksWidget::CreateWidgets()
// XFB // XFB
auto* xfb_box = new QGroupBox(tr("External Frame Buffer (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); xfb_box->setLayout(xfb_layout);
m_store_xfb_copies = new GraphicsBool(tr("Store XFB Copies to Texture Only"), m_store_xfb_copies = new GraphicsBool(tr("Store XFB Copies to Texture Only"),
Config::GFX_HACK_SKIP_XFB_COPY_TO_RAM); Config::GFX_HACK_SKIP_XFB_COPY_TO_RAM);
m_immediate_xfb = new GraphicsBool(tr("Immediately Present XFB"), Config::GFX_HACK_IMMEDIATE_XFB); 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 // Other
auto* other_box = new QGroupBox(tr("Other")); auto* other_box = new QGroupBox(tr("Other"));