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:
parent
7402e8116c
commit
cb66c6390d
|
@ -1860,7 +1860,7 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
|
||||||
|
|
||||||
default:
|
default:
|
||||||
sampler_type = "unsupported_sampler";
|
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;
|
break;
|
||||||
}
|
}
|
||||||
shader_addline(buffer, "uniform %s%s %s_sampler%u;\n",
|
shader_addline(buffer, "uniform %s%s %s_sampler%u;\n",
|
||||||
|
|
Loading…
Reference in New Issue