Fixing call to "fghGetProcAddress" by giving the new name of the function

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1069 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2012-02-05 19:00:31 +00:00
parent dc3a3dd8ee
commit beada8854a

View File

@ -304,7 +304,7 @@ static GLXContext fghCreateNewContext( SFG_Window* window )
/* new context creation */
int attributes[9];
CreateContextAttribsProc createContextAttribs = (CreateContextAttribsProc) fghGetProcAddress( "glXCreateContextAttribsARB" );
CreateContextAttribsProc createContextAttribs = (CreateContextAttribsProc) fgPlatformGetProcAddress( "glXCreateContextAttribsARB" );
/* glXCreateContextAttribsARB not found, yet the user has requested the new context creation */
if ( !createContextAttribs && !fghIsLegacyContextRequested() ) {