Changeset 33241 in vbox for trunk/src/VBox/GuestHost/OpenGL/util
- Timestamp:
- Oct 19, 2010 4:37:06 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 66790
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/vboxhgsmi.c
r33223 r33241 16 16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 17 17 */ 18 // /#define IN_GUEST18 //#define IN_GUEST 19 19 #ifdef IN_GUEST 20 20 #ifdef RT_OS_WINDOWS … … 249 249 rc = pClient->pCmdBuffer->pfnLock(pClient->pCmdBuffer, 0, cbBuffer, fFlags, (void**)&pHdr); 250 250 AssertRC(rc); 251 if (RT_FAILURE(rc)) 252 crWarning("Failed to Lock the command buffer of size(%d), rc(%d)\n", cbBuffer, rc); 253 return pHdr; 251 if (RT_SUCCESS(rc)) 252 return pHdr; 253 254 crWarning("Failed to Lock the command buffer of size(%d), rc(%d)\n", cbBuffer, rc); 255 return NULL; 254 256 } 255 257 … … 365 367 if (!buf) 366 368 { 367 Assert(0);368 369 369 crDebug("Buffer pool %p was empty; allocating new %d byte buffer.", 370 370 (void *) pClient->bufpool, … … 394 394 if (!pBuf) 395 395 { 396 Assert(0);397 398 396 pBuf = (CRVBOXHGSMIBUFFER*)crAlloc(CRVBOXHGSMI_BUF_HDR_SIZE() + cbSize); 399 397 Assert(pBuf); … … 695 693 rc = pBuf->pfnUnlock(pBuf); 696 694 AssertRC(rc); 697 CRASSERT( rc);695 CRASSERT(RT_SUCCESS(rc)); 698 696 } 699 697 else
Note:
See TracChangeset
for help on using the changeset viewer.