projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving the platform-specific window handle and context type definitions into platform...
[freeglut]
/
src
/
mswin
/
freeglut_internal_mswin.h
diff --git
a/src/mswin/freeglut_internal_mswin.h
b/src/mswin/freeglut_internal_mswin.h
index
baf4800
..
bd392f0
100644
(file)
--- a/
src/mswin/freeglut_internal_mswin.h
+++ b/
src/mswin/freeglut_internal_mswin.h
@@
-36,6
+36,13
@@
struct tagSFG_PlatformDisplay
char *DisplayName; /* Display name for multi display support*/
\r
};
\r
\r
char *DisplayName; /* Display name for multi display support*/
\r
};
\r
\r
+/*
\r
+ * Make "freeglut" window handle and context types so that we don't need so
\r
+ * much conditionally-compiled code later in the library.
\r
+ */
\r
+typedef HWND SFG_WindowHandleType ;
\r
+typedef HGLRC SFG_WindowContextType ;
\r
+
\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