why doest the following function only fail when in fullscreen mode? if im in windowed mode im fine.
it returns with a value D3DERR_INVALIDCALL. whats makes it valid in windowed mode but not fullscreen.Code:HRESULT hr = D3DXCreateTextureFromFileEx (d3dDevice, fileName, 0, 0, 0, 0, D3DFMT_A8R8G8B8, D3DPOOL_MANAGED, D3DX_FILTER_NONE, D3DX_DEFAULT, colorkey, &SrcInfo, NULL, &d3dTexture);