Splitting the X11-specific "freeglut_main.c" code into its own file
[freeglut] / src / Common / freeglut_internal.h
index 675fe84..1aaad52 100644 (file)
@@ -1121,6 +1121,17 @@ int fgHintPresent(Window window, Atom property, Atom hint);
 \r
 SFG_Proc fgPlatformGetProcAddress( const char *procName );\r
 \r
+/* Window functions needed for Platform implementations */\r
+/* pushing attribute/value pairs into an array */\r
+#define ATTRIB(a) attributes[where++]=(a)\r
+#define ATTRIB_VAL(a,v) {ATTRIB(a); ATTRIB(v);}\r
+\r
+extern int fghIsLegacyContextVersionRequested( void );\r
+extern int fghMapBit( int mask, int from, int to );\r
+extern int fghIsLegacyContextRequested( void );\r
+extern void fghContextCreationError( void );\r
+extern int fghNumberOfAuxBuffersRequested( void );\r
+\r
 #endif /* FREEGLUT_INTERNAL_H */\r
 \r
 /*** END OF FILE ***/\r