Changeset 3374 in vbox for trunk/src/VBox/HostServices/SharedOpenGL
- Timestamp:
- Jul 3, 2007 7:58:10 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22572
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/glwindrv.cpp
r3354 r3374 55 55 { 56 56 VBOXOGLCTX *pClient = (VBOXOGLCTX *)pvUser; 57 58 pClient->hwnd= CreateWindow("VBoxOGL", "VirtualBox OpenGL", 59 WS_CAPTION | WS_POPUPWINDOW | WS_VISIBLE, 60 0, 0, 0, 0, 61 NULL, NULL, 0, NULL); 62 Assert(pClient->hwnd); 57 HWND hwnd; 58 59 hwnd = pClient->hwnd= CreateWindow("VBoxOGL", "VirtualBox OpenGL", 60 WS_CAPTION | WS_POPUPWINDOW | WS_VISIBLE, 61 0, 0, 0, 0, 62 NULL, NULL, 0, NULL); 63 Assert(hwnd); 63 64 while(true) 64 65 { … … 74 75 } 75 76 } 77 DestroyWindow(hwnd); 76 78 return VINF_SUCCESS; 77 79 } … … 132 134 DeleteDC(pClient->hdc); 133 135 PostMessage(pClient->hwnd, WM_CLOSE, 0, 0); 136 pClient->hwnd = 0; 134 137 } 135 138 #endif
Note:
See TracChangeset
for help on using the changeset viewer.