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

Use const Refs to store gl function pointers instead of mutable structs #62

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

thraen
Copy link
Contributor

@thraen thraen commented May 28, 2020

No description provided.

@musm
Copy link
Contributor

musm commented Apr 27, 2021

This looks more reasonable. Was there a specific use case to make this change?

@thraen
Copy link
Contributor Author

thraen commented Apr 28, 2021

I think this came up when I profiled my code and saw more allocations than I expected

@SimonDanisch
Copy link
Member

Well, that sounds like a pretty important change then :-D

@musm
Copy link
Contributor

musm commented Apr 28, 2021

Sounds reasonable. In any case ref make more sense for the code here. I'll merge sans objections.

@musm musm merged commit d412580 into JuliaGL:master Apr 28, 2021
musm pushed a commit to musm/ModernGL.jl that referenced this pull request Apr 28, 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.

3 participants