From: Sylvain Beucler Date: Sun, 19 May 2013 17:04:04 +0000 (+0000) Subject: Find this kind of bug is definitely out of my juridiction - please, PLEASE maintain... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=73ebfb445a85dcd34336c3f6de1f6f8fbf2e21d8;p=freeglut Find this kind of bug is definitely out of my juridiction - please, PLEASE maintain a list of changes to apply on each port. Having negative elapsed time messed the animations so weird that you can't guess where that came from. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1625 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/android/fg_init_android.c b/src/android/fg_init_android.c index 06ffa58..d19e91d 100644 --- a/src/android/fg_init_android.c +++ b/src/android/fg_init_android.c @@ -31,6 +31,10 @@ void fgPlatformInitialize() { fghPlatformInitializeEGL(); + + /* Get start time */ + fgState.Time = fgSystemTime(); + fgState.Initialised = GL_TRUE; }