Skip to content

Fix mLinkMap using wrong variable in GL46Engine#129

Open
CodeReclaimers wants to merge 1 commit intodavideberly:masterfrom
CodeReclaimers:fix/gl46engine-linkmap-unit
Open

Fix mLinkMap using wrong variable in GL46Engine#129
CodeReclaimers wants to merge 1 commit intodavideberly:masterfrom
CodeReclaimers:fix/gl46engine-linkmap-unit

Conversation

@CodeReclaimers
Copy link
Contributor

GetUnitProgramIndex uses mLinkMap[index] where index is the output parameter (just written to). Should be mLinkMap[unit] to look up the intended texture unit.

🤖 Generated with Claude Code

mLinkMap[index] uses the output parameter instead of the input 'unit',
causing wrong shader resource lookup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant