77 |
|
glPopAttrib(); |
78 |
|
} |
79 |
|
rgl_checkerr("creating instance"); |
80 |
+ |
return(0); |
81 |
|
} |
82 |
|
|
83 |
|
|
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; |
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); |