remove redundant logMap, now that lighting is 100% asynchronous
This commit is contained in:
parent
f08ffe2162
commit
1b20362583
@ -76,12 +76,7 @@ void WorldPainter::render(WorldRenderData& renderData, function<bool()> lightWai
|
|||||||
|
|
||||||
m_renderer->flush();
|
m_renderer->flush();
|
||||||
|
|
||||||
bool lightMapUpdated = false;
|
bool lightMapUpdated = lightWaiter ? lightWaiter() : false;
|
||||||
if (lightWaiter) {
|
|
||||||
auto start = Time::monotonicMicroseconds();
|
|
||||||
lightMapUpdated = lightWaiter();
|
|
||||||
LogMap::set("client_render_world_async_light_wait", strf(u8"{:05d}\u00b5s", Time::monotonicMicroseconds() - start));
|
|
||||||
}
|
|
||||||
|
|
||||||
m_renderer->setEffectParameter("lightMapEnabled", !renderData.isFullbright);
|
m_renderer->setEffectParameter("lightMapEnabled", !renderData.isFullbright);
|
||||||
if (renderData.isFullbright) {
|
if (renderData.isFullbright) {
|
||||||
|
Loading…
Reference in New Issue
Block a user