Fixing call to "fghGetProcAddress" by giving the new name of the function
authorJohn F. Fay <johnffay@nettally.com>
Sun, 5 Feb 2012 19:00:31 +0000 (19:00 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Sun, 5 Feb 2012 19:00:31 +0000 (19:00 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1069 7f0cb862-5218-0410-a997-914c9d46530a

src/x11/freeglut_window_x11.c

index f810965..f4d50e1 100644 (file)
@@ -304,7 +304,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