Józef Kucia : d3dx9: Correctly check if a texture is dynamic in D3DXCreateTextureFromFileInMemoryEx .