[PATCH] d3dx9: Correctly handle sprites array reallocation.