VirtualBox

Ignore:
Timestamp:
Apr 20, 2020 9:16:29 AM (5 years ago)
Author:
vboxsync
Message:

VBoxMPWddm.h: Removed ancient disabling of assertions (r71411).

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPLegacy.cpp

    r82968 r83840  
    10001000    {
    10011001        Assert(pPresent->Flags.Value == 4); /* only Blt is set, we do not support anything else for now */
    1002         Assert(pContext->enmType == VBOXWDDM_CONTEXT_TYPE_CUSTOM_3D);
     1002        //Assert(pContext->enmType == VBOXWDDM_CONTEXT_TYPE_CUSTOM_3D);
    10031003        DXGK_ALLOCATIONLIST *pSrc =  &pPresent->pAllocationList[DXGK_PRESENT_SOURCE_INDEX];
    10041004        PVBOXWDDM_ALLOCATION pSrcAlloc = vboxWddmGetAllocationFromAllocList(pSrc);
     
    10301030    else if (pPresent->Flags.ColorFill)
    10311031    {
    1032         Assert(pContext->enmType == VBOXWDDM_CONTEXT_TYPE_CUSTOM_2D);
     1032        //Assert(pContext->enmType == VBOXWDDM_CONTEXT_TYPE_CUSTOM_2D);
    10331033        Assert(pPresent->Flags.Value == 2); /* only ColorFill is set, we do not support anything else for now */
    10341034        DXGK_ALLOCATIONLIST *pDst =  &pPresent->pAllocationList[DXGK_PRESENT_DESTINATION_INDEX];
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r83827 r83840  
    503503    {
    504504        VBOXWDDM_TARGET *pTarget = &pDevExt->aTargets[i];
    505         Assert(pTarget->u32Id == i);
     505        Assert(pTarget->u32Id == (unsigned)i);
    506506        if (pTarget->VidPnSourceId != D3DDDI_ID_UNINITIALIZED)
    507507        {
     
    562562    {
    563563        VBOXWDDM_TARGET *pTarget = &pDevExt->aTargets[i];
    564         Assert(pTarget->u32Id == i);
     564        Assert(pTarget->u32Id == (unsigned)i);
    565565        if (pTarget->VidPnSourceId != D3DDDI_ID_UNINITIALIZED)
    566566        {
     
    38503850            {
    38513851                VBOXWDDM_TARGET *pTarget = &pDevExt->aTargets[i];
    3852                 Assert(pTarget->u32Id == i);
     3852                Assert(pTarget->u32Id == (unsigned)i);
    38533853                if (pTarget->VidPnSourceId != D3DDDI_ID_UNINITIALIZED)
    38543854                {
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.h

    r82968 r83840  
    2424#define VBOX_WDDM_DRIVERNAME L"VBoxWddm"
    2525
    26 #ifndef DEBUG_misha
    27 # ifdef Assert
    28 #  error "VBoxMPWddm.h must be included first."
    29 # endif
    30 # define RT_NO_STRICT
    31 #endif
    3226#include "common/VBoxMPUtils.h"
    3327#include "common/VBoxMPDevExt.h"
Note: See TracChangeset for help on using the changeset viewer.

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