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

fix critical issue w/ ofVbo shallow copies (custom attributes) #2843

Merged

Commits on Mar 12, 2014

  1. fix critical issue w/ ofVbo shallow copies (custom attributes)

    * fixes an issue where custom vbo attributes (and their buffers) would not be retained whenever the vbo was shallow copied, since the copy constructors would not copy them over from their mom object.
    * this is might have especially tripped you up when you wanted to create & then store vbos in a c++ vector, since push_back does initialise by copy, and you'd have lost all your attributes upon pushing the new ofVbo to your storage vector...
    
    Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
    tgfrerer committed Mar 12, 2014
    Configuration menu
    Copy the full SHA
    f45736c View commit details
    Browse the repository at this point in the history