Bug 3800 : fix default rotation for QEMU (and other non wins targets)
authorandy simpson <andrews@symbian.org>
Fri, 08 Oct 2010 16:48:02 +0100
changeset 196 de01fe7e33d2
parent 169 3c2818e88c00
child 197 ae38b71cf500
Bug 3800 : fix default rotation for QEMU (and other non wins targets)
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)
         {