diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 2f54321546..c0782ffb89 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -1062,6 +1062,9 @@ bool SceneOpenGL::Window::beginRenderWindow(int mask, const QRegion ®ion, Win data.quads = quads; } + if (data.quads.isEmpty()) + return false; + if (!bindTexture() || !s_frameTexture) { return false; }