Changeset 39507 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserver
- Timestamp:
- Dec 2, 2011 7:44:16 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp
r39288 r39507 1245 1245 } 1246 1246 1247 #ifdef RT_OS_WINDOWS 1248 #define WIN32_LEAN_AND_MEAN 1249 #include <windows.h> 1250 BOOL WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved) 1251 { 1252 (void) lpvReserved; 1253 1254 switch (fdwReason) 1255 { 1256 case DLL_THREAD_ATTACH: 1257 { 1258 crStateOnThreadAttachDetach(GL_TRUE); 1259 break; 1260 } 1261 1262 case DLL_THREAD_DETACH: 1263 { 1264 crStateOnThreadAttachDetach(GL_FALSE); 1265 break; 1266 } 1267 1268 case DLL_PROCESS_ATTACH: 1269 case DLL_PROCESS_DETACH: 1270 default: 1271 break; 1272 } 1273 1274 return TRUE; 1275 } 1276 #endif
Note:
See TracChangeset
for help on using the changeset viewer.