Matteo Bruni : d3dx9/tests: Add a test for texture refcounts and OnLostDevice().