Changeset 104780 in vbox for trunk/src/VBox/Main/testcase/tstAPI.cpp
- Timestamp:
- May 24, 2024 2:15:44 PM (12 months ago)
- svn:sync-xref-src-repo-rev:
- 163351
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstAPI.cpp
r99775 r104780 1148 1148 RTPrintf("\n"); 1149 1149 #endif 1150 1151 do { 1152 PlatformArchitecture_T platformArch = PlatformArchitecture_x86; 1153 ComPtr<IPlatformProperties> platformProperties; 1154 CHECK_ERROR_BREAK(virtualBox, GetPlatformProperties(platformArch, platformProperties.asOutParam())); 1155 ULONG uMinMB, uMaxMB, uStrideMB; 1156 CHECK_ERROR_BREAK(platformProperties, GetSupportedVRAMRange(GraphicsControllerType_VBoxVGA, TRUE /* fAccelerate3DEnabled */, &uMinMB, &uMaxMB, &uStrideMB)); 1157 ASSERT_BREAK(uMinMB && RT_IS_POWER_OF_TWO(uMinMB)); 1158 ASSERT_BREAK(uMaxMB && RT_IS_POWER_OF_TWO(uMaxMB)); 1159 ASSERT_BREAK(uStrideMB && RT_IS_POWER_OF_TWO(uStrideMB)); 1160 } while (0); 1150 1161 1151 1162 #if 1
Note:
See TracChangeset
for help on using the changeset viewer.