X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fx11%2Ffg_init_x11.c;h=0df54f2573bfc5481fa7efe385fb9b9f5e3352a8;hb=a00c7ee3552b527ac6b375d6a6ca42f90770ddc3;hp=45ac0d17477b0bed8708ae0b6a2b7ae3a55cee15;hpb=b744f1401b990f642e96d4c65cc86eca5224efd1;p=freeglut diff --git a/src/x11/fg_init_x11.c b/src/x11/fg_init_x11.c index 45ac0d1..0df54f2 100644 --- a/src/x11/fg_init_x11.c +++ b/src/x11/fg_init_x11.c @@ -29,7 +29,9 @@ #define FREEGLUT_BUILDING_LIB #include /* LONG_MAX */ #include -#include "../fg_internal.h" +#include "fg_internal.h" +#include "fg_init.h" +#include "egl/fg_init_egl.h" /* Return the atom associated with "name". */ static Atom fghGetAtom(const char * name) @@ -236,6 +238,9 @@ void fgPlatformInitialize( const char* displayName ) } } + /* Get start time */ + fgState.Time = fgSystemTime(); + fgState.Initialised = GL_TRUE;