diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-02-01 21:52:11 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-02-01 21:52:11 +0000 |
| commit | 6bc5329935e352e222383f94512eb490b781dbac (patch) | |
| tree | bdec150d08043c95027fe88c44deb6b6edaaeb1e /src | |
| parent | 85c2e38825f910d63051a92b609293bbace19fd0 (diff) | |
Don't use ARB function unless available (still need to do the autoconf
test...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/glut_compatability.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glut_compatability.cxx b/src/glut_compatability.cxx index a960c1375..836f0ad6a 100644 --- a/src/glut_compatability.cxx +++ b/src/glut_compatability.cxx @@ -436,10 +436,10 @@ int glutDeviceGet(GLenum type) { GLUTproc glutGetProcAddress(const char *procName) { # ifdef WIN32 return (GLUTproc)wglGetProcAddress((LPCSTR)procName); -# elif defined(__APPLE__) - return (GLUTproc)0; -# else +# elif defined(HAVE_GLXGETPROCADDRESSARB) return (GLUTproc)glXGetProcAddressARB(procName); +# else + return (GLUTproc)0; # endif // WIN32 } |
