Józef Kucia : wined3d: Get rid of redundant WARN() from context_load_shader_resources().
Module: wine Branch: master Commit: 470767ef4aa227e905d3f3835ec17bce79d96063 URL: http://source.winehq.org/git/wine.git/?a=commit;h=470767ef4aa227e905d3f3835e... Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Wed Mar 15 12:00:05 2017 +0100 wined3d: Get rid of redundant WARN() from context_load_shader_resources(). The context_bind_shader_resources() function prints the same warning message. Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/context.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index f625329..8029de0 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -3380,10 +3380,7 @@ static void context_load_shader_resources(struct wined3d_context *context, const entry = &shader->reg_maps.sampler_map.entries[j]; if (!(view = state->shader_resource_view[i][entry->resource_idx])) - { - WARN("No resource view bound at index %u, %u.\n", i, entry->resource_idx); continue; - } if (view->resource->type == WINED3D_RTYPE_BUFFER) wined3d_buffer_load(buffer_from_resource(view->resource), context, state);
participants (1)
-
Alexandre Julliard