   DX9 fails on second CreateTexture
  i got a problem when creating my own texture twice.IDirect3DTexture9* pDiffuseTexture = 0;IDirect3DTexture9* pNormalMapTexture = 0;HRESULT hr = 0;hr = g_pd3d9Device->CreateTexture(256, 256, 1, 0, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &pDiffuseTexture, 0)));hr = g_pd3d9Device->CreateTexture(256, 256, 1, 0, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &pNormalMapTexture, 0)));on first pass, it returns  S_OK. But second pass it returns D3DERR_INVALIDCALL. The parameter is same.what is the problem actually?thanks.   
  I can't see a problem, but you're closing too many parentheses in the CreateTexture calls, which suggests that this is not your actual code.I'd suggest enabling the debug runtime (from the DirectX Control Panel application that comes with the SDK), and seeing if it prints anything about this error.   ;  Another vote for the debug runtimes. What graphics card do you have, and do you have the latest drivers?   ;  i did. but on output stream showed this message.Direct3D9: (ERROR) :Invalid format specified for textureDirect3D9: (ERROR) :Failure trying to create a texturei checked on caps viewier that my graphic card affords useing D3DFMT_A8R8G8B8. but i didn't understand, on second pass still fails.@Stevei'm using notebook. my graphic card is intelGMA965. i know that this card is not the latest one. but at least it should runs dx9 well.[Edited by - gedebook on November 23, 2009 10:51:59 PM];  Are you sure that's your exact code? That error means that the format passed to CreateTexture() is invalid (unsupported).It's also possible you have a weird driver bug, the Intel integrated chipsets are notoriously flakey.   