You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every OpenGL object wrapper class should follow move semantics. None of them should be copyable and all of them should be movable.
On move assigns we have to swap the OpenGL object names (ids) so the moved object's destructor can call the OpenGL delete function for the destroyed OpenGL object.
E.g. when a Program is move assigned we lose an OpenGL program name that we didn't delete.
The text was updated successfully, but these errors were encountered:
Every OpenGL object wrapper class should follow move semantics. None of them should be copyable and all of them should be movable.
On move assigns we have to swap the OpenGL object names (ids) so the moved object's destructor can call the OpenGL delete function for the destroyed OpenGL object.
E.g. when a Program is move assigned we lose an OpenGL program name that we didn't delete.
The text was updated successfully, but these errors were encountered: