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.5 by greg, Wed Nov 11 17:34:14 1992 UTC vs.
Revision 2.7 by greg, Fri Jun 11 16:58:35 1993 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1992 Regents of the University of California */
1 > /* Copyright (c) 1993 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 168 | Line 168 | init()                 /* initialize and load display */
168                  short   xsiz, ysiz;
169          } video[] = {
170                  {_MRES256COLOR, 320, 200},
171 <                {_VRES256COLOR, 640, 400},
171 >                {_VRES256COLOR, 640, 480},
172                  {_SVRES256COLOR, 800, 600},
173                  {_XRES256COLOR, 1024, 768},
174 <                -1
174 >                {-1, 0, 0}
175          };
176          struct videoconfig      config;
177          register int    i;
# 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