From 925f7446b7ed97000c2951559246c4393a5de3a3 Mon Sep 17 00:00:00 2001 From: beuc 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: https://svn.code.sf.net/p/freeglut/code/trunk@1625 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/android/fg_init_android.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/freeglut/freeglut/src/android/fg_init_android.c b/freeglut/freeglut/src/android/fg_init_android.c index 06ffa58..d19e91d 100644 --- a/freeglut/freeglut/src/android/fg_init_android.c +++ b/freeglut/freeglut/src/android/fg_init_android.c @@ -31,6 +31,10 @@ void fgPlatformInitialize() { fghPlatformInitializeEGL(); + + /* Get start time */ + fgState.Time = fgSystemTime(); + fgState.Initialised = GL_TRUE; }