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

Comparing ray/src/px/vgaimage.c (file contents):
Revision 2.6 by greg, Tue Mar 30 11:37:54 1993 UTC vs.
Revision 2.7 by greg, Fri Jun 11 16:58:35 1993 UTC

# Line 379 | Line 379 | setpalette()                   /* set our palette using clrtab */
379          cvals[ourblack] = _BLACK;
380          cvals[ourwhite] = _BRIGHTWHITE;
381          for (i = 0; i < maxcolors; i++)
382 <                cvals[i+minpix] = clrtab[i][BLU]<<14 & 0x3f0000L |
382 >                cvals[i+minpix] = (long)clrtab[i][BLU]<<14 & 0x3f0000L |
383                                    clrtab[i][GRN]<<6 & 0x3f00 |
384                                    clrtab[i][RED]>>2;
385          _remapallpalette(cvals);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines