Original Post
Hi all, Quick query regarding D3DXCreateTextureFromFile - every time I try to use it I get a D3DXERR_INVALIDDATA error. The DirectX doco doesn't provide much extra information (just "the data is invalid"), and I've tried quite a few textures, from large 1600x1200 jpg's (which the doco says CreateTextureFromFile can handle), to simply 256x256 black and white (ie. 1 bit) .bmp files freshly created in Photoshop. I always get the same error though. Any thoughts on what might be causing it, or any suggestions on how I can get more information about exactly what the problem with the textures I'm trying to load is? Cheers, Peter.