Original Post
If I load a texture using D3DXLoadTextureFromFile into a LPDIRECT3DTEXTURE9 followed by a LockRect on a certain portion of the texture, how I do I copy the contents of the locked data to a new texture. I looked on MSDN for a function that does what I am looking for, but was unable to find anything. Maybe I didn't look hard enough, but I would be very appreciative if someone could at least point me in the right direction. Thanks.