wined3d: Use wined3d_cs_finish() in wined3d_view_gl_destroy().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2021-03-11 13:54:29 +01:00 committed by Alexandre Julliard
parent a5154c00f8
commit b28962ddb0
1 changed files with 1 additions and 1 deletions

View File

@ -4807,7 +4807,7 @@ static void wined3d_view_gl_destroy(struct wined3d_device *device,
wined3d_cs_destroy_object(device->cs, wined3d_view_gl_destroy_object, ctx); wined3d_cs_destroy_object(device->cs, wined3d_view_gl_destroy_object, ctx);
if (ctx == &c) if (ctx == &c)
device->cs->c.ops->finish(&device->cs->c, WINED3D_CS_QUEUE_DEFAULT); wined3d_cs_finish(device->cs, WINED3D_CS_QUEUE_DEFAULT);
} }
static void adapter_gl_destroy_rendertarget_view(struct wined3d_rendertarget_view *view) static void adapter_gl_destroy_rendertarget_view(struct wined3d_rendertarget_view *view)