diff --git a/hw/xbox/nv2a/pgraph/gl/constants.h b/hw/xbox/nv2a/pgraph/gl/constants.h index d78b0054e3..cb789efebd 100644 --- a/hw/xbox/nv2a/pgraph/gl/constants.h +++ b/hw/xbox/nv2a/pgraph/gl/constants.h @@ -79,8 +79,8 @@ static const GLenum pgraph_blend_equation_gl_map[] = { GL_FUNC_ADD, GL_MIN, GL_MAX, - GL_FUNC_REVERSE_SUBTRACT, GL_FUNC_ADD, + GL_FUNC_REVERSE_SUBTRACT, }; /* FIXME diff --git a/hw/xbox/nv2a/pgraph/pgraph.c b/hw/xbox/nv2a/pgraph/pgraph.c index 7a86fa862e..9db475796e 100644 --- a/hw/xbox/nv2a/pgraph/pgraph.c +++ b/hw/xbox/nv2a/pgraph/pgraph.c @@ -1384,9 +1384,9 @@ DEF_METHOD(NV097, SET_BLEND_EQUATION) equation = 3; break; case NV097_SET_BLEND_EQUATION_V_MAX: equation = 4; break; - case NV097_SET_BLEND_EQUATION_V_FUNC_ADD_SIGNED: - equation = 5; break; case NV097_SET_BLEND_EQUATION_V_FUNC_REVERSE_SUBTRACT_SIGNED: + equation = 5; break; + case NV097_SET_BLEND_EQUATION_V_FUNC_ADD_SIGNED: equation = 6; break; default: NV2A_DPRINTF("Unknown blend equation: 0x%08x\n", parameter); diff --git a/hw/xbox/nv2a/pgraph/vk/constants.h b/hw/xbox/nv2a/pgraph/vk/constants.h index eb7e97dbc0..f86f48cb5c 100644 --- a/hw/xbox/nv2a/pgraph/vk/constants.h +++ b/hw/xbox/nv2a/pgraph/vk/constants.h @@ -77,8 +77,8 @@ static const VkBlendOp pgraph_blend_equation_vk_map[] = { VK_BLEND_OP_ADD, VK_BLEND_OP_MIN, VK_BLEND_OP_MAX, - VK_BLEND_OP_REVERSE_SUBTRACT, VK_BLEND_OP_ADD, + VK_BLEND_OP_REVERSE_SUBTRACT, }; /* FIXME