Static analysis fix
This commit is contained in:
parent
0dd8c21543
commit
9ee8196b83
|
|
@ -47,7 +47,7 @@ namespace Nz
|
||||||
|
|
||||||
for (auto& lightDataUbo : m_lightDataBuffers)
|
for (auto& lightDataUbo : m_lightDataBuffers)
|
||||||
{
|
{
|
||||||
renderFrame.PushReleaseCallback([pool = m_lightUboPool, lightUbo = std::move(lightDataUbo.renderBuffer)]()
|
renderFrame.PushReleaseCallback([pool = m_lightUboPool, lightUbo = std::move(lightDataUbo.renderBuffer)]() mutable
|
||||||
{
|
{
|
||||||
pool->lightUboBuffers.push_back(std::move(lightUbo));
|
pool->lightUboBuffers.push_back(std::move(lightUbo));
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue