--- ray/src/hd/rhd_glx.c 1998/01/01 14:48:46 3.11 +++ ray/src/hd/rhd_glx.c 1998/01/01 16:28:44 3.12 @@ -278,6 +278,9 @@ double rad; { register int ci, j; double apexh, basez; + /* is window mapped? */ + if (!mapped) + return; /* compute apex height (0. to 1.) */ if (ip[2] > 1e6) apexh = 1. - 1./DEPTHFACT;