Am Donnerstag, 8. November 2007 23:40:18 schrieb Roderick Colenbrander:
Hi,
This patch makes sure the gl buffer is flushed after blitting to the screen. This fixes bug 9826 where traces of old frames appeared due to this.
You really shouldn't do this unconditionally, it is only needed if two contexts are drawing to the same drawable. A suggestion would be to mark the first use of a 2nd thread in a device in FindContext, and call the glFlush only if happened.
The same glFlush is needed in all other places that draw something to the drawable: drawprim, clear and BltOverride come to my mind.