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

Comparing ray/src/px/x11image.c (file contents):
Revision 1.6 by greg, Mon Mar 12 15:14:53 1990 UTC vs.
Revision 1.7 by greg, Thu Aug 30 11:21:34 1990 UTC

# Line 308 | Line 308 | getras()                               /* get raster file */
308                  if (ourras == NULL)
309                          goto fail;
310                  getmono();
311 <        } else if (XMatchVisualInfo(thedisplay,ourscreen,24,TrueColor,&vinfo)) {
311 >        } else if (XMatchVisualInfo(thedisplay,ourscreen,24,TrueColor,&vinfo)
312 >                                                /* kludge for DirectColor */
313 >        || XMatchVisualInfo(thedisplay,ourscreen,24,DirectColor,&vinfo)) {
314                  ourdata = (unsigned char *)malloc(xmax*ymax*3);
315                  if (ourdata == NULL)
316                          goto fail;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines