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

Unpack buffer from argument before setting texture #8670

Merged
merged 1 commit into from Mar 12, 2024

Conversation

Jhonnyg
Copy link
Contributor

@Jhonnyg Jhonnyg commented Mar 12, 2024

Fixed an issue when using resource.set_texture with a buffer object that is acquired from a buffer resource. Previously we did not unpack the buffer correctly, which would cause script errors.

@Jhonnyg Jhonnyg added bug Something is not working as expected engine Issues related to the Defold engine labels Mar 12, 2024
@Jhonnyg Jhonnyg requested a review from JCash March 12, 2024 15:52
@Jhonnyg Jhonnyg merged commit 03ae842 into dev Mar 12, 2024
18 checks passed
@Jhonnyg Jhonnyg deleted the resource.set_texture-buffer-unpacking branch March 14, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as expected engine Issues related to the Defold engine
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants