# HG changeset patch # User andy simpson # Date 1286552882 -3600 # Node ID de01fe7e33d2410b919af25c2fb4d07d20c862ab # Parent 3c2818e88c00c7c502333bf8bf5821bd5d290800 Bug 3800 : fix default rotation for QEMU (and other non wins targets) diff -r 3c2818e88c00 -r de01fe7e33d2 graphicscomposition/openwfc_ri_displaychannel/src/openwfc_ri_displaychannel.cpp --- a/graphicscomposition/openwfc_ri_displaychannel/src/openwfc_ri_displaychannel.cpp Fri Sep 03 14:44:32 2010 +0100 +++ b/graphicscomposition/openwfc_ri_displaychannel/src/openwfc_ri_displaychannel.cpp Fri Oct 08 16:48:02 2010 +0100 @@ -93,15 +93,15 @@ } User::LeaveIfError(iDispChan.Open(iScreenNumber)); -#ifdef __WINS__ +//#ifdef __WINS__ iScreenInfo.iDefaultRotation = EScreenRotate0; iDefaultRotation = RDisplayChannel::ERotationNormal; iRotationOffset = 0; -#else - iScreenInfo.iDefaultRotation = EScreenRotate270; - iDefaultRotation = RDisplayChannel::ERotation270CW; - iRotationOffset = 3; -#endif +//#else +// iScreenInfo.iDefaultRotation = EScreenRotate270; +// iDefaultRotation = RDisplayChannel::ERotation270CW; +// iRotationOffset = 3; +//#endif RDisplayChannel::TDisplayRotation rotation = iDispChan.CurrentRotation(); switch (rotation) {