Merge pull request #15926 from hrydgard/fix-framebuffer-read-dx9

Implement shader blending for D3D9
This commit is contained in:
Henrik Rydgård
2022-08-30 13:01:04 +02:00
committed by GitHub
5 changed files with 18 additions and 20 deletions
+1 -2
View File
@@ -119,8 +119,7 @@ void DrawEngineDX9::ApplyDrawState(int prim) {
bool useBufferedRendering = framebufferManager_->UseBufferedRendering();
if (gstate_c.IsDirty(DIRTY_BLEND_STATE)) {
// Unfortunately, this isn't implemented on DX9 yet.
gstate_c.SetAllowFramebufferRead(false);
gstate_c.SetAllowFramebufferRead(!g_Config.bDisableSlowFramebufEffects);
if (gstate.isModeClear()) {
dxstate.blend.disable();
// Color Mask