D3D10: ERROR: ID3D10Device::CreateTexture2D: Returning E_INVALIDARG, meaning invalid parameters were passed. [ STATE_CREATION ERROR #104: CREATETEXTURE2D_INVALIDARG_RETURN ]
[SlimDX] Access Texture data
Ohh...
Well if you replace the line with
it still doesn't work...
(same exception)
Well if you replace the line with
info.Format = SlimDX.DXGI.Format.R32G32_Float;
it still doesn't work...
(same exception)
Ohh...
Well if you replace the line with
it still doesn't work...
(same exception)
Well if you replace the line with
info.Format = SlimDX.DXGI.Format.R32G32_Float;
it still doesn't work...
(same exception)
Why are you using a 64-bit red/green only format? It looks to me like you don't understand the meaning of those format constants.
You probably want to pass FileDefault for the format parameter as well. This may not be the cause of your problem, but since you were unable to actually answer my original question about the format I feel safe concluding you don't actually need to be changing the format to something obscure like that.
You probably want to pass FileDefault for the format parameter as well. This may not be the cause of your problem, but since you were unable to actually answer my original question about the format I feel safe concluding you don't actually need to be changing the format to something obscure like that.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement