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

Update implement_buffer_content to handle unsafe #2015

Merged
merged 1 commit into from Jul 5, 2022
Merged

Conversation

pema99
Copy link
Contributor

@pema99 pema99 commented Jul 5, 2022

#1909 qualified read as unsafe. This causes the implement_buffer_content macro to no longer work using the example given in the docs:

struct Data {
    data: [u32]
}

implement_buffer_content!(Data);

@est31 est31 merged commit cddc1f9 into glium:master Jul 5, 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.

None yet

2 participants