Don't request doubled refresh rate - the new SudoVDA driver already created the doubled mode
This commit is contained in:
+4
-4
@@ -263,10 +263,6 @@ namespace proc {
|
|||||||
|
|
||||||
int target_fps = launch_session->fps ? launch_session->fps : 60;
|
int target_fps = launch_session->fps ? launch_session->fps : 60;
|
||||||
|
|
||||||
if (config::video.double_refreshrate) {
|
|
||||||
target_fps *= 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::wstring vdisplayName = VDISPLAY::createVirtualDisplay(
|
std::wstring vdisplayName = VDISPLAY::createVirtualDisplay(
|
||||||
device_uuid_str.c_str(),
|
device_uuid_str.c_str(),
|
||||||
device_name.c_str(),
|
device_name.c_str(),
|
||||||
@@ -276,6 +272,10 @@ namespace proc {
|
|||||||
launch_session->display_guid
|
launch_session->display_guid
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (config::video.double_refreshrate) {
|
||||||
|
target_fps *= 2;
|
||||||
|
}
|
||||||
|
|
||||||
if (!vdisplayName.empty()) {
|
if (!vdisplayName.empty()) {
|
||||||
BOOST_LOG(info) << "Virtual Display created at " << vdisplayName;
|
BOOST_LOG(info) << "Virtual Display created at " << vdisplayName;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user