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

bug fix: Add CPU write access flag #94

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

mycrl
Copy link
Collaborator

@mycrl mycrl commented Nov 1, 2024

In the last commit #90, I just removed the write access flag from the texture, but didn't change everything involving this texture to read-only, which caused a lot of problems, so instead of obsessing about whether or not the texture is writable, just add D3D11_CPU_ACCESS_WRITE to it to quickly fix the problems caused by the previous bug.

@mycrl
Copy link
Collaborator Author

mycrl commented Nov 1, 2024

This bug brings up the issue that the existing test cases do not cover the basic scenarios.

@NiiightmareXD
Copy link
Owner

NiiightmareXD commented Nov 1, 2024

This bug brings up the issue that the existing test cases do not cover the basic scenarios.

The issue is that there are no existing test cases at all 😅. but yeah one of the encoder functions needed this flag.

@NiiightmareXD NiiightmareXD merged commit 459ff17 into NiiightmareXD:main Nov 1, 2024
2 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.

2 participants