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.9 by gregl, Tue Dec 30 16:59:46 1997 UTC vs.
Revision 3.10 by gregl, Thu Jan 1 13:00:15 1998 UTC

# Line 16 | Line 16 | static char SCCSid[] = "$SunId$ SGI";
16  
17   #include  "x11icon.h"
18  
19 + #ifndef RAYQLEN
20 + #define RAYQLEN         50000           /* max. rays to queue before flush */
21 + #endif
22 +
23   #ifndef FEQ
24   #define FEQ(a,b)        ((a)-(b) <= FTINY && (a)-(b) >= -FTINY)
25   #endif
# Line 262 | Line 266 | dev_flush()                    /* flush output */
266   {
267          qtUpdate();
268          glFlush();
269 +        rayqleft = RAYQLEN;
270          return(XPending(ourdisplay));
271   }
272  
# Line 314 | Line 319 | mytmflags()                    /* figure out tone mapping flags */
319          for (cp = tail; *cp && *cp != '.'; cp++)
320                  ;
321          if (cp-tail == 3 && !strncmp(tail, "glx", 3))
322 <                return(TM_F_CAMERA);
322 >                return(TM_F_CAMERA|TM_F_NOSTDERR);
323          if (cp-tail == 4 && !strncmp(tail, "glxh", 4))
324 <                return(TM_F_HUMAN);
324 >                return(TM_F_HUMAN|TM_F_NOSTDERR);
325          error(USER, "illegal driver name");
326   }
327  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines