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

Comparing ray/src/hd/rhd_odraw.c (file contents):
Revision 3.13 by greg, Sat Feb 22 02:07:24 2003 UTC vs.
Revision 3.14 by greg, Tue Mar 4 05:49:21 2003 UTC

# Line 297 | Line 297 | FVECT  d, p;
297                  if (id < 0)
298                          continue;               /* not good enough */
299                                                          /* convert color */
300 <                tmCvColrs(&odS.brt[id], odS.chr[id], c, 1);
300 >                tmCvColrs(&odS.brt[id], odS.chr[id], (COLR *)c, 1);
301                  if (imm_mode | needmapping)             /* if immediate mode */
302                          needmapping |= NEWRGB;          /* map it later */
303                  else                                    /* else map it now */
# Line 461 | Line 461 | int    vn;
461                          needmapping &= ~NEWMAP;
462                          odRedrawAll();                  /* redraw everything */
463                  }
464 <                if (tmMapPixels(odS.rgb,odS.brt,odS.chr,odS.nsamp) != TM_E_OK)
464 >                if (tmMapPixels((BYTE *)(odS.rgb), odS.brt,
465 >                                (BYTE *)(odS.chr), odS.nsamp) != TM_E_OK)
466                          return;
467                  needmapping &= ~NEWRGB;
468          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines