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:
parent
dc3a3dd8ee
commit
beada8854a
@ -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() ) {
|
||||
|
Reference in New Issue
Block a user