mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 17:38:25 +02:00
d3d1x: flush the pipe context when presenting
This commit is contained in:
parent
9a97b9af68
commit
681f87e09b
1 changed files with 2 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue