mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-13 00:24:18 +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;
|
extern PFNGLGETFINALCOMBINERINPUTPARAMETERIVNV qglGetFinalCombinerInputParameterivNV;
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// Pixel Format extension definitions. - AReis
|
// Pixel Format extension definitions. - AReis
|
||||||
/***********************************************************************************************************/
|
/***********************************************************************************************************/
|
||||||
|
@ -185,7 +186,6 @@ extern PFNWGLGETPIXELFORMATATTRIBIVARBPROC qwglGetPixelFormatAttribivARB;
|
||||||
extern PFNWGLGETPIXELFORMATATTRIBFVARBPROC qwglGetPixelFormatAttribfvARB;
|
extern PFNWGLGETPIXELFORMATATTRIBFVARBPROC qwglGetPixelFormatAttribfvARB;
|
||||||
extern PFNWGLCHOOSEPIXELFORMATARBPROC qwglChoosePixelFormatARB;
|
extern PFNWGLCHOOSEPIXELFORMATARBPROC qwglChoosePixelFormatARB;
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// Pixel Buffer extension definitions. - AReis
|
// Pixel Buffer extension definitions. - AReis
|
||||||
/***********************************************************************************************************/
|
/***********************************************************************************************************/
|
||||||
|
@ -236,6 +236,7 @@ extern PFNWGLBINDTEXIMAGEARBPROC qwglBindTexImageARB;
|
||||||
extern PFNWGLRELEASETEXIMAGEARBPROC qwglReleaseTexImageARB;
|
extern PFNWGLRELEASETEXIMAGEARBPROC qwglReleaseTexImageARB;
|
||||||
extern PFNWGLSETPBUFFERATTRIBARBPROC qwglSetPbufferAttribARB;
|
extern PFNWGLSETPBUFFERATTRIBARBPROC qwglSetPbufferAttribARB;
|
||||||
|
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// Vertex and Fragment Program extension definitions. - AReis
|
// Vertex and Fragment Program extension definitions. - AReis
|
||||||
|
|
|
@ -220,6 +220,7 @@ PFNGLGETCOMBINEROUTPUTPARAMETERIVNV qglGetCombinerOutputParameterivNV = NULL;
|
||||||
PFNGLGETFINALCOMBINERINPUTPARAMETERFVNV qglGetFinalCombinerInputParameterfvNV = NULL;
|
PFNGLGETFINALCOMBINERINPUTPARAMETERFVNV qglGetFinalCombinerInputParameterfvNV = NULL;
|
||||||
PFNGLGETFINALCOMBINERINPUTPARAMETERIVNV qglGetFinalCombinerInputParameterivNV = NULL;
|
PFNGLGETFINALCOMBINERINPUTPARAMETERIVNV qglGetFinalCombinerInputParameterivNV = NULL;
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
// Declare Pixel Format function pointers.
|
// Declare Pixel Format function pointers.
|
||||||
PFNWGLGETPIXELFORMATATTRIBIVARBPROC qwglGetPixelFormatAttribivARB = NULL;
|
PFNWGLGETPIXELFORMATATTRIBIVARBPROC qwglGetPixelFormatAttribivARB = NULL;
|
||||||
PFNWGLGETPIXELFORMATATTRIBFVARBPROC qwglGetPixelFormatAttribfvARB = NULL;
|
PFNWGLGETPIXELFORMATATTRIBFVARBPROC qwglGetPixelFormatAttribfvARB = NULL;
|
||||||
|
@ -236,6 +237,7 @@ PFNWGLQUERYPBUFFERARBPROC qwglQueryPbufferARB = NULL;
|
||||||
PFNWGLBINDTEXIMAGEARBPROC qwglBindTexImageARB = NULL;
|
PFNWGLBINDTEXIMAGEARBPROC qwglBindTexImageARB = NULL;
|
||||||
PFNWGLRELEASETEXIMAGEARBPROC qwglReleaseTexImageARB = NULL;
|
PFNWGLRELEASETEXIMAGEARBPROC qwglReleaseTexImageARB = NULL;
|
||||||
PFNWGLSETPBUFFERATTRIBARBPROC qwglSetPbufferAttribARB = NULL;
|
PFNWGLSETPBUFFERATTRIBARBPROC qwglSetPbufferAttribARB = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Declare Vertex and Fragment Program function pointers.
|
// Declare Vertex and Fragment Program function pointers.
|
||||||
PFNGLPROGRAMSTRINGARBPROC qglProgramStringARB = NULL;
|
PFNGLPROGRAMSTRINGARBPROC qglProgramStringARB = NULL;
|
||||||
|
|
Loading…
Reference in a new issue