projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XF86 game mode fixes, context sharing option. (John Fay)
[freeglut]
/
include
/
GL
/
freeglut_ext.h
diff --git
a/include/GL/freeglut_ext.h
b/include/GL/freeglut_ext.h
index
2f7c922
..
7369f0f
100644
(file)
--- a/
include/GL/freeglut_ext.h
+++ b/
include/GL/freeglut_ext.h
@@
-40,6
+40,12
@@
#define GLUT_ACTION_CONTINUE_EXECUTION 2
/*
#define GLUT_ACTION_CONTINUE_EXECUTION 2
/*
+ * Create a new rendering context when the user opens a new window?
+ */
+#define GLUT_CREATE_NEW_CONTEXT 0
+#define GLUT_USE_CURRENT_CONTEXT 1
+
+/*
* GLUT API Extension macro definitions -- the glutGet parameters
*/
#define GLUT_ACTION_ON_WINDOW_CLOSE 0x01F9
* GLUT API Extension macro definitions -- the glutGet parameters
*/
#define GLUT_ACTION_ON_WINDOW_CLOSE 0x01F9
@@
-49,6
+55,8
@@
#define GLUT_VERSION 0x01FC
#define GLUT_VERSION 0x01FC
+#define GLUT_RENDERING_CONTEXT 0x01FD
+
/*
* Process loop function, see freeglut_main.c
*/
/*
* Process loop function, see freeglut_main.c
*/