wined3d: Flush after surface updates.
This is similar to 5d1d07abcf
. We need to flush
to ensure resource updates are visible in other contexts, since otherwise GL
doesn't make any ordering guarantees between contexts.
This commit is contained in:
parent
b741cd02c3
commit
8009a4947b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue