projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added FREEGLUT_VERSION_1_3.
[freeglut]
/
freeglut-1.3
/
freeglut_internal.h
diff --git
a/freeglut-1.3/freeglut_internal.h
b/freeglut-1.3/freeglut_internal.h
index
bb93080
..
e4968e9
100644
(file)
--- a/
freeglut-1.3/freeglut_internal.h
+++ b/
freeglut-1.3/freeglut_internal.h
@@
-29,6
+29,13
@@
#define FREEGLUT_INTERNAL_H
/*
#define FREEGLUT_INTERNAL_H
/*
+ * Be sure to update these for every release!
+ */
+#define VERSION_MAJOR 1
+#define VERSION_MINOR 3
+#define VERSION_PATCH 0
+
+/*
* Freeglut is meant to be available under all Unix/X11 and Win32 platforms.
*/
#if !defined(_WIN32)
* Freeglut is meant to be available under all Unix/X11 and Win32 platforms.
*/
#if !defined(_WIN32)
@@
-220,6
+227,10
@@
struct tagSFG_State
GLboolean IgnoreKeyRepeat; /* Whether to ignore key repeat... */
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 */
SFG_Time Time; /* The time that glutInit was called */
SFG_List Timers; /* The freeglut timer hooks */