wined3d: Do not call wined3d_from_cs() in shader_resource_view_generate_mipmaps().
The context_acquire() function does that. Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
198340ff67
commit
0879b1730e
|
@ -833,8 +833,6 @@ void shader_resource_view_generate_mipmaps(struct wined3d_shader_resource_view *
|
|||
|
||||
TRACE("view %p.\n", view);
|
||||
|
||||
wined3d_from_cs(view->resource->device->cs);
|
||||
|
||||
context = context_acquire(view->resource->device, NULL, 0);
|
||||
gl_info = context->gl_info;
|
||||
layer_count = view->desc.u.texture.layer_count;
|
||||
|
|
Loading…
Reference in New Issue