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.10 by gregl, Thu Jan 1 13:00:15 1998 UTC vs.
Revision 3.12 by gregl, Thu Jan 1 16:28:44 1998 UTC

# Line 168 | Line 168 | char  *id;
168          dev_input();                    /* sets size and view angles */
169                                          /* allocate our leaf pile */
170          if (!qtAllocLeaves(DisplayWidth(ourdisplay,ourscreen) *
171 <                        DisplayHeight(ourdisplay,ourscreen) /
172 <                        (qtMinNodesiz*qtMinNodesiz)))
171 >                        DisplayHeight(ourdisplay,ourscreen) * 3 /
172 >                        (qtMinNodesiz*qtMinNodesiz*2)))
173                  error(SYSTEM, "insufficient memory for value storage");
174          odev.name = id;
175          odev.ifd = ConnectionNumber(ourdisplay);
# Line 278 | Line 278 | double rad;
278   {
279          register int    ci, j;
280          double  apexh, basez;
281 +                                        /* is window mapped? */
282 +        if (!mapped)
283 +                return;
284                                          /* compute apex height (0. to 1.) */
285          if (ip[2] > 1e6)
286                  apexh = 1. - 1./DEPTHFACT;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines