X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmesh.h;h=f8e1b6c1fa20f2148e582976b817109ca8e4f86c;hb=f73e671dcb36c097647cddbf5b1eaaad2ffc9299;hp=98a028dbc88ea8f231c039ce97dcc48834e3c347;hpb=710363bade528b5015a7c472db3aa90eb08207ab;p=libs%2Fgl.git diff --git a/source/core/mesh.h b/source/core/mesh.h index 98a028db..f8e1b6c1 100644 --- a/source/core/mesh.h +++ b/source/core/mesh.h @@ -27,15 +27,18 @@ a Technique and is usually the appropriate way to of rendering geometry. class Mesh: public Resource { friend class MeshBuilder; + class AsyncLoader; public: class Loader: public DataFile::ObjectLoader { + friend class AsyncLoader; + private: - bool allow_gl_calls; + bool allow_gl_calls = true; public: - Loader(Mesh &, bool = true); + Loader(Mesh &); private: void storage(const std::vector &); void vertices();