VirtualBox

Changeset 95151 in vbox for trunk


Ignore:
Timestamp:
May 31, 2022 5:38:04 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151647
Message:

Devices/Graphics: renamed a macro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win-dx.cpp

    r95150 r95151  
    6565#define DX_CID_BACKEND UINT32_C(0xfffffffe)
    6666
    67 #define DX_RELEASE_ARRAY(a_Count, a_papArray) do { \
     67#define D3D_RELEASE_ARRAY(a_Count, a_papArray) do { \
    6868    for (uint32_t i = 0; i < (a_Count); ++i) \
    6969        D3D_RELEASE((a_papArray)[i]); \
     
    52205220        }
    52215221        if (pBackendDXContext->papBlendState)
    5222             DX_RELEASE_ARRAY(pBackendDXContext->cBlendState, pBackendDXContext->papBlendState);
     5222            D3D_RELEASE_ARRAY(pBackendDXContext->cBlendState, pBackendDXContext->papBlendState);
    52235223        if (pBackendDXContext->papDepthStencilState)
    5224             DX_RELEASE_ARRAY(pBackendDXContext->cDepthStencilState, pBackendDXContext->papDepthStencilState);
     5224            D3D_RELEASE_ARRAY(pBackendDXContext->cDepthStencilState, pBackendDXContext->papDepthStencilState);
    52255225        if (pBackendDXContext->papRasterizerState)
    5226             DX_RELEASE_ARRAY(pBackendDXContext->cRasterizerState, pBackendDXContext->papRasterizerState);
     5226            D3D_RELEASE_ARRAY(pBackendDXContext->cRasterizerState, pBackendDXContext->papRasterizerState);
    52275227        if (pBackendDXContext->papSamplerState)
    5228             DX_RELEASE_ARRAY(pBackendDXContext->cSamplerState, pBackendDXContext->papSamplerState);
     5228            D3D_RELEASE_ARRAY(pBackendDXContext->cSamplerState, pBackendDXContext->papSamplerState);
    52295229        if (pBackendDXContext->paQuery)
    52305230        {
     
    75377537    D3D_RELEASE(SavedState.pBlendState);
    75387538    pBlitter->pImmediateContext->OMSetRenderTargets(RT_ELEMENTS(SavedState.apRenderTargetView), SavedState.apRenderTargetView, SavedState.pDepthStencilView);
    7539     DX_RELEASE_ARRAY(RT_ELEMENTS(SavedState.apRenderTargetView), SavedState.apRenderTargetView);
     7539    D3D_RELEASE_ARRAY(RT_ELEMENTS(SavedState.apRenderTargetView), SavedState.apRenderTargetView);
    75407540    D3D_RELEASE(SavedState.pDepthStencilView);
    75417541    pBlitter->pImmediateContext->RSSetViewports(SavedState.NumViewports, &SavedState.aViewport[0]);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette