Changeset 15707 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Dec 19, 2008 6:16:40 PM (16 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp
r15532 r15707 297 297 /* Update parameters.*/ 298 298 paParms[0].u.pointer.size = cbBuffer; //@todo guest doesn't see this change somehow? 299 paParms[1].u.uint32 = cbBuffer; 300 } 299 } 300 301 /* Return the required buffer size always */ 302 paParms[1].u.uint32 = cbBuffer; 301 303 302 304 break; … … 337 339 /* Update parameters.*/ 338 340 paParms[1].u.pointer.size = cbWriteback; 339 paParms[2].u.uint32 = cbWriteback;340 341 } 342 /* Return the required buffer size always */ 343 paParms[2].u.uint32 = cbWriteback; 341 344 } 342 345 break; -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r15532 r15707 460 460 crWarning("crServer: [%lx] ClientRead u32ClientID=%d FAIL, host buffer too small %d of %d", 461 461 crThreadID(), u32ClientID, *pcbBuffer, pClient->conn->cbHostBuffer); 462 return VERR_INVALID_PARAMETER; 462 463 /* Return the size of needed buffer */ 464 *pcbBuffer = pClient->conn->cbHostBuffer; 465 466 return VERR_BUFFER_OVERFLOW; 463 467 } 464 468
Note:
See TracChangeset
for help on using the changeset viewer.