[ios/atv2] - missed one compile fix
authorMemphiz <memphis@machzwo.de>
Wed, 2 May 2012 19:32:59 +0000 (21:32 +0200)
committerMemphiz <memphis@machzwo.de>
Wed, 2 May 2012 19:32:59 +0000 (21:32 +0200)
xbmc/osx/IOSEAGLView.mm

index 998ff0e..49bc657 100644 (file)
   displayFPS = 1.0 / ([displayLink duration] * [displayLink frameInterval]);
   if (animationThread && [animationThread isExecuting] == YES)
   {
-    if (g_VideoReferenceClock)
+    if (g_VideoReferenceClock.IsRunning())
       g_VideoReferenceClock.VblankHandler(CurrentHostCounter(), displayFPS);
   }
   [pool release];