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 D3D12 dynamic texture array update #3182

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

carloscm
Copy link
Contributor

@carloscm carloscm commented Oct 4, 2023

D3D12 dynamic texture array update had an attempted fix in commit da9e2f0, but it was missing one line of code to make it work, leaving the layer variable unused. A subsequent commit cleaned up the unused variable. This pull request restores that fix, and uses the layer variable by doing the same the D3D11 renderer does.

Additionally pull request #3026 fixed a loop variable over texture sides from uint8_t to uint16_t. In the same method there's an identical loop with the same issue, and I also fixed that one.

@bkaradzic bkaradzic merged commit 6054b49 into bkaradzic:master Oct 4, 2023
13 checks passed
jay3d pushed a commit to jay3d/bgfx that referenced this pull request Dec 7, 2023
mipek pushed a commit to mipek/bgfx that referenced this pull request Mar 2, 2024
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