Hello guys!
I made a game some years ago, a really old one using DX9 2004 and I'm trying to update it to the latest DX9. I managed to compile it with visual2010 but there are some strange behaviours ingame, most of the textures are black. I've checked more and more times and the only thing I found wrong is that LockRect returns D3DERR_INVALIDCALL but I can't understand why.
Please, some suggestions are appreciated.