(D3D) set_resize function bound to D3D context driver