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

Comparing ray/src/common/rglinst.c (file contents):
Revision 3.6 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 3.8 by greg, Tue May 13 17:58:32 2003 UTC

# Line 77 | Line 77 | register OBJREC        *o;
77                  glPopAttrib();
78          }
79          rgl_checkerr("creating instance");
80 +        return(0);
81   }
82  
83  
# Line 122 | Line 123 | static OCTINST *
123   getoct(name)                            /* get/assign octree list id */
124   char    *name;
125   {
125        extern char     *getpath(), *getlibpath();
126          char    *path;
127          register LUENT  *lp;
128          register OCTINST        *op;
# Line 136 | Line 136 | char   *name;
136                  strcpy(lp->key, name);
137          }
138          if ((op = (OCTINST *)lp->data) == NULL) {
139 <                path = getpath(name, getlibpath(), R_OK);
139 >                path = getpath(name, getrlibpath(), R_OK);
140                  if (path == NULL) {
141                          sprintf(errmsg, "cannot find octree \"%s\"", name);
142                          error(USER, errmsg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines