Re: WineD3D: flush gl buffers are blt to drawable [attempt2]
Nov. 8, 2007
10:51 p.m.
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.
6713
Age (days ago)
6713
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Dösinger