| 804 | // the corresponding VirtualWin instance and shuts down that instance. |
| 805 | |
| 806 | void glXDestroyWindow(Display *dpy, GLXWindow win) |
| 807 | { |
| 808 | TRY(); |
| 809 | |
| 810 | if(IS_EXCLUDED(dpy)) |
| 811 | { |
| 812 | _glXDestroyWindow(dpy, win); return; |
| 813 | } |
| 814 | |
| 815 | ///////////////////////////////////////////////////////////////////////////// |
| 816 | OPENTRACE(glXDestroyWindow); PRARGD(dpy); PRARGX(win); STARTTRACE(); |
| 817 | ///////////////////////////////////////////////////////////////////////////// |
| 818 | |
| 819 | DISABLE_FAKER(); |
| 820 | |
| 821 | WINHASH.remove(dpy, win); |
| 822 | |
| 823 | ///////////////////////////////////////////////////////////////////////////// |
| 824 | STOPTRACE(); CLOSETRACE(); |
| 825 | ///////////////////////////////////////////////////////////////////////////// |
| 826 | |
| 827 | CATCH(); |
| 828 | ENABLE_FAKER(); |
| 829 | } |
| 830 | |
| 831 | |
| 832 | // Hand off to the 3D X server without modification. |