mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
Revert "make screen filtering work with Qt rendering, too"
fuck everything
This commit is contained in:
@ -668,8 +668,6 @@ void ScreenPanelNative::paintEvent(QPaintEvent* event)
|
|||||||
{
|
{
|
||||||
QPainter painter(this);
|
QPainter painter(this);
|
||||||
|
|
||||||
painter.setRenderHint(QPainter::SmoothPixmapTransform, filter);
|
|
||||||
|
|
||||||
// fill background
|
// fill background
|
||||||
painter.fillRect(event->rect(), QColor::fromRgb(0, 0, 0));
|
painter.fillRect(event->rect(), QColor::fromRgb(0, 0, 0));
|
||||||
|
|
||||||
|
@ -761,6 +761,7 @@ void MainWindow::createScreenPanel()
|
|||||||
}
|
}
|
||||||
setCentralWidget(panel);
|
setCentralWidget(panel);
|
||||||
|
|
||||||
|
actScreenFiltering->setEnabled(hasOGL);
|
||||||
panel->osdSetEnabled(showOSD);
|
panel->osdSetEnabled(showOSD);
|
||||||
|
|
||||||
connect(this, SIGNAL(screenLayoutChange()), panel, SLOT(onScreenLayoutChanged()));
|
connect(this, SIGNAL(screenLayoutChange()), panel, SLOT(onScreenLayoutChanged()));
|
||||||
|
Reference in New Issue
Block a user