\r
/* Platform-specific includes */\r
#if TARGET_HOST_POSIX_X11\r
+\r
typedef struct tagSFG_PlatformDisplay SFG_PlatformDisplay;\r
struct tagSFG_PlatformDisplay\r
{\r
int DisplayPointerY; /* saved Y location of the pointer */\r
};\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 Window SFG_WindowHandleType ;\r
+typedef GLXContext SFG_WindowContextType ;\r
+\r
+\r
#endif\r
#if TARGET_HOST_MS_WINDOWS\r
#include "../mswin/freeglut_internal_mswin.h"\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
-#if TARGET_HOST_POSIX_X11\r
-\r
-typedef Window SFG_WindowHandleType ;\r
-typedef GLXContext SFG_WindowContextType ;\r
-\r
-#elif TARGET_HOST_MS_WINDOWS\r
-\r
-typedef HWND SFG_WindowHandleType ;\r
-typedef HGLRC SFG_WindowContextType ;\r
-\r
-#endif\r
-\r
-/*\r
* A window and its OpenGL context. The contents of this structure\r
* are highly dependant on the target operating system we aim at...\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