mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-10 07:11:44 +00:00
only declare the WGL pointers on windows
This commit is contained in:
parent
f2f8459cb8
commit
dca7904229
2 changed files with 4 additions and 1 deletions
|
@ -167,6 +167,7 @@ extern PFNGLGETFINALCOMBINERINPUTPARAMETERFVNV qglGetFinalCombinerInputParameter
|
|||
extern PFNGLGETFINALCOMBINERINPUTPARAMETERIVNV qglGetFinalCombinerInputParameterivNV;
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Pixel Format extension definitions. - AReis
|
||||
/***********************************************************************************************************/
|
||||
|
@ -185,7 +186,6 @@ extern PFNWGLGETPIXELFORMATATTRIBIVARBPROC qwglGetPixelFormatAttribivARB;
|
|||
extern PFNWGLGETPIXELFORMATATTRIBFVARBPROC qwglGetPixelFormatAttribfvARB;
|
||||
extern PFNWGLCHOOSEPIXELFORMATARBPROC qwglChoosePixelFormatARB;
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Pixel Buffer extension definitions. - AReis
|
||||
/***********************************************************************************************************/
|
||||
|
@ -236,6 +236,7 @@ extern PFNWGLBINDTEXIMAGEARBPROC qwglBindTexImageARB;
|
|||
extern PFNWGLRELEASETEXIMAGEARBPROC qwglReleaseTexImageARB;
|
||||
extern PFNWGLSETPBUFFERATTRIBARBPROC qwglSetPbufferAttribARB;
|
||||
|
||||
#endif // _WIN32
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Vertex and Fragment Program extension definitions. - AReis
|
||||
|
|
|
@ -220,6 +220,7 @@ PFNGLGETCOMBINEROUTPUTPARAMETERIVNV qglGetCombinerOutputParameterivNV = NULL;
|
|||
PFNGLGETFINALCOMBINERINPUTPARAMETERFVNV qglGetFinalCombinerInputParameterfvNV = NULL;
|
||||
PFNGLGETFINALCOMBINERINPUTPARAMETERIVNV qglGetFinalCombinerInputParameterivNV = NULL;
|
||||
|
||||
#ifdef _WIN32
|
||||
// Declare Pixel Format function pointers.
|
||||
PFNWGLGETPIXELFORMATATTRIBIVARBPROC qwglGetPixelFormatAttribivARB = NULL;
|
||||
PFNWGLGETPIXELFORMATATTRIBFVARBPROC qwglGetPixelFormatAttribfvARB = NULL;
|
||||
|
@ -236,6 +237,7 @@ PFNWGLQUERYPBUFFERARBPROC qwglQueryPbufferARB = NULL;
|
|||
PFNWGLBINDTEXIMAGEARBPROC qwglBindTexImageARB = NULL;
|
||||
PFNWGLRELEASETEXIMAGEARBPROC qwglReleaseTexImageARB = NULL;
|
||||
PFNWGLSETPBUFFERATTRIBARBPROC qwglSetPbufferAttribARB = NULL;
|
||||
#endif
|
||||
|
||||
// Declare Vertex and Fragment Program function pointers.
|
||||
PFNGLPROGRAMSTRINGARBPROC qglProgramStringARB = NULL;
|
||||
|
|
Loading…
Reference in a new issue