From: Mikko Rasa Date: Fri, 29 Nov 2013 09:35:47 +0000 (+0200) Subject: Don't bother with clearing winding test X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=0cc2f7704a05771f90df77255246ddeecab3a0e2 Don't bother with clearing winding test Why was that even there? Winding test is stored as part of Renderer's State, so it will be cleared by a pop. --- diff --git a/source/mesh.cpp b/source/mesh.cpp index 07eaa689..f8a7bcb2 100644 --- a/source/mesh.cpp +++ b/source/mesh.cpp @@ -116,8 +116,6 @@ 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); }