d3d1x: flush the pipe context when presenting

This commit is contained in:
Luca Barbieri 2010-09-23 16:02:58 +02:00
parent 9a97b9af68
commit 681f87e09b

View file

@ -1139,6 +1139,8 @@ struct GalliumDXGISwapChain : public GalliumDXGIObject<IDXGISwapChain, GalliumDX
if(dst_surface)
pipe->screen->tex_surface_destroy(dst_surface);
pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE | PIPE_FLUSH_FRAME);
if(db)
{
if(!surface->swap_buffers(surface))