--- ray/src/hd/rhd_glx1.c 2003/02/22 02:07:24 3.1 +++ ray/src/hd/rhd_glx1.c 2003/07/21 22:30:18 3.2 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rhd_glx1.c,v 3.1 2003/02/22 02:07:24 greg Exp $"; +static const char RCSid[] = "$Id: rhd_glx1.c,v 3.2 2003/07/21 22:30:18 schorsch Exp $"; #endif /* * OpenGL GLX driver for holodeck display. @@ -170,7 +170,7 @@ char *id; DisplayWidth(ourdisplay, ourscreen); pheight = (double)DisplayHeightMM(ourdisplay, ourscreen) / DisplayHeight(ourdisplay, ourscreen); - copystruct(&odev.v, &stdview); + odev.v = stdview; odev.v.type = VT_PER; /* map the window */ XMapWindow(ourdisplay, gwind); @@ -252,7 +252,7 @@ register VIEW *nv; XResizeWindow(ourdisplay, gwind, odev.hres, odev.vres); dev_input(); /* get resize event */ } - copystruct(&odev.v, nv); + odev.v = *nv; } if (nxtzmax > FTINY) { curzmax = nxtzmax; @@ -507,7 +507,7 @@ int dx, dy, mov, orb; double d; register int li; /* start with old view */ - copystruct(&nv, &odev.v); + nv = odev.v; /* change view direction */ if (mov | orb) { if ((li = qtFindLeaf(dx, dy)) < 0)