[PATCH 4/5] d3dx9: Don't pass the D3DLOCK_DISCARD flag when mapping a texture.