removed useless SMaterial parameter from mapblock
authorPerttu Ahola <celeron55@gmail.com>
Mon, 14 Feb 2011 14:12:38 +0000 (16:12 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 14 Feb 2011 14:12:38 +0000 (16:12 +0200)
src/mapblock.cpp

index 63f33ffc0d2d0cedb4a3264a728ced5a70946c3b..422d3b531296e2b4ac6aca0e2ba472f9927a6862 100644 (file)
@@ -737,7 +737,7 @@ void MapBlock::updateMesh(u32 daynight_ratio)
 
                video::SMaterial material;
                material.Lighting = false;
-               material.BackfaceCulling = false;
+               //material.BackfaceCulling = false;
                material.setFlag(video::EMF_BILINEAR_FILTER, false);
                //material.setFlag(video::EMF_ANTI_ALIASING, video::EAAM_OFF);
                //material.setFlag(video::EMF_ANTI_ALIASING, video::EAAM_SIMPLE);