Skip to content

Disable all 3D processing in DS3DMODE_DISABLE mode#20

Open
rafalh wants to merge 1 commit intokcat:masterfrom
rafalh:ds3dmode_disabled
Open

Disable all 3D processing in DS3DMODE_DISABLE mode#20
rafalh wants to merge 1 commit intokcat:masterfrom
rafalh:ds3dmode_disabled

Conversation

@rafalh
Copy link
Copy Markdown

@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
Copy Markdown
Author

rafalh commented Jan 10, 2022

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

@kcat
Copy link
Copy Markdown
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