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:
parent
a5154c00f8
commit
b28962ddb0
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue