Skip to content

Commit

Permalink
Fix missing initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelarius committed Mar 31, 2024
1 parent dc991f2 commit 6224955
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pt/deferred_renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,8 @@ void DeferredRenderer::LightingPass::render(
const Uniforms uniforms{
glm::inverse(viewProjectionMat),
glm::vec4(cameraPosition, 1.f),
glm::vec2(fbsize.x, fbsize.y)};
glm::vec2(fbsize.x, fbsize.y),
{0.f, 0.f}};
wgpuQueueWriteBuffer(
gpuContext.queue, mUniformBuffer.ptr(), 0, &uniforms, sizeof(Uniforms));
}
Expand Down

0 comments on commit 6224955

Please sign in to comment.