File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/detection/displayserver Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -161,11 +161,10 @@ static void detectDisplays(FFDisplayServerResult* ds)
161161 preferredRefreshRate = freq .Numerator / (double ) freq .Denominator ;
162162 }
163163
164- DISPLAYCONFIG_VIDEO_SIGNAL_INFO * signalInfo = & modes [path -> targetInfo .modeInfoIdx ].targetMode .targetVideoSignalInfo ;
165164 FFDisplayResult * display = ffdsAppendDisplay (ds ,
166165 width ,
167166 height ,
168- signalInfo -> vSyncFreq . Numerator / (double ) signalInfo -> vSyncFreq .Denominator ,
167+ path -> targetInfo . refreshRate . Numerator / (double ) path -> targetInfo . refreshRate .Denominator ,
169168 (uint32_t ) (monitorInfo -> info .rcMonitor .right - monitorInfo -> info .rcMonitor .left ),
170169 (uint32_t ) (monitorInfo -> info .rcMonitor .bottom - monitorInfo -> info .rcMonitor .top ),
171170 preferredMode .width ,
You can’t perform that action at this time.
0 commit comments