[PATCH 4/4] d3dx9: Add basic support for saving surfaces to targa files.