X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmesh.h;h=57c87b7e42986ac31f94092612c373159b633a7a;hp=b23510e10b14485e8b9c531aee28f8a171d7bea3;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=5f78db03b3285c977760a41da1e3927720e50352 diff --git a/source/mesh.h b/source/mesh.h index b23510e1..57c87b7e 100644 --- a/source/mesh.h +++ b/source/mesh.h @@ -26,8 +26,11 @@ class Mesh: public Resource public: class Loader: public DataFile::ObjectLoader { + private: + bool allow_gl_calls; + public: - Loader(Mesh &); + Loader(Mesh &, bool = true); private: void vertices(const std::vector &); void batch(PrimitiveType);