]> git.tdb.fi Git - libs/gl.git/commitdiff
Add missing initialization
authorMikko Rasa <tdb@tdb.fi>
Mon, 20 Oct 2014 08:59:22 +0000 (11:59 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 20 Oct 2014 08:59:22 +0000 (11:59 +0300)
source/mesh.cpp

index 869ea671faeed0493ca4109dce4d27cddd1647e2..d1cb77f143c7a1ede2e5873fc1a21bb6c331d568 100644 (file)
@@ -31,6 +31,7 @@ void Mesh::init(ResourceManager *rm)
        vao_id = 0;
        defer_buffers = true;
        dirty = true;
+       disallow_rendering = false;
        winding = 0;
 
        if(rm)