some effc++ fixes
This commit is contained in:
@@ -21,9 +21,13 @@ public:
|
||||
construct(std::get<0>(tmp));
|
||||
}
|
||||
|
||||
Object(Object const& copy) = delete;
|
||||
|
||||
~Object() {
|
||||
glDeleteVertexArrays(1, &_vaID);
|
||||
}
|
||||
|
||||
Object& operator=(Object const& copy) = delete;
|
||||
|
||||
void draw(glm::mat4 const& modelview, Program *override = nullptr) const {
|
||||
glBindVertexArray(_vaID);
|
||||
|
||||
Reference in New Issue
Block a user