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

Make HardwareBuffer::as_ptr() public #213

Merged
merged 3 commits into from
Jan 14, 2022
Merged

Conversation

zmerp
Copy link
Contributor

@zmerp zmerp commented Dec 27, 2021

I suppose this was a mistake because there is no other way of accessing the underlying pointer. It probably isn't a mistake since other structs also have as_ptr() private. But HardwareBuffer should be spacial and have as_ptr() public, I need the pointer to import the memory into Vulkan.

@MarijnS95
Copy link
Member

Looks like the CI is stuck, canceling for now until at least our publishing jobs have finished. In the meantime, while at it, can you add a little note to ndk/CHANGELOG.md? Nothing fancy, and it's not **Breaking** either :)

@MarijnS95 MarijnS95 merged commit 3c5d01e into rust-mobile:master Jan 14, 2022
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