Merge branch 'Plasma/5.18' into Plasma/5.19

This commit is contained in:
Vlad Zahorodnii 2020-06-17 18:07:12 +03:00
commit cff2070ab2

View file

@ -492,7 +492,7 @@ bool EglTexture::loadTexture(WindowPixmap *pixmap)
return true;
}
// did not succeed, try on X11
return loadTexture(pixmap->pixmap(), pixmap->toplevel()->size());
return loadTexture(pixmap->pixmap(), pixmap->toplevel()->bufferGeometry().size());
}
bool EglTexture::loadTexture(xcb_pixmap_t pix, const QSize &size)