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:
parent
e09aa6fc94
commit
4c355b1eb5
|
@ -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 = "";
|
||||||
|
|
Loading…
Reference in New Issue