X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmesh.h;h=57c87b7e42986ac31f94092612c373159b633a7a;hb=c89b596e05705f9a23f6c5cdf0b98ffd5f8f273c;hp=b23510e10b14485e8b9c531aee28f8a171d7bea3;hpb=4d87b344261c4ff393a0b9d9fd59fd9b0c902b6b;p=libs%2Fgl.git 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);