branch | pyrit |
changeset 94 | 4c8abb8977dc |
parent 93 | 96d65f841791 |
child 95 | ca7d4c665531 |
--- a/src/sampler.cc Tue May 06 09:39:58 2008 +0200 +++ b/src/sampler.cc Thu May 08 09:21:25 2008 +0200 @@ -303,7 +303,7 @@ return true; } -void DefaultSampler::saveSample(Sample &samp, Colour &col) +void DefaultSampler::saveSample(const Sample &samp, const Colour &col) { Float *buf = pixmap.getFloatData() + 3*(samp.sy * pixmap.getWidth() + samp.sx);