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

Comparing ray/src/rt/devmain.c (file contents):
Revision 1.4 by greg, Mon Jan 8 13:38:18 1990 UTC vs.
Revision 1.5 by greg, Mon Jan 8 15:07:30 1990 UTC

# Line 32 | Line 32 | int    notified = 0;                           /* notified parent of input? */
32  
33   char    *progname;                              /* driver name */
34  
35 < int     r_clear(), r_paintr(), r_getcur(), r_comout(), r_comin(), r_mycomin();
35 > int     r_clear(), r_paintr(), r_getcur(), r_comout(), r_comin();
36  
37   int     (*dev_func[NREQUESTS])() = {            /* request handlers */
38                  r_clear, r_paintr,
# Line 62 | Line 62 | char   *argv[];
62          if ((dev = dinit(argv[0], argv[3])) == NULL)
63                  quit(1);
64          putw(COM_RECVM, devout);                /* verify initialization */
65 +        fwrite(&dev->pixaspect, sizeof(dev->pixaspect), 1, devout);
66          putw(dev->xsiz, devout);
67          putw(dev->ysiz, devout);
67        fwrite(dev->pixaspect, sizeof(dev->pixaspect), 1, devout);
68          fflush(devout);
69                                                  /* loop on requests */
70          while ((com = getc(devin)) != EOF) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines