Implements surface_save for Direct3D 9