| 30 | |
| 31 | |
| 32 | GLFrame::GLFrame(char *dpystring, Window win_) : Frame(), dpy(NULL), win(win_), |
| 33 | ctx(0), tjhnd(NULL), newdpy(false) |
| 34 | { |
| 35 | if(!dpystring || !win) |
| 36 | throw(Error("GLFrame::GLFrame", "Invalid argument")); |
| 37 | |
| 38 | if(!(dpy = XOpenDisplay(dpystring))) THROW("Could not open display"); |
| 39 | newdpy = true; |
| 40 | isGL = true; |
| 41 | init(); |
| 42 | } |
| 43 | |
| 44 | |
| 45 | GLFrame::GLFrame(Display *dpy_, Window win_) : Frame(), dpy(NULL), win(win_), |
nothing calls this directly
no test coverage detected