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 shared_ptr<ofImage> for theme icons #52

Merged
merged 1 commit into from
Mar 21, 2016

Conversation

mattfelsen
Copy link
Contributor

Got tired of seeing tons of duplicate textures in the OpenGL profiler and figured they could get shared across components. Not sure if this implementation is the best route, but it seems to work?

braitsch added a commit that referenced this pull request Mar 21, 2016
Use shared_ptr<ofImage> for theme icons
@braitsch braitsch merged commit 2234015 into braitsch:master Mar 21, 2016
@braitsch
Copy link
Owner

This has been on my todo list, thanks for addressing it. I think this implementation is fine for now.

@mattfelsen
Copy link
Contributor Author

Thanks!
high five

@braitsch
Copy link
Owner

No problem, thanks for your help! 🙌

@mattfelsen mattfelsen deleted the img-shared-ptr branch April 5, 2016 01:53
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