|
|
|
|
@ -2063,7 +2063,7 @@ void SceneOpenGL::EffectFrame::updateUnstyledTexture() |
|
|
|
|
delete m_unstyledPixmap; |
|
|
|
|
m_unstyledPixmap = nullptr; |
|
|
|
|
// Based off circle() from kwinxrenderutils.cpp
|
|
|
|
|
#define CS 8 |
|
|
|
|
const int CS = 8; |
|
|
|
|
m_unstyledPixmap = new QPixmap(2 * CS, 2 * CS); |
|
|
|
|
m_unstyledPixmap->fill(Qt::transparent); |
|
|
|
|
QPainter p(m_unstyledPixmap); |
|
|
|
|
@ -2072,7 +2072,6 @@ void SceneOpenGL::EffectFrame::updateUnstyledTexture() |
|
|
|
|
p.setBrush(Qt::black); |
|
|
|
|
p.drawEllipse(m_unstyledPixmap->rect()); |
|
|
|
|
p.end(); |
|
|
|
|
#undef CS |
|
|
|
|
m_unstyledTexture = new GLTexture(*m_unstyledPixmap); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|