Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable all 3D processing in DS3DMODE_DISABLE mode #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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