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

add support for compressed_tex_sub_image_2d #161

Merged
merged 1 commit into from
Jun 5, 2021

Conversation

Frizi
Copy link
Contributor

@Frizi Frizi commented Jun 4, 2021

Current support for compressed texture is incomplete, because of missing compressed_tex_sub_image_2d method. This PR adds that. Due to a slight difference from non-compressed version, a new PixelUnpackData-like enum needed to be created, as the information about the data length must be provided.

src/native.rs Outdated Show resolved Hide resolved
@Frizi Frizi force-pushed the compressed_tex_sub_image_2d branch from ee2d779 to 5cf1cc5 Compare June 4, 2021 18:14
Copy link
Owner

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
bors r+

@bors
Copy link
Contributor

bors bot commented Jun 5, 2021

@bors bors bot merged commit 95e12d9 into grovesNL:main Jun 5, 2021
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.

None yet

3 participants