Sign in to follow this  
r_bewick

textures pointing to eachother directx9 c++

Recommended Posts

Hi I would like to copy the contents of a LPDIRECT3DTEXTURE9 to another without them pointing to eachother; eg LPDIRECT3DTEXTURE9 texture1; ...//load texture1 LPDIRECT3DTEXTURE9 texture2 = texture1; ...//edit texture2 when I edit texture2, texture1 is also edited. How can I stop this happening? thanks, r_bewick

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this