[PATCH 2/5] wined3d: Get rid of redundant WARN() from context_load_shader_resources().
Józef Kucia
jkucia at codeweavers.com
Wed Mar 15 06:00:05 CDT 2017
The context_bind_shader_resources() function prints the same warning
message.
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
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);
--
2.10.2
More information about the wine-patches
mailing list