VirtualBox

Ignore:
Timestamp:
Aug 17, 2010 4:50:03 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: fix debug assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp

    r31713 r31740  
    34723472                        tstH /= 2;
    34733473                        CONST D3DDDI_SURFACEINFO* pSurf = &pResource->pSurfList[i];
    3474                         Assert(pSurf->Width == tstW);
    3475                         Assert(pSurf->Height == tstH);
     3474                        Assert((pSurf->Width == tstW) || (!tstW && (pSurf->Width==1)));
     3475                        Assert((pSurf->Height == tstH) || (!tstH && (pSurf->Height==1)));
    34763476                    }
    34773477                }
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