quick backup
[demo] / src / opengl / mesh-gl.h
index f935a59..78d415a 100644 (file)
@@ -16,6 +16,8 @@ private:
        int num_vertices;
        int num_indices;
 
+       void update_vbo();
+
 public:
        MeshGL();
        MeshGL(const MeshGL &mesh);
@@ -26,7 +28,6 @@ public:
        virtual void draw() const override;
        virtual void update_vertex_data() override;
 
-       void update_vbo();
        void destroy_vbo();
 };