Remove a very minor difference between the backends in state mapping

This commit is contained in:
Henrik Rydgard 2015-11-12 18:09:28 +01:00
parent ca9dbec830
commit fadb19acc6
2 changed files with 2 additions and 1 deletions

View file

@ -616,7 +616,7 @@ static const BlendEq eqLookup[] = {
BlendEq::REVERSE_SUBTRACT,
BlendEq::MIN, // GE_BLENDMODE_MIN
BlendEq::MAX, // GE_BLENDMODE_MAX
BlendEq::ADD, // GE_BLENDMODE_ABSDIFF
BlendEq::MAX, // GE_BLENDMODE_ABSDIFF
};
static BlendFactor toDualSource(BlendFactor blendfunc) {

View file

@ -144,6 +144,7 @@ void TransformDrawEngineDX9::ApplyDrawState(int prim) {
// Set blend - unless we need to do it in the shader.
GenericBlendState blendState;
ConvertBlendState(blendState, gstate_c.allowShaderBlend);
ViewportAndScissor vpAndScissor;
ConvertViewportAndScissor(useBufferedRendering,
framebufferManager_->GetRenderWidth(), framebufferManager_->GetRenderHeight(),