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
This commit is contained in:
beuc 2013-05-19 17:04:04 +00:00
parent ad7b684681
commit 925f7446b7

View File

@ -31,6 +31,10 @@
void fgPlatformInitialize() void fgPlatformInitialize()
{ {
fghPlatformInitializeEGL(); fghPlatformInitializeEGL();
/* Get start time */
fgState.Time = fgSystemTime();
fgState.Initialised = GL_TRUE; fgState.Initialised = GL_TRUE;
} }