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.19 by greg, Wed Mar 29 01:10:23 2017 UTC vs.
Revision 3.20 by greg, Fri Oct 5 19:19:16 2018 UTC

# Line 182 | Line 182 | dopicture(                     /* render view from holodeck */
182  
183   static void
184   render_frame(           /* render frame from beam values */
185 <        register PACKHEAD       *bl,
185 >        PACKHEAD        *bl,
186          int     nb
187   )
188   {
189 <        register HDBEAMI        *bil;
190 <        register int    i;
189 >        HDBEAMI *bil;
190 >        int     i;
191  
192          if (nb <= 0) return;
193          if ((bil = (HDBEAMI *)malloc(nb*sizeof(HDBEAMI))) == NULL)
# Line 250 | Line 250 | endpicture(void)                       /* finish and write out pixels */
250   {
251          int     lastr = -1, nunrend = 0;
252          int32   lastp, lastrp;
253 <        register int32  p;
254 <        register double d;
253 >        int32   p;
254 >        double  d;
255                                  /* compute final pixel values */
256          for (p = hres*vres; p--; ) {
257                  if (myweight[p] <= FTINY) {
# Line 318 | Line 318 | initialize(void)                       /* initialize holodeck and buffers
318  
319   void
320   eputs(s)                        /* put error message to stderr */
321 < register char  *s;
321 > char  *s;
322   {
323          static int  midline = 0;
324  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines