   Texture dimesnsions before loading.
  Hey all.Does anyone know how to find the dimensions of a texture BEFORE i create it with D3DXCreateTextureFromFileEx() ? I can get the data this way:  LPDIRECT3DSURFACE9 pSurface;  D3DSURFACE_DESC Desc;  m_pTexture->GetSurfaceLevel ( 0, &pSurface );  pSurface->GetDesc ( &Desc );  pSurface->Release();but obviously only after I have loaded the texture.thanks-programmer_tom   
  Check out D3DXGetImageInfoFromFile.;  Thanks man...i appreciate it :)-programmer_tom   ;  You're very welcome!