From 73ebfb445a85dcd34336c3f6de1f6f8fbf2e21d8 Mon Sep 17 00:00:00 2001 From: Sylvain Beucler Date: Sun, 19 May 2013 17:04:04 +0000 Subject: [PATCH] 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 --- src/android/fg_init_android.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 1.7.10.4