Lines Matching refs:FAILED
336 if(FAILED(pDevice->CreateTexture( in DXSurface()
371 if( FAILED(pDevice->SetTexture(0,mpTexture.get())) ) in selectTexture()
627 if( FAILED(mpDevice->CreateVertexBuffer(sizeof(dxvertex)*maNumVertices, in DXRenderModule()
750 if(FAILED(mpDirect3D9->GetDeviceCaps(nAdapter,D3DDEVTYPE_HAL,&aCaps))) in verifyDevice()
760 if(FAILED(mpDirect3D9->GetAdapterIdentifier(nAdapter,0,&aIdent))) in verifyDevice()
855 if(FAILED(mpDirect3D9->CreateDevice(aAdapter, in createDevice()
862 if(FAILED(mpDirect3D9->CreateDevice(aAdapter, in createDevice()
908 if( FAILED(mpDevice->CreateOffscreenPlainSurface( in createSystemMemorySurface()
948 if(FAILED(hr)) in flip()
964 if( FAILED(mpDevice->CreateVertexBuffer(sizeof(dxvertex)*maNumVertices, in flip()
1048 if(FAILED(mpDevice->CreateAdditionalSwapChain(&mad3dpp,&pSwapChain))) in resize()
1225 if(FAILED(mpDevice->SetStreamSource(0,mpVertexBuffer.get(),0,nVertexStride))) in commitVertexCache()
1228 if(FAILED(mpDevice->SetFVF(D3DFVF_XYZRHW|D3DFVF_DIFFUSE|D3DFVF_TEX1))) in commitVertexCache()
1231 if(FAILED(mpDevice->BeginScene())) in commitVertexCache()
1234 mbError |= FAILED(mpDevice->DrawPrimitive(D3DPT_TRIANGLELIST,maReadIndex,nNumPrimitives)); in commitVertexCache()
1235 mbError |= FAILED(mpDevice->EndScene()); in commitVertexCache()
1252 if( FAILED(mpDevice->SetRenderState(D3DRS_LIGHTING,FALSE))) in flushVertexCache()
1256 if( FAILED(mpDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,TRUE))) in flushVertexCache()
1274 if( FAILED(mpDevice->SetRenderState(D3DRS_SRCBLEND,D3DBLEND_SRCALPHA)) ) in flushVertexCache()
1278 if( FAILED(mpDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVSRCALPHA)) ) in flushVertexCache()
1284 if( FAILED(mpDevice->SetRenderState(D3DRS_CULLMODE,D3DCULL_NONE)) ) in flushVertexCache()
1315 if(FAILED(mpVertexBuffer->Lock(maWriteIndex*nVertexStride, in flushVertexCache()