Make libgl_handle static.

This will make life interesting for getting the final stages working, but
it helps for now.
This commit is contained in:
Bill Currie 2012-02-22 22:11:24 +09:00
parent 772af29cb3
commit 1dd1aec48f
4 changed files with 2 additions and 6 deletions

View file

@ -43,8 +43,6 @@
#undef QFGL_NEED
#undef QFGL_WANT
extern void *libgl_handle;
qboolean GLF_Init (void);
qboolean GLF_FindFunctions (void);
void *QFGL_ProcAddress (void *handle, const char *name, qboolean);

View file

@ -44,8 +44,6 @@
#undef QFGL_NEED
#undef QFGL_WANT
extern void *libgl_handle;
qboolean EGLF_Init (void);
qboolean EGLF_FindFunctions (void);
void *QFEGL_ProcAddress (void *handle, const char *name, qboolean);

View file

@ -99,7 +99,7 @@ QFGL_ProcAddress (void *handle, const char *name, qboolean crit)
#include "QF/GL/qf_funcs_list.h"
#undef QFGL_NEED
#undef QFGL_WANT
void *libgl_handle;
static void *libgl_handle;
// Then we need to open the libGL and set all the symbols.
qboolean

View file

@ -99,7 +99,7 @@ QFEGL_ProcAddress (void *handle, const char *name, qboolean crit)
#include "QF/GLSL/qf_funcs_list.h"
#undef QFGL_NEED
#undef QFGL_WANT
void *libgl_handle;
static void *libgl_handle;
// Then we need to open the libGL and set all the symbols.
qboolean