X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmesh.cpp;h=1e811b5b2b135725db55ebb54f7bd2e9909afb5b;hb=b4dfecd72df8bb342ddb20c46516ba6cb62e5600;hp=981a59e8002c46585f498887da1c32f00429b7ce;hpb=f19366d32cc29287a2730cfba90893e407754081;p=libs%2Fgl.git diff --git a/source/core/mesh.cpp b/source/core/mesh.cpp index 981a59e8..1e811b5b 100644 --- a/source/core/mesh.cpp +++ b/source/core/mesh.cpp @@ -9,19 +9,16 @@ using namespace std; namespace Msp { namespace GL { -Mesh::Mesh(ResourceManager *rm): +Mesh::Mesh(): vbuf(0), ibuf(0), dirty(0), disallow_rendering(false), face_winding(NON_MANIFOLD) -{ - if(rm) - set_manager(rm); -} +{ } -Mesh::Mesh(const VertexFormat &f, ResourceManager *rm): - Mesh(rm) +Mesh::Mesh(const VertexFormat &f): + Mesh() { storage(f); }