projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freeglut.lsm:3 Removed 'beta' label for next release, thanks to Bernhard Kaindl.
[freeglut]
/
src
/
freeglut_internal.h
diff --git
a/src/freeglut_internal.h
b/src/freeglut_internal.h
index
5b9df43
..
4564157
100644
(file)
--- a/
src/freeglut_internal.h
+++ b/
src/freeglut_internal.h
@@
-29,8
+29,8
@@
#define FREEGLUT_INTERNAL_H
/* XXX Update these for each release! */
#define FREEGLUT_INTERNAL_H
/* XXX Update these for each release! */
-#define VERSION_MAJOR 1
-#define VERSION_MINOR 4
+#define VERSION_MAJOR 2
+#define VERSION_MINOR 0
#define VERSION_PATCH 0
/*
#define VERSION_PATCH 0
/*
@@
-219,6
+219,7
@@
struct tagSFG_State
GLboolean TryDirectContext; /* What about giving a try to? */
GLboolean ForceIconic; /* All new top windows are iconified */
GLboolean TryDirectContext; /* What about giving a try to? */
GLboolean ForceIconic; /* All new top windows are iconified */
+ GLboolean UseCurrentContext; /* New windows use current window's rendering context */
GLboolean GLDebugSwitch; /* OpenGL state debugging switch */
GLboolean XSyncSwitch; /* X11 sync protocol switch */
GLboolean GLDebugSwitch; /* OpenGL state debugging switch */
GLboolean XSyncSwitch; /* X11 sync protocol switch */
@@
-260,6
+261,11
@@
struct tagSFG_Display
Atom DeleteWindow; /* The window deletion atom */
#ifdef X_XF86VidModeGetModeLine
Atom DeleteWindow; /* The window deletion atom */
#ifdef X_XF86VidModeGetModeLine
+ /*
+ * XF86VidMode may be compilable even if it fails at runtime. Therefore,
+ * the validity of the VidMode has to be tracked
+ */
+ int DisplayModeValid; /* Flag that indicates runtime status*/
XF86VidModeModeLine DisplayMode; /* Current screen's display settings */
int DisplayModeClock; /* The display mode's refresh rate */
#endif
XF86VidModeModeLine DisplayMode; /* Current screen's display settings */
int DisplayModeClock; /* The display mode's refresh rate */
#endif