| 93 | |
| 94 | |
| 95 | GLFrame::~GLFrame(void) |
| 96 | { |
| 97 | if(ctx && dpy) |
| 98 | { |
| 99 | glXMakeCurrent(dpy, 0, 0); glXDestroyContext(dpy, ctx); ctx = 0; |
| 100 | } |
| 101 | if(dpy && newdpy) |
| 102 | { |
| 103 | XCloseDisplay(dpy); dpy = NULL; |
| 104 | } |
| 105 | if(tjhnd) |
| 106 | { |
| 107 | tjDestroy(tjhnd); tjhnd = NULL; |
| 108 | } |
| 109 | delete [] rbits; rbits = NULL; |
| 110 | } |
| 111 | |
| 112 | |
| 113 | void GLFrame::init(rrframeheader &h, bool stereo_) |
nothing calls this directly
no test coverage detected