Merge pull request #386 from feimos32/patch-1

Update wavefront.cpp
This commit is contained in:
Matt Pharr 2023-10-18 04:49:30 -07:00 • committed by GitHub
commit e6745e5c18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,6 @@ void RenderWavefront(BasicScene &scene) {
#endif // PBRT_BUILD_GPU_RENDERER
ImageMetadata metadata;
metadata.samplesPerPixel = integrator->sampler.SamplesPerPixel();
integrator->camera.InitMetadata(&metadata);
metadata.renderTimeSeconds = seconds;
metadata.samplesPerPixel = integrator->sampler.SamplesPerPixel();