Commit 3821dcf9 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Only warn about 0 compare functions in wined3d_gl_compare_func().

parent 5be4a0e3
...@@ -301,7 +301,10 @@ GLenum wined3d_gl_compare_func(enum wined3d_cmp_func f) ...@@ -301,7 +301,10 @@ GLenum wined3d_gl_compare_func(enum wined3d_cmp_func f)
case WINED3D_CMP_ALWAYS: case WINED3D_CMP_ALWAYS:
return GL_ALWAYS; return GL_ALWAYS;
default: default:
FIXME("Unrecognized compare function %#x.\n", f); if (!f)
WARN("Unrecognized compare function %#x.\n", f);
else
FIXME("Unrecognized compare function %#x.\n", f);
return GL_NONE; return GL_NONE;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment