• Advertisement

Archived

This topic is now archived and is closed to further replies.

Raw Texture Data (DX8)

This topic is 5993 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does any one know why whenever I attempt to save and reload texture data it only reloads (and possibly saves) half of the texture. The process I am using to attain the data is LockRect -> D3DLOCKED.pBits -> fwrite data...

Share this post


Link to post
Share on other sites
Advertisement
Post your code, or use:

D3DXSaveTextureToFile
D3DXSaveSurfaceToFile
D3DXLoadSurfaceFromFile
D3DXCreateTextureFromFile

Share this post


Link to post
Share on other sites

  • Advertisement