Revert "make screen filtering work with Qt rendering, too"

fuck everything
This commit is contained in:
Arisotura 2024-05-26 01:00:11 +02:00
parent eca52bcca2
commit a203d06c24
2 changed files with 1 additions and 2 deletions

View File

@ -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));

View File

@ -761,6 +761,7 @@ void MainWindow::createScreenPanel()
}
setCentralWidget(panel);
actScreenFiltering->setEnabled(hasOGL);
panel->osdSetEnabled(showOSD);
connect(this, SIGNAL(screenLayoutChange()), panel, SLOT(onScreenLayoutChanged()));