From 7017323f14650e103f8fb30423e752b2de7d4e49 Mon Sep 17 00:00:00 2001 From: "Arun Kumar K.R" Date: Thu, 3 Mar 2011 22:13:49 -0800 Subject: [PATCH] liboverlay: enable rotator only for primary display Enable rotator only for primary if the panel type is MDDI Change-Id: I513de9c022e2a92e8bcd8f683f332903f708e6fa --- liboverlay/overlayLib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liboverlay/overlayLib.cpp b/liboverlay/overlayLib.cpp index f2ea2fa..ddcd145 100644 --- a/liboverlay/overlayLib.cpp +++ b/liboverlay/overlayLib.cpp @@ -179,7 +179,7 @@ bool Overlay::startChannel(int w, int h, int format, int fbnum, unsigned int format3D, int channel, bool ignoreFB, int num_buffers) { int zorder = 0; - if( mRotate) + if(mRotate && !fbnum) norot = 0; if (format3D)