X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=freeglut-1.3%2Ffreeglut_internal.h;h=d8d50d8b3372d1700816e25f77db538017a0bd13;hb=e6a282fe3dd6374b07921566933cbe449277aa79;hp=e60d783a8fefb53142e6cb21ec7ba952fc6b078d;hpb=583baa8756a71ed088b8e46c52a945218037314c;p=freeglut diff --git a/freeglut-1.3/freeglut_internal.h b/freeglut-1.3/freeglut_internal.h index e60d783..d8d50d8 100644 --- a/freeglut-1.3/freeglut_internal.h +++ b/freeglut-1.3/freeglut_internal.h @@ -220,6 +220,10 @@ struct tagSFG_State GLboolean IgnoreKeyRepeat; /* Whether to ignore key repeat... */ + GLuint FPSInterval; /* Interval between FPS printfs */ + GLuint SwapCount; /* Count of glutSwapBuffer calls */ + GLuint SwapTime; /* Time of last SwapBuffers */ + SFG_Time Time; /* The time that glutInit was called */ SFG_List Timers; /* The freeglut timer hooks */ @@ -291,7 +295,6 @@ struct tagSFG_Context Window Handle; /* The window's handle */ GLXContext Context; /* The OpenGL context */ XVisualInfo* VisualInfo; /* The window's visual information */ - int DoubleBuffered; /* Treat the window as double-buffered */ #elif TARGET_HOST_WIN32 HWND Handle; /* The window's handle */ @@ -299,6 +302,8 @@ struct tagSFG_Context HGLRC Context; /* The window's WGL context */ #endif + + int DoubleBuffered; /* Treat the window as double-buffered */ }; /*