change sw_render_destroy_priv_data to sw_render_destroy_data