Changeset 3713 in vbox for trunk/src/VBox
- Timestamp:
- Jul 19, 2007 8:41:59 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/gllindrv.cpp
r3712 r3713 202 202 mask = CWBackPixel | CWBorderPixel | CWColormap | CWEventMask; 203 203 pClient->enable.win = XCreateWindow(pClient->dpy, RootWindow(pClient->dpy, screen_num), 0, 0, 100, 100, 204 0, visinfo->depth, InputOutput,205 visinfo->visual, mask, &attr);204 0, pClient->enable.visinfo->depth, InputOutput, 205 pClient->enable.visinfo->visual, mask, &attr); 206 206 /* Create Context */ 207 pClient->enable.ctx = pClient->glxCreateNewContext(pClient->dpy, fbConfig[0], GLX_RGBA_TYPE, NULL, True);207 pClient->enable.ctx = pClient->glxCreateNewContext(pClient->dpy, pClient->enable.fbConfig[0], GLX_RGBA_TYPE, NULL, True); 208 208 209 209 glXMakeCurrent(pClient->dpy, pClient->enable.win, pClient->enable.ctx);
Note:
See TracChangeset
for help on using the changeset viewer.