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

Comparing ray/src/rt/x11.c (file contents):
Revision 2.25 by greg, Fri Sep 29 20:20:37 1995 UTC vs.
Revision 2.26 by greg, Tue Dec 5 10:54:39 1995 UTC

# Line 120 | Line 120 | char  *name, *id;
120                                          /* find a usable visual */
121          nplanes = DisplayPlanes(ourdisplay, ourscreen);
122          if (XMatchVisualInfo(ourdisplay,ourscreen,
123 <                                24,TrueColor,&ourvinfo) ||
123 >                                nplanes>12?nplanes:24,TrueColor,&ourvinfo) ||
124                          XMatchVisualInfo(ourdisplay,ourscreen,
125 <                                24,DirectColor,&ourvinfo)) {
125 >                                nplanes>12?nplanes:24,DirectColor,&ourvinfo)) {
126                  ourblack = 0;
127                  ourwhite = ourvinfo.red_mask |
128                                  ourvinfo.green_mask |

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines