#include <GL/freeglut.h>\r
#include "freeglut_internal.h"\r
\r
-extern SFG_Proc fghGetProcAddress( const char *procName );\r
-extern GLUTproc fgPlatformGlutGetProcAddress( const char *procName );\r
+extern SFG_Proc fgPlatformGetProcAddress( const char *procName );\r
+extern GLUTproc fgPlatformGetGLUTProcAddress( const char *procName );\r
\r
static GLUTproc fghGetGLUTProcAddress( const char* procName )\r
{\r
\r
\r
#if TARGET_HOST_POSIX_X11\r
-static GLUTproc fghGetGLUTProcAddress( const char* procName )\r
+static GLUTproc fgPlatformGetGLUTProcAddress( const char* procName )\r
{\r
/* optimization: quick initial check */\r
if( strncmp( procName, "glut", 4 ) != 0 )\r
}\r
\r
\r
-GLUTproc fgPlatformGlutGetProcAddress( const char* procName )\r
-{\r
- return NULL;\r
-}\r
-\r
-\r
-SFG_Proc fghGetProcAddress( const char *procName )\r
+SFG_Proc fgPlatformGetProcAddress( const char *procName )\r
{\r
#if defined( GLX_ARB_get_proc_address )\r
return (SFG_Proc)glXGetProcAddressARB( ( const GLubyte * )procName );\r
\r
/* Some GLUT functions are platform-specific: */\r
if ( !p )\r
- p = fgPlatformGlutGetProcAddress( procName );\r
+ p = fgPlatformGetGLUTProcAddress( procName );\r
\r
- return ( p != NULL ) ? p : fghGetProcAddress( procName );\r
+ return ( p != NULL ) ? p : fgPlatformGetProcAddress( procName );\r
}\r
#include <GL/freeglut.h>\r
#include "../Common/freeglut_internal.h"\r
\r
-GLUTproc fgPlatformGlutGetProcAddress( const char* procName )\r
+GLUTproc fgPlatformGetGLUTProcAddress( const char* procName )\r
{\r
#if !defined(_WIN32_WCE)\r
/* optimization: quick initial check */\r
\r
\r
\r
-SFG_Proc fghGetProcAddress( const char *procName )\r
+SFG_Proc fgPlatformGetProcAddress( const char *procName )\r
{\r
return (SFG_Proc)wglGetProcAddress( ( LPCSTR )procName );\r
}\r