From 0cc2f7704a05771f90df77255246ddeecab3a0e2 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 29 Nov 2013 11:35:47 +0200 Subject: [PATCH] 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. --- source/mesh.cpp | 2 -- 1 file changed, 2 deletions(-) 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); } -- 2.45.2