Prevent ::flush from being called on QGLWindowSurface if no painting happened.
authorMichael Dominic K <mdk@codethink.co.uk>
Tue, 14 Dec 2010 09:26:39 +0000 (10:26 +0100)
committerHarald Fernengel <harald.fernengel@nokia.com>
Tue, 14 Dec 2010 09:26:48 +0000 (10:26 +0100)
commit284211ccbd2cbdfea46cdf4b8628a1a967271985
treec8f004496edf6e2cc97675295f8e7236d2f508f9
parent00cd44c1976fb25f419e487bd6e626c5d2520727
Prevent ::flush from being called on QGLWindowSurface if no painting happened.

Merge-request: 2527
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
Reviewed-by: Samuel Rødal
src/opengl/qwindowsurface_gl.cpp