# | Line 163 | Line 163 | int block; | |
---|---|---|
163 | error(INTERNAL, "bad DR_DELSET from display process"); | |
164 | bundle_set(BS_DEL, (PACKHEAD *)buf, msg.nbytes/sizeof(PACKHEAD)); | |
165 | break; | |
166 | + | case DR_VIEWPOINT: /* set target eye position */ |
167 | + | if (msg.nbytes != sizeof(VIEWPOINT)) |
168 | + | error(INTERNAL, "bad DR_VIEWPOINT from display process"); |
169 | + | copystruct(&myeye, (VIEWPOINT *)buf); |
170 | + | break; |
171 | case DR_ATTEN: /* block for priority request */ | |
172 | if (msg.nbytes) | |
173 | error(INTERNAL, "bad DR_ATTEN from display process"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |