mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #14678 from unknownbrackets/d3d11-flush-state
D3D11: Use right state in flush before output
This commit is contained in:
commit
3f79c46ef3
1 changed files with 3 additions and 2 deletions
|
@ -242,11 +242,12 @@ void GPU_D3D11::SetDisplayFramebuffer(u32 framebuf, u32 stride, GEBufferFormat f
|
|||
}
|
||||
|
||||
void GPU_D3D11::CopyDisplayToOutput(bool reallyDirty) {
|
||||
// Flush anything left over.
|
||||
drawEngine_.Flush();
|
||||
|
||||
float blendColor[4]{};
|
||||
context_->OMSetBlendState(stockD3D11.blendStateDisabledWithColorMask[0xF], blendColor, 0xFFFFFFFF);
|
||||
|
||||
drawEngine_.Flush();
|
||||
|
||||
framebufferManagerD3D11_->CopyDisplayToOutput(reallyDirty);
|
||||
framebufferManagerD3D11_->EndFrame();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue