wined3d: Improve ERR() message in shader_glsl_get_sample_function().

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-03-10 07:41:47 +01:00 committed by Alexandre Julliard
parent e09aa6fc94
commit 4c355b1eb5
1 changed files with 1 additions and 1 deletions

View File

@ -2743,7 +2743,7 @@ static void shader_glsl_get_sample_function(const struct wined3d_shader_context
{ {
static const DWORD texel_fetch_flags = WINED3D_GLSL_SAMPLE_LOAD | WINED3D_GLSL_SAMPLE_OFFSET; static const DWORD texel_fetch_flags = WINED3D_GLSL_SAMPLE_LOAD | WINED3D_GLSL_SAMPLE_OFFSET;
if (flags & ~texel_fetch_flags) if (flags & ~texel_fetch_flags)
ERR("Unexpected flags for texelFetch %#x.\n", flags & ~texel_fetch_flags); ERR("Unexpected flags %#x for texelFetch.\n", flags & ~texel_fetch_flags);
base = "texelFetch"; base = "texelFetch";
type_part = ""; type_part = "";