mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +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 *);
|
extern void *(*glGetProcAddress) (const char *);
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
extern void *(*getProcAddress) (HINSTANCE, LPCSTR);
|
extern FARPROC (WINAPI *getProcAddress) (HINSTANCE, LPCSTR);
|
||||||
#else
|
#else
|
||||||
extern void *(*getProcAddress) (void *, const char *);
|
extern void *(*getProcAddress) (void *, const char *);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -142,7 +142,7 @@ void GL_Init (void);
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
|
||||||
void * (* glGetProcAddress) (const char *symbol) = NULL;
|
void * (* glGetProcAddress) (const char *symbol) = NULL;
|
||||||
void * (* getProcAddress) (HINSTANCE, LPCSTR);
|
FARPROC (WINAPI *getProcAddress) (HINSTANCE, LPCSTR);
|
||||||
|
|
||||||
void *
|
void *
|
||||||
QFGL_LoadLibrary (void)
|
QFGL_LoadLibrary (void)
|
||||||
|
|
Loading…
Reference in a new issue