mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
get the type for getProcAddress right
This commit is contained in:
parent
8e2dbc1947
commit
1828cbff5a
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ void *QFGL_ProcAddress (void *, const char *, qboolean);
|
|||
|
||||
extern void *(*glGetProcAddress) (const char *);
|
||||
#ifdef _WIN32
|
||||
extern void *(*getProcAddress) (HINSTANCE, LPCSTR);
|
||||
extern FARPROC (WINAPI *getProcAddress) (HINSTANCE, LPCSTR);
|
||||
#else
|
||||
extern void *(*getProcAddress) (void *, const char *);
|
||||
#endif
|
||||
|
|
|
@ -142,7 +142,7 @@ void GL_Init (void);
|
|||
#if defined(_WIN32)
|
||||
|
||||
void * (* glGetProcAddress) (const char *symbol) = NULL;
|
||||
void * (* getProcAddress) (HINSTANCE, LPCSTR);
|
||||
FARPROC (WINAPI *getProcAddress) (HINSTANCE, LPCSTR);
|
||||
|
||||
void *
|
||||
QFGL_LoadLibrary (void)
|
||||
|
|
Loading…
Reference in a new issue