clray
changeset 52:55b30d8b6805
wrong filename on captured images
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 04 Sep 2010 23:57:20 +0100 |
parents | 9c0867942612 |
children | 54a96b738afe |
files | src/clray.cc src/rt.cc |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/src/clray.cc Thu Sep 02 01:41:51 2010 +0100 1.2 +++ b/src/clray.cc Sat Sep 04 23:57:20 2010 +0100 1.3 @@ -382,7 +382,7 @@ 1.4 float *pixels = new float[4 * xsz * ysz]; 1.5 glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_FLOAT, pixels); 1.6 1.7 - bool res = write_ppm("shot.ppm", pixels, xsz, ysz); 1.8 + bool res = write_ppm(fname, pixels, xsz, ysz); 1.9 if(!res) { 1.10 num--; 1.11 }