projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving an X11-specific function call to destroy a context to the X11-specific file
[freeglut]
/
src
/
mswin
/
freeglut_init_mswin.c
diff --git
a/src/mswin/freeglut_init_mswin.c
b/src/mswin/freeglut_init_mswin.c
index
d5c94e5
..
c7457de
100644
(file)
--- a/
src/mswin/freeglut_init_mswin.c
+++ b/
src/mswin/freeglut_init_mswin.c
@@
-158,7
+158,10
@@
void fgPlatformCloseDisplay ( void )
timeEndPeriod ( 1 );
\r
}
\r
\r
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
\r
/*
\r
* Everything down to the end of the next two functions is copied from the X sources.
\r