uiacceltk/hitchcock/backgroundanim/src/bganimhost.cpp
changeset 13 8f67d927ea57
parent 0 15bf7259bb7c
child 14 83d2d132aa58
--- a/uiacceltk/hitchcock/backgroundanim/src/bganimhost.cpp	Tue Feb 02 07:56:43 2010 +0200
+++ b/uiacceltk/hitchcock/backgroundanim/src/bganimhost.cpp	Fri Mar 19 09:43:21 2010 +0200
@@ -26,7 +26,7 @@
 
 typedef void* (*plugingetinterfacefunc)(int);
 
-const TInt KRefreshTarget = 15;
+const TInt KRefreshTarget = 99;
 _LIT(KExeCaption,"BG anim host");
 
 static const TUint KMaxGPUMemUsage = 1024*1024*4;
@@ -370,7 +370,6 @@
 	
 	eglMakeCurrent( iEGLDisplay, iEGLSurface, iEGLSurface, iEGLContext );        
 
-
     free(configList);
     free(preferredConfig);
 	
@@ -611,7 +610,7 @@
 
 void CBgAnimHost::DataReceived( CSensrvChannel& aChannel, TInt aCount, TInt aDataLost )
     {
-    if (iPlugin && iPlugin->receivesensordata);
+    if (iPlugin && iPlugin->receivesensordata)
         {
         iPlugin->receivesensordata((void*)&aChannel, aCount, aDataLost);
         }