\r
\r
#if TARGET_HOST_POSIX_X11\r
-static GLUTproc fgPlatformGetGLUTProcAddress( const char* procName )\r
+GLUTproc fgPlatformGetGLUTProcAddress( const char* procName )\r
{\r
/* optimization: quick initial check */\r
if( strncmp( procName, "glut", 4 ) != 0 )\r
char *cp;\r
#endif\r
#ifdef JS_NEW\r
+ int i = 0;\r
unsigned char u;\r
#else\r
# if defined( __linux__ ) || TARGET_HOST_SOLARIS\r
}\r
\r
\r
+static Bool fghWindowIsVisible( Display *display, XEvent *event, XPointer arg)\r
+{\r
+ Window window = (Window)arg;\r
+ return (event->type == MapNotify) && (event->xmap.window == window);\r
+}\r
+\r
+\r
/*\r
* Opens a window. Requires a SFG_Window object created and attached\r
* to the freeglut structure. OpenGL context is created here.\r
}\r
\r
\r
-static Bool fghWindowIsVisible( Display *display, XEvent *event, XPointer arg)\r
-{\r
- Window window = (Window)arg;\r
- return (event->type == MapNotify) && (event->xmap.window == window);\r
-}\r
-\r
-\r
\r
\r
/*\r
Common/freeglut_display.c \
Common/freeglut_ext.c \
Common/freeglut_font.c \
- Common/freeglut_glutfont_definitions.c \
Common/freeglut_font_data.c \
Common/freeglut_stroke_roman.c \
Common/freeglut_stroke_mono_roman.c \