graphicstest/uibench/src/tflipframerate.cpp
branchRCL_3
changeset 164 25ffed67c7ef
parent 163 bbf46f59e123
--- a/graphicstest/uibench/src/tflipframerate.cpp	Tue Aug 31 16:31:06 2010 +0300
+++ b/graphicstest/uibench/src/tflipframerate.cpp	Wed Sep 01 12:39:21 2010 +0100
@@ -211,7 +211,7 @@
     TInt framesDone=0;
     
     iUpdateSession.NotifyWhenAvailable(availabilityStatus);
-    TESTL(KErrNone==iUpdateSession.SubmitUpdate(KAllScreens, iImgCol.SurfaceId(), 0));      
+    TESTL(KErrNone==iUpdateSession.SubmitUpdate(KSgScreenIdMain, iImgCol.SurfaceId(), 0));      
     
     // uibench, needs more than 50 results for the trimmed mean, so repeat as required.
     while(framesDone < KMinFrames)
@@ -231,7 +231,7 @@
     
             // Start Timer & Submit Update
             iProfiler->StartTimer();        
-            TESTL(KErrNone==iUpdateSession.SubmitUpdate(KAllScreens, iImgCol.SurfaceId(), 0));
+            TESTL(KErrNone==iUpdateSession.SubmitUpdate(KSgScreenIdMain, iImgCol.SurfaceId(), 0));
             
             // Wait for the update to have been displayed and stop the timer
             User::WaitForRequest(displayedStatus);