diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-10-11 10:49:58 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-10-11 11:22:24 +0300 |
commit | 3eaf632a456a0d83080e751887676993fdc501c1 (patch) | |
tree | cdedfc498c94e4371979fb3ef700594a6036e259 /kms++ | |
parent | e5a89a0eaa9df8be13837e4a7ce8ad9d06bfc15a (diff) |
Add comment about ilace
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++')
-rw-r--r-- | kms++/src/videomode.cpp | 1 |
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; } |