clray

diff src/rt.cc @ 60:8c858e1a89e8

minor cleanups
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Dec 2015 09:08:49 +0200
parents 3d13924b22e6
children
line diff
     1.1 --- a/src/rt.cc	Sun Sep 12 07:27:12 2010 +0100
     1.2 +++ b/src/rt.cc	Mon Dec 28 09:08:49 2015 +0200
     1.3 @@ -182,7 +182,10 @@
     1.4  	unmap_mem_buffer(mbuf);
     1.5  #endif
     1.6  
     1.7 +	finish_opencl();
     1.8 +
     1.9  	rstat.render_time = get_msec() - tm0;
    1.10 +	printf("FOO: %ld msec\n", rstat.render_time);
    1.11  
    1.12  	timing_sample_sum += rstat.render_time;
    1.13  	num_timing_samples++;