Even if vfbRRGetInfo is a no-op, it is better to set the
"rotations" return value.

Signed-off-by: Paolo Borelli <pbore...@gnome.org>
---
 hw/vfb/InitOutput.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c
index d7bfd70..ee0a154 100644
--- a/hw/vfb/InitOutput.c
+++ b/hw/vfb/InitOutput.c
@@ -795,6 +795,8 @@ vfbRRCrtcSet(ScreenPtr pScreen,
 static Bool
 vfbRRGetInfo(ScreenPtr pScreen, Rotation *rotations)
 {
+    *rotations = 0;
+
     return TRUE;
 }
 
-- 
2.7.4

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to