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

[d3d9] Do not support cube textures with depth formats #3991

Merged
merged 1 commit into from
May 8, 2024

Conversation

doitsujin
Copy link
Owner

@doitsujin doitsujin commented May 8, 2024

Looks like another one of those situations where D3D9 technically allows something, but in practice no native driver actually supports it. Verified that CheckDeviceFormat actually does not expose cube support for any depth format, even the fourcc ones.

Fixes #3980, the game has two code paths to deal with torch shadows and the D248 one happens to be broken.

@doitsujin doitsujin requested review from K0bin and misyltoad May 8, 2024 15:05
@misyltoad misyltoad merged commit 611dc60 into master May 8, 2024
6 checks passed
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.

Gothic 3
3 participants