Revert "make screen filtering work with Qt rendering, too"
fuck everything
This commit is contained in:
parent
eca52bcca2
commit
a203d06c24
|
@ -668,8 +668,6 @@ void ScreenPanelNative::paintEvent(QPaintEvent* event)
|
|||
{
|
||||
QPainter painter(this);
|
||||
|
||||
painter.setRenderHint(QPainter::SmoothPixmapTransform, filter);
|
||||
|
||||
// fill background
|
||||
painter.fillRect(event->rect(), QColor::fromRgb(0, 0, 0));
|
||||
|
||||
|
|
|
@ -761,6 +761,7 @@ void MainWindow::createScreenPanel()
|
|||
}
|
||||
setCentralWidget(panel);
|
||||
|
||||
actScreenFiltering->setEnabled(hasOGL);
|
||||
panel->osdSetEnabled(showOSD);
|
||||
|
||||
connect(this, SIGNAL(screenLayoutChange()), panel, SLOT(onScreenLayoutChanged()));
|
||||
|
|
Loading…
Reference in New Issue