turn dynamic super res off on the fly

This commit is contained in:
alphanu1 2019-02-12 11:23:53 +00:00 committed by GitHub
parent 31ad524556
commit c9c3c626e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2650,6 +2650,8 @@ void video_driver_frame(const void *data, unsigned width,
width = 1920;
if (video_info.crt_switch_resolution_super == 1)
video_driver_crt_dynamic_super_width = true;
else
video_driver_crt_dynamic_super_width = false;
crt_switch_res_core(width, height, video_driver_core_hz, video_info.crt_switch_resolution, video_info.crt_switch_center_adjust, video_info.monitor_index, video_driver_crt_dynamic_super_width);
}