Skip to content

Conversation

@rafalh
Copy link

@rafalh rafalh commented Oct 4, 2020

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).

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.
Partially fixes kcat#18
@rafalh
Copy link
Author

rafalh commented Jan 10, 2022

Is there anything I could improve in my PR @kcat ?

@kcat
Copy link
Owner

kcat commented Jan 10, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants