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.
HRESULT hr = D3DXCreateTextureFromFileEx (d3dDevice, fileName, 0, 0, 0, 0,
D3DFMT_A8R8G8B8, D3DPOOL_MANAGED, D3DX_FILTER_NONE, D3DX_DEFAULT,
colorkey, &SrcInfo, NULL, &d3dTexture);
is the error ocuring before this function call?
if not then is must be one of your parameters
Could be a texture format incompatability?
Switch to the debug runtime, and watch the debug output.