liboverlay: enable rotator only for primary display

Enable rotator only for primary if the panel type is MDDI

Change-Id: I513de9c022e2a92e8bcd8f683f332903f708e6fa
This commit is contained in:
Arun Kumar K.R 2011-03-03 22:13:49 -08:00 committed by Govind Surti
parent a3742036fc
commit 7017323f14

View File

@ -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)