mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
windows really sucks
This commit is contained in:
parent
be50d0e15a
commit
e77d730054
1 changed files with 5 additions and 1 deletions
|
@ -74,7 +74,11 @@ void * (* glGetProcAddress) (const char *symbol) = NULL; // FIXME
|
||||||
//# error "Cannot load libraries: %s was not configured with DSO support"
|
//# error "Cannot load libraries: %s was not configured with DSO support"
|
||||||
|
|
||||||
// the following is to avoid other compiler errors
|
// the following is to avoid other compiler errors
|
||||||
void * (* getProcAddress) (void *handle, const char *symbol);
|
#ifdef _WIN32
|
||||||
|
void *(*getProcAddress) (HINSTANCE, LPCSTR);
|
||||||
|
#else
|
||||||
|
void *(*getProcAddress) (void *, const char *);
|
||||||
|
#endif
|
||||||
|
|
||||||
void *
|
void *
|
||||||
QFGL_LoadLibrary (void)
|
QFGL_LoadLibrary (void)
|
||||||
|
|
Loading…
Reference in a new issue