dsoal
dsoal copied to clipboard
Disable all 3D processing in DS3DMODE_DISABLE mode
This change allows using SetPan API for buffers with DSBCAPS_CTRL3D flag
when DS3DMODE_DISABLE mode is active.
Fixes panning in Red Faction if EAX is enabled (see #18).
Is there anything I could improve in my PR @kcat ?
Is there anything I could improve in my PR @kcat ?
As already mentioned, the way you're replacing DSBCAPS_CTRL3D checks with DS3DMODE_DISABLE will break non-3D buffer panning, as well as effects for buffers with DS3DMODE_DISABLE set.