Minor improvements

This commit is contained in:
Wojciech Figat
2022-07-07 15:34:15 +02:00
parent 02dbd07506
commit f221bc6361
4 changed files with 9 additions and 3 deletions

View File

@@ -402,7 +402,6 @@ void GBufferPass::DrawDecals(RenderContext& renderContext, GPUTextureView* light
// Cache data
auto device = GPUDevice::Instance;
auto context = device->GetMainContext();
auto& view = renderContext.View;
auto model = _boxModel.Get();
auto buffers = renderContext.Buffers;