projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving the "glutCreateWindowWithExit" and its associated variable to the Windows...
[freeglut]
/
src
/
mswin
/
freeglut_internal_mswin.h
diff --git
a/src/mswin/freeglut_internal_mswin.h
b/src/mswin/freeglut_internal_mswin.h
index
bd392f0
..
c83f231
100644
(file)
--- a/
src/mswin/freeglut_internal_mswin.h
+++ b/
src/mswin/freeglut_internal_mswin.h
@@
-42,7
+42,15
@@
struct tagSFG_PlatformDisplay
*/
\r
typedef HWND SFG_WindowHandleType ;
\r
typedef HGLRC SFG_WindowContextType ;
\r
*/
\r
typedef HWND SFG_WindowHandleType ;
\r
typedef HGLRC SFG_WindowContextType ;
\r
+typedef struct tagSFG_PlatformContext SFG_PlatformContext;
\r
+struct tagSFG_PlatformContext
\r
+{
\r
+ HDC Device; /* The window's device context */
\r
+};
\r
+
\r
\r
\r
+/* Function to be called on exit */
\r
+extern void (__cdecl *__glutExitFunc)( int return_value );
\r
\r
\r
#endif /* FREEGLUT_INTERNAL_MSWIN_H */
\ No newline at end of file
\r
\r
#endif /* FREEGLUT_INTERNAL_MSWIN_H */
\ No newline at end of file