wined3d: Only warn about 0 blend ops in gl_blend_op().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
af767551fe
commit
6e4e3d8117
|
@ -348,7 +348,10 @@ static GLenum gl_blend_op(const struct wined3d_gl_info *gl_info, enum wined3d_bl
|
|||
case WINED3D_BLEND_OP_MAX:
|
||||
return gl_info->supported[EXT_BLEND_MINMAX] ? GL_MAX : GL_FUNC_ADD;
|
||||
default:
|
||||
FIXME("Unhandled blend op %#x.\n", op);
|
||||
if (!op)
|
||||
WARN("Unhandled blend op %#x.\n", op);
|
||||
else
|
||||
FIXME("Unhandled blend op %#x.\n", op);
|
||||
return GL_FUNC_ADD;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue