Changeset 33929 in vbox for trunk/src/VBox/GuestHost/OpenGL
- Timestamp:
- Nov 10, 2010 9:31:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c
r33714 r33929 1237 1237 if (RT_FAILURE(rc) || RT_FAILURE(parms.hdr.result)) 1238 1238 { 1239 Assert(0); 1240 1239 1241 crWarning("Host doesn't accept our version %d.%d. Make sure you have appropriate additions installed!", 1240 1242 parms.vMajor.u.value32, parms.vMinor.u.value32); … … 1278 1280 if (g_crvboxhgcm.hGuestDrv == INVALID_HANDLE_VALUE) 1279 1281 { 1282 Assert(0); 1280 1283 crDebug("could not open VBox Guest Additions driver! rc = %d\n", GetLastError()); 1281 1284 VBOXCRHGSMIPROFILE_FUNC_EPILOGUE(); … … 1292 1295 crDebug("could not open Guest Additions kernel module! rc = %d\n", errno); 1293 1296 VBOXCRHGSMIPROFILE_FUNC_EPILOGUE(); 1297 Assert(0); 1294 1298 return FALSE; 1295 1299 } … … 1333 1337 { 1334 1338 crDebug("HGCM connect failed with rc=0x%x\n", info.result); 1339 Assert(0); 1335 1340 1336 1341 VBOXCRHGSMIPROFILE_FUNC_EPILOGUE(); … … 1341 1346 { 1342 1347 #ifdef RT_OS_WINDOWS 1343 crDebug("IOCTL for HGCM connect failed with rc=0x%x\n", GetLastError()); 1348 DWORD winEr = GetLastError(); 1349 Assert(0); 1350 crDebug("IOCTL for HGCM connect failed with rc=0x%x\n", winEr); 1344 1351 #else 1345 1352 crDebug("IOCTL for HGCM connect failed with rc=0x%x\n", errno); … … 1627 1634 if (RT_FAILURE(rc)) 1628 1635 { 1629 cr Warning("pfnBufferSubmitAsynch failed with %d \n", rc);1636 crError("pfnBufferSubmitAsynch failed with %d \n", rc); 1630 1637 return; 1631 1638 } … … 1761 1768 if (RT_FAILURE(rc)) 1762 1769 { 1763 cr Warning("pfnBufferSubmitAsynch failed with %d \n", rc);1770 crError("pfnBufferSubmitAsynch failed with %d \n", rc); 1764 1771 break; 1765 1772 } … … 1881 1888 callRes = _crVBoxHGSMICmdBufferGetRc(pClient); 1882 1889 } 1890 else 1891 { 1892 /* we can not recover at this point, report error & exit */ 1893 crError("pfnBufferSubmitAsynch failed with %d \n", rc); 1894 } 1883 1895 } 1884 1896 else … … 1914 1926 1915 1927 callRes = _crVBoxHGSMICmdBufferGetRc(pClient); 1928 } 1929 else 1930 { 1931 /* we can not recover at this point, report error & exit */ 1932 crError("Failed to submit CrHhgsmi buffer"); 1916 1933 } 1917 1934 }
Note:
See TracChangeset
for help on using the changeset viewer.