From e49173bffc544452b67f96a15af8ae1b89a89400 Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Sun, 5 Feb 2012 00:56:06 +0000 Subject: [PATCH] Fixing the "fghGetProcAddress" bug also noted by Evan Felix in e-mail dated 2/4/12 at 1:16 PM git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1050 7f0cb862-5218-0410-a997-914c9d46530a --- src/Common/freeglut_internal.h | 2 +- src/Common/freeglut_window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Common/freeglut_internal.h b/src/Common/freeglut_internal.h index 3870515..675fe84 100644 --- a/src/Common/freeglut_internal.h +++ b/src/Common/freeglut_internal.h @@ -1119,7 +1119,7 @@ int fgHintPresent(Window window, Atom property, Atom hint); #endif -SFG_Proc fghGetProcAddress( const char *procName ); +SFG_Proc fgPlatformGetProcAddress( const char *procName ); #endif /* FREEGLUT_INTERNAL_H */ diff --git a/src/Common/freeglut_window.c b/src/Common/freeglut_window.c index cda8115..fb17ea6 100644 --- a/src/Common/freeglut_window.c +++ b/src/Common/freeglut_window.c @@ -406,7 +406,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() ) { -- 1.7.10.4