#define FREEGLUT_BUILDING_LIB\r
#include <limits.h> /* LONG_MAX */\r
#include <GL/freeglut.h>\r
-#include "freeglut_internal.h"\r
+#include "../Common/freeglut_internal.h"\r
\r
/* Return the atom associated with "name". */\r
static Atom fghGetAtom(const char * name)\r
XCloseDisplay( fgDisplay.pDisplay.Display );\r
}\r
\r
+\r
+void fgPlatformDestroyContext ( SFG_PlatformDisplay pDisplay, SFG_WindowContextType MContext )\r
+{\r
+ /* Note that the MVisualInfo is not owned by the MenuContext! */\r
+ glXDestroyContext( pDisplay.Display, MContext );\r
+}
\ No newline at end of file