Matteo Bruni : d3dx9: Don't pass the D3DLOCK_DISCARD flag when mapping a texture.