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