kwin: Check for an empty quad list in beginRenderWindow()
BUG: 320845
This commit is contained in:
parent
b7423a45cd
commit
4a95f7f1f1
1 changed files with 3 additions and 0 deletions
|
@ -1062,6 +1062,9 @@ bool SceneOpenGL::Window::beginRenderWindow(int mask, const QRegion ®ion, Win
|
||||||
data.quads = quads;
|
data.quads = quads;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (data.quads.isEmpty())
|
||||||
|
return false;
|
||||||
|
|
||||||
if (!bindTexture() || !s_frameTexture) {
|
if (!bindTexture() || !s_frameTexture) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue