Author: greatlrd Date: Sat Apr 12 07:36:55 2008 New Revision: 32921
URL: http://svn.reactos.org/svn/reactos?rev=32921&view=rev Log: forget add ASSERT for pHalInfo->GetDriverInfo if the drv does not set this, the dx will not be activated.
Modified: trunk/rostests/apitests/w32knapi/ntdd/NtGdiDdQueryDirectDrawObject.c
Modified: trunk/rostests/apitests/w32knapi/ntdd/NtGdiDdQueryDirectDrawObject.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32knapi/ntdd/NtG... ============================================================================== --- trunk/rostests/apitests/w32knapi/ntdd/NtGdiDdQueryDirectDrawObject.c [iso-8859-1] (original) +++ trunk/rostests/apitests/w32knapi/ntdd/NtGdiDdQueryDirectDrawObject.c [iso-8859-1] Sat Apr 12 07:36:55 2008 @@ -172,9 +172,6 @@ // pHalInfo->vmiData->dwAlphaAlign
/* the primary display address */ - - /* test see if it in kmode memory or not, t */ - RTEST(pHalInfo->vmiData.pvPrimary != 0 ); RTEST( ( (DWORD)pHalInfo->vmiData.pvPrimary & (~0x80000000)) != 0 );
/* test see if we got back the pvmList here @@ -203,7 +200,7 @@
/* point to kmode direcly to the graphic drv, the drv is kmode and it is kmode address we getting back*/ RTEST( ( (DWORD)pHalInfo->GetDriverInfo & (~0x80000000)) != 0 ); - + ASSERT( ((DWORD)pHalInfo->GetDriverInfo & (~0x80000000)) != 0 );
/* the pHalInfo->ddCaps.ddsCaps.dwCaps & DDSCAPS_3DDEVICE will be ignore, only way detect it proper follow code, * this will be fill in of all drv, it is not only for 3d stuff, this always fill by win32k.sys or dxg.sys depns