Changeset 24165 in vbox for trunk/src/VBox/Main/DisplayImpl.cpp
- Timestamp:
- Oct 29, 2009 3:46:38 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54104
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r23185 r24165 2340 2340 IFramebuffer *pFramebuffer = maFramebuffers[id].pFramebuffer; 2341 2341 2342 // if there is no framebuffer, this call is not interesting2343 2342 if (pFramebuffer == NULL) 2344 return; 2345 2346 pFramebuffer->Lock(); 2347 2348 HRESULT hr = pFramebuffer->ProcessVHWACommand((BYTE*)pCommand); 2349 if(FAILED(hr)) 2350 { 2351 rc = (hr == E_NOTIMPL) ? VERR_NOT_IMPLEMENTED : VERR_GENERAL_FAILURE; 2352 } 2353 2354 pFramebuffer->Unlock(); 2355 2343 { 2344 pFramebuffer->Lock(); 2345 2346 HRESULT hr = pFramebuffer->ProcessVHWACommand((BYTE*)pCommand); 2347 if(FAILED(hr)) 2348 { 2349 rc = (hr == E_NOTIMPL) ? VERR_NOT_IMPLEMENTED : VERR_GENERAL_FAILURE; 2350 } 2351 2352 pFramebuffer->Unlock(); 2353 } 2354 else 2355 { 2356 rc = VERR_NOT_IMPLEMENTED; 2357 } 2356 2358 } 2357 2359 else
Note:
See TracChangeset
for help on using the changeset viewer.