Fixing the "fghGetProcAddress" bug also noted by Evan Felix in e-mail dated 2/4/12...
authorJohn F. Fay <johnffay@nettally.com>
Sun, 5 Feb 2012 00:56:06 +0000 (00:56 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Sun, 5 Feb 2012 00:56:06 +0000 (00:56 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1050 7f0cb862-5218-0410-a997-914c9d46530a

src/Common/freeglut_internal.h
src/Common/freeglut_window.c

index 3870515..675fe84 100644 (file)
@@ -1119,7 +1119,7 @@ int fgHintPresent(Window window, Atom property, Atom hint);
 \r
 #endif\r
 \r
-SFG_Proc fghGetProcAddress( const char *procName );\r
+SFG_Proc fgPlatformGetProcAddress( const char *procName );\r
 \r
 #endif /* FREEGLUT_INTERNAL_H */\r
 \r
index cda8115..fb17ea6 100644 (file)
@@ -406,7 +406,7 @@ static GLXContext fghCreateNewContext( SFG_Window* window )
 \r
   /* new context creation */\r
   int attributes[9];\r
-  CreateContextAttribsProc createContextAttribs = (CreateContextAttribsProc) fghGetProcAddress( "glXCreateContextAttribsARB" );\r
+  CreateContextAttribsProc createContextAttribs = (CreateContextAttribsProc) fgPlatformGetProcAddress( "glXCreateContextAttribsARB" );\r
  \r
   /* glXCreateContextAttribsARB not found, yet the user has requested the new context creation */\r
   if ( !createContextAttribs && !fghIsLegacyContextRequested() ) {\r