Changeset 3711 in vbox
- Timestamp:
- Jul 19, 2007 8:39:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/gllindrv.cpp
r3708 r3711 194 194 pClient->enable.fbConfig = pClient->glxChooseFBConfig(pClient->dpy, screen_num, attribs, &returnedFBConfigs); 195 195 Log(("vboxglGetString: returned FBConfigs: %d\n", returnedFBConfigs)); 196 pClient->enable.visinfo = pClient->glxGetVisualFromFBConfig(pClient->dpy, fbConfig[0]);196 pClient->enable.visinfo = pClient->glxGetVisualFromFBConfig(pClient->dpy, pClient->enable.fbConfig[0]); 197 197 /* Create Window */ 198 198 attr.background_pixel = 0; 199 199 attr.border_pixel = 0; 200 attr.colormap = XCreateColormap(pClient->dpy, RootWindow(dpy, screen_num), visinfo->visual, AllocNone);200 attr.colormap = XCreateColormap(pClient->dpy, RootWindow(dpy, screen_num), pClient->enable.visinfo->visual, AllocNone); 201 201 attr.event_mask = StructureNotifyMask | ExposureMask; 202 202 mask = CWBackPixel | CWBorderPixel | CWColormap | CWEventMask;
Note:
See TracChangeset
for help on using the changeset viewer.