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
This commit is contained in:
parent
85c2e38825
commit
6bc5329935
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user