ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhpict.c
(Generate patch)

Comparing ray/src/hd/rhpict.c (file contents):
Revision 3.10 by greg, Fri Jun 20 00:25:49 2003 UTC vs.
Revision 3.11 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 5 | Line 5 | static const char      RCSid[] = "$Id$";
5   * Radiance holodeck picture generator
6   */
7  
8 + #include <string.h>
9 +
10   #include "rholo.h"
11   #include "view.h"
12  
# Line 219 | Line 221 | int    fn;
221                                  /* write resolution (standard order) */
222          fprtresolu(hres, vres, stdout);
223                                  /* prepare image buffers */
224 <        bzero((char *)mypixel, hres*vres*sizeof(COLOR));
225 <        bzero((char *)myweight, hres*vres*sizeof(float));
226 <        bzero((char *)mydepth, hres*vres*sizeof(float));
224 >        memset((char *)mypixel, '\0', hres*vres*sizeof(COLOR));
225 >        memset((char *)myweight, '\0', hres*vres*sizeof(float));
226 >        memset((char *)mydepth, '\0', hres*vres*sizeof(float));
227   }
228  
229  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines