diff --git a/freeglut/freeglut/src/x11/freeglut_window_x11.c b/freeglut/freeglut/src/x11/freeglut_window_x11.c index f810965..f4d50e1 100644 --- a/freeglut/freeglut/src/x11/freeglut_window_x11.c +++ b/freeglut/freeglut/src/x11/freeglut_window_x11.c @@ -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() ) {