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

Comparing ray/src/hd/rhd_x11.c (file contents):
Revision 3.20 by gregl, Thu Jan 1 13:00:15 1998 UTC vs.
Revision 3.21 by gregl, Thu Jan 1 14:48:46 1998 UTC

# Line 174 | Line 174 | char  *id;
174          dev_input();                    /* sets size and view angles */
175                                          /* allocate our leaf pile */
176          if (!qtAllocLeaves(DisplayWidth(ourdisplay,ourscreen) *
177 <                        DisplayHeight(ourdisplay,ourscreen) /
178 <                        (qtMinNodesiz*qtMinNodesiz)))
177 >                        DisplayHeight(ourdisplay,ourscreen) * 3 /
178 >                        (qtMinNodesiz*qtMinNodesiz*2)))
179                  error(SYSTEM, "insufficient memory for leaf storage");
180          odev.name = id;
181          odev.ifd = ConnectionNumber(ourdisplay);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines