Moving an X11-specific function call to destroy a context to the X11-specific file
[freeglut] / src / mswin / freeglut_init_mswin.c
index d5c94e5..c7457de 100644 (file)
@@ -158,7 +158,10 @@ void fgPlatformCloseDisplay ( void )
     timeEndPeriod ( 1 );\r
 }\r
 \r
-\r
+void fgPlatformDestroyContext ( SFG_PlatformDisplay pDisplay, SFG_WindowContextType MContext )\r
+{\r
+       /* Do nothing -- this is required for X11 */\r
+}\r
 \r
 /*\r
  * Everything down to the end of the next two functions is copied from the X sources.\r