Skip to content

Commit

Permalink
Merge pull request #386 from feimos32/patch-1
Browse files Browse the repository at this point in the history
Update wavefront.cpp
  • Loading branch information
mmp authored Oct 18, 2023
2 parents 266f6a0 + adb4f88 commit e6745e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pbrt/wavefront/wavefront.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e6745e5

Please sign in to comment.