this is C, not C++ ;)

This commit is contained in:
Bill Currie 2001-06-25 15:42:05 +00:00
parent 5e1de4c8a7
commit 3dbc913903

View file

@ -94,9 +94,6 @@ QFGL_ProcAddress (void *handle, const char *name)
static qboolean inited = false;
void *glfunc = NULL;
if (!handle || !name)
return NULL;
#ifdef HAVE_DLOPEN
static QF_glXGetProcAddressARB glGetProcAddress = NULL;
#else
@ -105,6 +102,9 @@ QFGL_ProcAddress (void *handle, const char *name)
# endif
#endif
if (!handle || !name)
return NULL;
if (!inited) {
inited = true;
#ifdef HAVE_DLOPEN