Remove assert in Compositor::aboutToSwapBuffers()
The purpose of Compositor::aboutToSwapBuffers() is notify the compositor about a pending buffer. It's totally safe to call it multiple times if you have multiple outputs. Ideally, it should also take an AbstractOutput or screen id, but with the introduction of render loops per each output, we won't need Compositor::aboutToSwapBuffers(). So, for the time being, this change drops the annoying assert to make necessary per screen rendering related refactorings easier to perform.
This commit is contained in:
parent
755dd81e49
commit
81abc341d7
1 changed files with 0 additions and 2 deletions
|
@ -576,8 +576,6 @@ void Compositor::timerEvent(QTimerEvent *te)
|
|||
|
||||
void Compositor::aboutToSwapBuffers()
|
||||
{
|
||||
Q_ASSERT(!m_bufferSwapPending);
|
||||
|
||||
m_bufferSwapPending = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue