wined3d: Only warn about 0 stencil ops in gl_stencil_op().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ec248a9e38
commit
0597842218
|
@ -827,7 +827,10 @@ static GLenum gl_stencil_op(enum wined3d_stencil_op op)
|
||||||
case WINED3D_STENCIL_OP_DECR:
|
case WINED3D_STENCIL_OP_DECR:
|
||||||
return GL_DECR_WRAP;
|
return GL_DECR_WRAP;
|
||||||
default:
|
default:
|
||||||
FIXME("Unrecognized stencil op %#x.\n", op);
|
if (!op)
|
||||||
|
WARN("Unrecognized stencil op %#x.\n", op);
|
||||||
|
else
|
||||||
|
FIXME("Unrecognized stencil op %#x.\n", op);
|
||||||
return GL_KEEP;
|
return GL_KEEP;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue