Fixing the "fghGetProcAddress" bug also noted by Evan Felix in e-mail dated 2/4/12...
[freeglut] / src / Common / freeglut_window.c
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