Changeset 82007 in vbox
- Timestamp:
- Nov 19, 2019 7:46:36 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 134809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/GraphicsAdapterImpl.cpp
r81971 r82007 248 248 HRESULT GraphicsAdapter::setAccelerate3DEnabled(BOOL aAccelerate3DEnabled) 249 249 { 250 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);251 252 250 /* the machine needs to be mutable */ 253 251 AutoMutableStateDependency adep(mParent); 254 252 if (FAILED(adep.rc())) return adep.rc(); 253 254 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 255 255 256 256 /** @todo check validity! */ … … 280 280 HRESULT GraphicsAdapter::setAccelerate2DVideoEnabled(BOOL aAccelerate2DVideoEnabled) 281 281 { 282 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);283 284 282 /* the machine needs to be mutable */ 285 283 AutoMutableStateDependency adep(mParent); 286 284 if (FAILED(adep.rc())) return adep.rc(); 285 286 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 287 287 288 288 /** @todo check validity! */ … … 312 312 aMonitorCount, 1, SchemaDefs::MaxGuestMonitors); 313 313 314 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);315 316 314 /* the machine needs to be mutable */ 317 315 AutoMutableStateDependency adep(mParent); 318 316 if (FAILED(adep.rc())) return adep.rc(); 317 318 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 319 319 320 320 mParent->i_setModified(Machine::IsModified_GraphicsAdapter);
Note:
See TracChangeset
for help on using the changeset viewer.