Changeset 57083 in vbox for trunk/src/VBox
- Timestamp:
- Jul 26, 2015 8:49:04 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.cpp
r57082 r57083 444 444 */ 445 445 uint32_t iStart = 0; 446 uint32_t iEnd = pEnumMap->cValues;446 uint32_t iEnd = (uint32_t)pEnumMap->cValues; 447 447 for (;;) 448 448 { -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.h
r57082 r57083 1508 1508 { D3DFMT_FORCE_DWORD , "FORCE_DWORD" }, 1509 1509 }; 1510 VMSVGAINFOENUMMAP_MAKE(static, g_D3DFormat2String, g_aD3DFormats, "D3DFMT_"); 1510 1511 1511 1512 /** Values for D3DMULTISAMPLE_TYPE, prefix D3DMULTISAMPLE_. */ … … 1531 1532 { D3DMULTISAMPLE_FORCE_DWORD , "FORCE_DWORD" }, 1532 1533 }; 1534 VMSVGAINFOENUMMAP_MAKE(static, g_D3DMultiSampleType2String, g_aD3DMultiSampleTypes, "D3DMULTISAMPLE_"); 1533 1535 1534 1536 /** D3DUSAGE_XXX flag value, prefix D3DUSAGE_. */ … … 1625 1627 #ifdef VMSVGA3D_DIRECT3D 1626 1628 pHlp->pfnPrintf(pHlp, "formatD3D: %s\n", 1627 vmsvgaFormatEnumValueEx(szTmp, sizeof(szTmp), NULL, pSurface->formatD3D, 1628 "D3DFMT_", g_aD3DFormats, RT_ELEMENTS(g_aD3DFormats))); 1629 vmsvgaFormatEnumValueEx(szTmp, sizeof(szTmp), NULL, pSurface->formatD3D, true, &g_D3DFormat2String)); 1629 1630 pHlp->pfnPrintf(pHlp, "fUsageD3D: %#x", pSurface->fUsageD3D); 1630 1631 vmsvga3dInfoU32Flags(pHlp, pSurface->fUsageD3D, "D3DUSAGE_", g_aD3DUsageFlags, RT_ELEMENTS(g_aD3DUsageFlags)); … … 1632 1633 pHlp->pfnPrintf(pHlp, "multiSampleTypeD3D: %s\n", 1633 1634 vmsvgaFormatEnumValueEx(szTmp, sizeof(szTmp), NULL, pSurface->multiSampleTypeD3D, 1634 "D3DMULTISAMPLE", g_aD3DMultiSampleTypes, RT_ELEMENTS(g_aD3DMultiSampleTypes)));1635 true, &g_D3DMultiSampleType2String)); 1635 1636 if (pSurface->hSharedObject != NULL) 1636 1637 pHlp->pfnPrintf(pHlp, "hSharedObject: %p\n", pSurface->hSharedObject);
Note:
See TracChangeset
for help on using the changeset viewer.