MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / ~GLFrame

Method ~GLFrame

client/GLFrame.cpp:95–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93
94
95GLFrame::~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
113void GLFrame::init(rrframeheader &h, bool stereo_)

Callers

nothing calls this directly

Calls 3

glXMakeCurrentFunction · 0.85
glXDestroyContextFunction · 0.85
XCloseDisplayFunction · 0.85

Tested by

no test coverage detected