2011/6/16 Charles Welton charleswfb@gmail.com:
- IDirect3DDevice9_Release(return_device);
- ID3DXLine_Release(line);
You could add a couple of ok() checks for the values returned by Release, to ensure nothing strange is happening.
Btw, thanks for contributing. :)