Commit 8009a494 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Flush after surface updates.

This is similar to 5d1d07ab. We need to flush to ensure resource updates are visible in other contexts, since otherwise GL doesn't make any ordering guarantees between contexts.
parent b741cd02
......@@ -2436,6 +2436,9 @@ void surface_upload_data(const struct wined3d_surface *surface, const struct win
LEAVE_GL();
if (wined3d_settings.strict_draw_ordering)
wglFlush();
if (gl_info->quirks & WINED3D_QUIRK_FBO_TEX_UPDATE)
{
struct wined3d_device *device = surface->resource.device;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment