wined3d: glFlush when updating front buffer.
authorAlexander Dorofeyev <alexd4@inbox.lv>
Sun, 11 May 2008 22:44:08 +0000 (01:44 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 12 May 2008 11:27:40 +0000 (13:27 +0200)
commite1c60caa42a028f5a13c1dacbb2003ab0bb7fd13
tree3f75003e50ae9fdc308d7a3fce4c821687bcef24
parent30c0639b5a2623072e0b93932d196f37976951b8
wined3d: glFlush when updating front buffer.

Fixes screen not updating or getting updated inconsistently when apps blit to
front buffer or lock it when RenderTargetLockMode=readtex, as happens in e.g.
Red Alert 2 and also in p8_primary_test in ddraw tests.
dlls/wined3d/surface.c