Original Post
In the documentation for D3DX9 is says :
HRESULT ID3DXRenderToEnvMap::Face(D3DCUBEMAP_FACES Face);
but when I compile my code I get an error which says
Face function takes 2 parameters...
So I add a new parameter 0, and then it works...
same with
HRESULT ID3DXRenderToEnvMap::End(void);
Has anyone had this problem?
Is it me or microsoft who has done the error?