1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Spacing fixes

This commit is contained in:
ShadowNinja 2021-12-01 18:54:12 -05:00 committed by rubenwardy
parent 88b21a72f1
commit 7993909fab
31 changed files with 82 additions and 83 deletions

View file

@ -847,12 +847,12 @@ void ClientMap::renderMapShadows(video::IVideoDriver *driver,
vertex_count += buf->getIndexCount();
}
// restore the driver material state
// restore the driver material state
video::SMaterial clean;
clean.BlendOperation = video::EBO_ADD;
driver->setMaterial(clean); // reset material to defaults
driver->draw3DLine(v3f(), v3f(), video::SColor(0));
g_profiler->avg(prefix + "draw meshes [ms]", draw.stop(true));
g_profiler->avg(prefix + "vertices drawn [#]", vertex_count);
g_profiler->avg(prefix + "drawcalls [#]", drawcall_count);