Moving the platform-specific window handle and context type definitions into platform...
[freeglut] / src / mswin / freeglut_internal_mswin.h
index baf4800..bd392f0 100644 (file)
@@ -36,6 +36,13 @@ struct tagSFG_PlatformDisplay
     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