   Loading a texture a second time
  Hello, I''ve got a problem:I''m loading a texture from a file with D3DXCreateTextureFromFileEx and everything is just fine. But, when I''m trying to load a new one upon the first, an error occurs. Setting the old one to NULL doesn''t change anything. Any idea, what''s wrong? Tnx. 
  ...?If you are using the same IDirect3DTexture* for both calls, make sure you call Release() before loading it the second time. ;  Well, I have tried to call Release, but it results in an access violation. But I found out, if I call Addref, than it works.[EDIT]: OOPS, I've got the fault. It was just because of a erroneous pointer to the Device. Sorry.   [edited by - RedTheBad on February 17, 2004 11:38:32 AM]