[effects] Fix loading of trackmouse effect textures
Logic error preventing the textures from loading. REVIEW: 123862
This commit is contained in:
parent
eb789e43e3
commit
00dd1ad0fa
1 changed files with 2 additions and 2 deletions
|
@ -203,9 +203,9 @@ bool TrackMouseEffect::init()
|
|||
{
|
||||
effects->makeOpenGLContextCurrent();
|
||||
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
|
||||
if (!(m_texture[0] || m_picture[0] || m_image[0].isNull())) {
|
||||
if (!(m_texture[0] || m_picture[0] || !m_image[0].isNull())) {
|
||||
loadTexture();
|
||||
if (!(m_texture[0] || m_picture[0] || m_image[0].isNull()))
|
||||
if (!(m_texture[0] || m_picture[0] || !m_image[0].isNull()))
|
||||
return false;
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue