wined3d: Print correct resource type in FIXME() message.

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:
Józef Kucia 2016-04-22 11:18:43 +02:00 committed by Alexandre Julliard
parent 7402e8116c
commit cb66c6390d
1 changed files with 1 additions and 1 deletions

View File

@ -1860,7 +1860,7 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
default:
sampler_type = "unsupported_sampler";
FIXME("Unhandled resource type %#x.\n", reg_maps->resource_info[i].type);
FIXME("Unhandled resource type %#x.\n", reg_maps->resource_info[entry->resource_idx].type);
break;
}
shader_addline(buffer, "uniform %s%s %s_sampler%u;\n",