Changeset 42249 in vbox
- Timestamp:
- Jul 20, 2012 8:45:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r42248 r42249 2168 2168 return E_INVALIDARG; 2169 2169 2170 // sunlover 20070614: It is up to the guest to decide whether the hint is valid. 2171 // ULONG vramSize; 2172 // mParent->machine()->COMGETTER(VRAMSize)(&vramSize); 2173 // /* enough VRAM? */ 2174 // if ((width * height * (bpp / 8)) > (vramSize * 1024 * 1024)) 2175 // return setError(E_FAIL, tr("Not enough VRAM for the selected video mode")); 2170 /* 2171 * sunlover 20070614: It is up to the guest to decide whether the hint is 2172 * valid. Therefore don't do any VRAM sanity checks here! 2173 */ 2176 2174 2177 2175 /* Have to release the lock because the pfnRequestDisplayChange
Note:
See TracChangeset
for help on using the changeset viewer.