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

Fix OpenGL ClearDepthStencil() mutating masks #481

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

Conversation

smoogipoo
Copy link
Contributor

@smoogipoo smoogipoo commented Mar 3, 2023

Specifically, it was leaving the stencil mask as 0xFF and depth writes enabled, and a future call to SetPipeline() wouldn't set it back due to this early exit condition:

https://github.com/mellinoe/veldrid/blob/a121087cadf38755f28c397a5b3c42ff1c559a19/src/Veldrid/OpenGL/OpenGLCommandExecutor.cs#L464

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.

None yet

1 participant