Changeset 89438 in vbox for trunk/src/VBox
- Timestamp:
- Jun 1, 2021 5:58:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/Svga.cpp
r89361 r89438 202 202 } 203 203 204 for (i = 0; i < RT_ELEMENTS(pSvgaInfo->au32Caps); ++i) 205 { 206 SVGARegWrite(pSvga, SVGA_REG_DEV_CAP, i); 207 pSvgaInfo->au32Caps[i] = SVGARegRead(pSvga, SVGA_REG_DEV_CAP); 204 if (RT_LIKELY(pSvga->u32Caps & SVGA_CAP_GBOBJECTS)) 205 { 206 for (i = 0; i < RT_ELEMENTS(pSvgaInfo->au32Caps); ++i) 207 { 208 SVGARegWrite(pSvga, SVGA_REG_DEV_CAP, i); 209 pSvgaInfo->au32Caps[i] = SVGARegRead(pSvga, SVGA_REG_DEV_CAP); 210 } 208 211 } 209 212
Note:
See TracChangeset
for help on using the changeset viewer.