mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix missing check for frame buffer fetch in unemulated blending modes
This commit is contained in:
parent
895401f981
commit
02e6ccb3ef
|
@ -358,7 +358,7 @@ public:
|
||||||
const int forceBlend2 = gDP.otherMode.forceBlender;
|
const int forceBlend2 = gDP.otherMode.forceBlender;
|
||||||
uForceBlendCycle2.set(forceBlend2, _force);
|
uForceBlendCycle2.set(forceBlend2, _force);
|
||||||
|
|
||||||
if (!graphics::Context::DualSourceBlending || dwnd().getDrawer().isTexrectDrawerMode()) {
|
if (!(graphics::Context::DualSourceBlending || graphics::Context::FramebufferFetchColor) || dwnd().getDrawer().isTexrectDrawerMode()) {
|
||||||
// Modes, which shader blender can't emulate
|
// Modes, which shader blender can't emulate
|
||||||
const u32 mode = _SHIFTR(gDP.otherMode.l, 16, 16);
|
const u32 mode = _SHIFTR(gDP.otherMode.l, 16, 16);
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user