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 for UnloadMesh per issue #303 #307

Merged
merged 7 commits into from
Nov 8, 2023

Conversation

Peternj42
Copy link
Contributor

Incorporating the changes to UnloadMesh() discussed in #303. I also added a check for duplicate meshes at the beginning of UploadMesh(). This is the same check raylib does interally in UploadMesh(), but adding it here will prevent pinner from panicking and avoid duplicating VaoIDs in the list of go meshes.

@gen2brain gen2brain merged commit b095901 into gen2brain:master Nov 8, 2023
7 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