]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / mesh.h
index b23510e10b14485e8b9c531aee28f8a171d7bea3..57c87b7e42986ac31f94092612c373159b633a7a 100644 (file)
@@ -26,8 +26,11 @@ class Mesh: public Resource
 public:
        class Loader: public DataFile::ObjectLoader<Mesh>
        {
+       private:
+               bool allow_gl_calls;
+
        public:
-               Loader(Mesh &);
+               Loader(Mesh &, bool = true);
        private:
                void vertices(const std::vector<VertexComponent> &);
                void batch(PrimitiveType);