From 3eaf632a456a0d83080e751887676993fdc501c1 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Tue, 11 Oct 2016 10:49:58 +0300 Subject: Add comment about ilace Signed-off-by: Tomi Valkeinen --- kms++/src/videomode.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'kms++') 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 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; } -- cgit v1.2.3