Original Post
I am trying to use the D3DXLoadTextureFromSurface function to load a DirectDraw Surface onto a D3DX texture surface. I have something set up wrong but I''m not sure what it is. I can already get the D3DXCreateTextureFromFile function to work, but I need to use D3DXLoadTextureFromSurface so I can do color-keying type transparency. So anyways, could anybody give me some good setup parameters both for the LPDIRECTDRAWSURFACE7 buffer to be copied from and the IDirectDrawSurface7 I am copying to?