summaryrefslogtreecommitdiff
path: root/kms++
diff options
context:
space:
mode:
Diffstat (limited to 'kms++')
-rw-r--r--kms++/src/videomode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kms++/src/videomode.cpp b/kms++/src/videomode.cpp
index f675914..4964a57 100644
--- a/kms++/src/videomode.cpp
+++ b/kms++/src/videomode.cpp
@@ -19,6 +19,7 @@ unique_ptr<Blob> Videomode::to_blob(Card& card) const
float Videomode::calculated_vrefresh() const
{
+ // XXX interlace should only halve visible vertical lines, not blanking
float refresh = (clock * 1000.0) / (htotal * vtotal) * (interlace() ? 2 : 1);
return roundf(refresh * 100.0) / 100.0;
}