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

Fixes IsTextureReady() returns false after successful call of LoadTextureCubemap() #3823

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

GaryMcWhorter
Copy link
Contributor

fixes #3665

The format of the cubemap was not being set and was defaulted to 0, causing IsTextureReady() to fail.

@GaryMcWhorter
Copy link
Contributor Author

unlike PR #3798 this only assigns to format after the cubemap is successfully loaded, using the same format passed into rlLoadTextureCubemap.

Tested locally using a generated linear gradient:

gltf-fix_45TQQEJNgb

@raysan5 raysan5 merged commit 53cfc7c into raysan5:master Feb 26, 2024
@raysan5
Copy link
Owner

raysan5 commented Feb 26, 2024

@GaryMcWhorter thanks for the review!

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.

[rtextures] IsTextureReady() returns false after successful call of LoadTextureCubemap()
2 participants