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

Comparing ray/src/hd/rhd_glx.c (file contents):
Revision 3.8 by gregl, Fri Dec 26 21:56:43 1997 UTC vs.
Revision 3.9 by gregl, Tue Dec 30 16:59:46 1997 UTC

# Line 100 | Line 100 | char  *id;
100          XSizeHints      oursizhints;
101                                          /* set quadtree globals */
102          qtMinNodesiz = 3;
103 +        qtDepthEps = 0.07;
104                                          /* open display server */
105          ourdisplay = XOpenDisplay(NULL);
106          if (ourdisplay == NULL)
# Line 162 | Line 163 | char  *id;
163          XMapWindow(ourdisplay, gwind);
164          dev_input();                    /* sets size and view angles */
165                                          /* allocate our leaf pile */
166 <        if (!qtAllocLeaves(2 * DisplayWidth(ourdisplay,ourscreen) *
166 >        if (!qtAllocLeaves(DisplayWidth(ourdisplay,ourscreen) *
167                          DisplayHeight(ourdisplay,ourscreen) /
168                          (qtMinNodesiz*qtMinNodesiz)))
169                  error(SYSTEM, "insufficient memory for value storage");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines