X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmesh.cpp;h=c5e73ebd2afd625cda3d1d4041e8b7bd03145ed5;hp=67f9698cfa36468d5fb6955f49b5ce5774b95e0f;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hpb=635d00bc1a9ba43ef1224681a14d0710a098cf87 diff --git a/source/mesh.cpp b/source/mesh.cpp index 67f9698c..c5e73ebd 100644 --- a/source/mesh.cpp +++ b/source/mesh.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007-2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include "buffer.h" #include "extension.h" #include "mesh.h" @@ -124,6 +117,8 @@ void Mesh::draw(Renderer &renderer) const for(list::const_iterator i=batches.begin(); i!=batches.end(); ++i) renderer.draw(*i); + + renderer.set_winding_test(0); }