XF86 game mode fixes, context sharing option. (John Fay)
[freeglut] / include / GL / freeglut_ext.h
index 2f7c922..7369f0f 100644 (file)
 #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
@@ -49,6 +55,8 @@
 
 #define  GLUT_VERSION                       0x01FC
 
+#define  GLUT_RENDERING_CONTEXT             0x01FD
+
 /*
  * Process loop function, see freeglut_main.c
  */