Ticket #4572: ScreenPrefFix.diff
File ScreenPrefFix.diff, 834 bytes (added by , 14 years ago) |
---|
-
screen/ScreenMode.cpp
328 328 + info.height * info.height) / 0.254) / 10.0; 329 329 } 330 330 331 // Some older CRT monitors do not contain the monitor range information 332 // (EDID1_MONITOR_RANGES) in their EDID info resulting in the min/max 333 // horizontal/vertical frequencies being zero. In this case, set the 334 // vertical frequency range to 60..85 Hz. 335 336 if (info.min_vertical_frequency == 0) { 337 info.min_vertical_frequency = 60; 338 info.max_vertical_frequency = 85; 339 } 340 331 341 // TODO: If the names aren't sound, we could see if we find/create a 332 342 // database for the entries with user presentable names; they are fine 333 343 // for the models I could test with so far.