Lines Matching refs:FAILED
279 if( FAILED(pSurface->Lock( NULL, in dumpSurface()
437 if( FAILED( DirectDrawCreate( gpSelectedDriverGUID, &pDirectDraw, NULL ))) in createDirectDraw()
441 if( FAILED( pDirectDraw->QueryInterface( IID_IDirectDraw2, (LPVOID*)&pDirectDraw2 ))) in createDirectDraw()
764 if(FAILED(hr)) in DXSurface()
780 if( FAILED(pSurface->QueryInterface(IID_IDirect3DTexture2, (LPVOID *)&pTexture)) ) in DXSurface()
823 if(FAILED(mpTexture->GetHandle( in selectTexture()
831 if(FAILED(mrRenderModule.getDevice()->SetRenderState( in selectTexture()
904 if( FAILED(mpSurface->Lock( NULL, in update()
1165 if( FAILED( mpDirectDraw->SetCooperativeLevel( mhWnd, in create()
1180 if( FAILED( mpDirectDraw->GetDisplayMode( &maSelectedFullscreenMode.selectedDesc )) ) in create()
1208 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pPrimarySurface, NULL)) ) in create()
1221 if( FAILED(mpDirectDraw->CreateClipper( 0, &pClipper, NULL )) ) in create()
1229 if( FAILED(pClipper->SetHWnd(0, mhWnd)) ) in create()
1238 if( FAILED(mpPrimarySurface->SetClipper( pClipper )) ) in create()
1278 if( FAILED( nRes ) ) in create()
1284 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL)) ) in create()
1348 if( FAILED( mpDirectDraw->QueryInterface( IID_IDirect3D2, (LPVOID*)&pDirect3D ) ) ) in setup3DDevice()
1359 if( FAILED(mpDirect3D->CreateDevice( IID_IDirect3DHALDevice, in setup3DDevice()
1374 if(FAILED(pDirect3DDevice->GetCaps(&maDeviceDesc,&aHELDeviceDesc))) in setup3DDevice()
1508 if( FAILED( mpDirectDraw->GetCaps( &aHWCaps, in queryCaps()
1542 if(FAILED( mpDirectDraw->GetDisplayMode(&desc))) in validateCaps()
1584 …if( FAILED(const_cast<IDirectDraw2&>(*mpDirectDraw).GetAvailableVidMem( &aSurfaceCaps, &nTotal, &n… in getAvailableSurfaceMem()
1593 …if( FAILED(const_cast<IDirectDraw2&>(*mpDirectDraw).GetAvailableVidMem( &aSurfaceCaps, &nTotal, &n… in getAvailableSurfaceMem()
1620 …if( FAILED(const_cast<IDirectDraw2&>(*mpDirectDraw).GetAvailableVidMem( &aSurfaceCaps, &nTotal, &n… in getAvailableTextureMem()
1629 …if( FAILED(const_cast<IDirectDraw2&>(*mpDirectDraw).GetAvailableVidMem( &aSurfaceCaps, &nTotal, &n… in getAvailableTextureMem()
1696 if(FAILED(nRes)) in createSystemMemorySurface()
1789 if( FAILED(mpDirectDraw->WaitForVerticalBlank(DDWAITVB_BLOCKBEGIN, in flip()
1866 if(FAILED(mpPrimarySurface->Restore())) in validateMainSurfaces()
1902 if( FAILED( nRes ) ) in validateMainSurfaces()
1908 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL)) ) in validateMainSurfaces()
2195 if( FAILED(mpDirect3DDevice->BeginScene()) ) in flushVertexCache()
2199 if( FAILED(mpDirect3DDevice->SetRenderState(D3DRENDERSTATE_ALPHABLENDENABLE,TRUE))) in flushVertexCache()
2203 if( FAILED(mpDirect3DDevice->SetRenderState(D3DRENDERSTATE_TEXTUREMAPBLEND, in flushVertexCache()
2223 if( FAILED(mpDirect3DDevice->SetRenderState(D3DRENDERSTATE_SRCBLEND, in flushVertexCache()
2228 if( FAILED(mpDirect3DDevice->SetRenderState(D3DRENDERSTATE_DESTBLEND, in flushVertexCache()
2235 if( FAILED(mpDirect3DDevice->SetRenderState(D3DRENDERSTATE_CULLMODE, in flushVertexCache()
2263 mbError |= FAILED(mpDirect3DDevice->DrawPrimitive(D3DPT_TRIANGLELIST, in flushVertexCache()
2269 mbError |= FAILED(mpDirect3DDevice->EndScene()); in flushVertexCache()