mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove a very minor difference between the backends in state mapping
This commit is contained in:
parent
ca9dbec830
commit
fadb19acc6
2 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Add table
Reference in a new issue