mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-25 21:51:04 +00:00
put some wgl parts under _WIN32
This commit is contained in:
parent
4d606a650d
commit
37d2ad3bf1
3 changed files with 6 additions and 1 deletions
|
@ -182,7 +182,7 @@ extern PFNGLGETCOMBINEROUTPUTPARAMETERIVNV qglGetCombinerOutputParameterivNV;
|
|||
extern PFNGLGETFINALCOMBINERINPUTPARAMETERFVNV qglGetFinalCombinerInputParameterfvNV;
|
||||
extern PFNGLGETFINALCOMBINERINPUTPARAMETERIVNV qglGetFinalCombinerInputParameterivNV;
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Pixel Format extension definitions. - AReis
|
||||
/***********************************************************************************************************/
|
||||
|
@ -251,6 +251,7 @@ typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, con
|
|||
extern PFNWGLBINDTEXIMAGEARBPROC qwglBindTexImageARB;
|
||||
extern PFNWGLRELEASETEXIMAGEARBPROC qwglReleaseTexImageARB;
|
||||
extern PFNWGLSETPBUFFERATTRIBARBPROC qwglSetPbufferAttribARB;
|
||||
#endif // _WIN32
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -251,6 +251,7 @@ PFNGLGETCOMBINEROUTPUTPARAMETERIVNV qglGetCombinerOutputParameterivNV = NULL;
|
|||
PFNGLGETFINALCOMBINERINPUTPARAMETERFVNV qglGetFinalCombinerInputParameterfvNV = NULL;
|
||||
PFNGLGETFINALCOMBINERINPUTPARAMETERIVNV qglGetFinalCombinerInputParameterivNV = NULL;
|
||||
|
||||
#ifdef _WIN32
|
||||
// Declare Pixel Format function pointers.
|
||||
PFNWGLGETPIXELFORMATATTRIBIVARBPROC qwglGetPixelFormatAttribivARB = NULL;
|
||||
PFNWGLGETPIXELFORMATATTRIBFVARBPROC qwglGetPixelFormatAttribfvARB = NULL;
|
||||
|
@ -267,6 +268,7 @@ PFNWGLQUERYPBUFFERARBPROC qwglQueryPbufferARB = NULL;
|
|||
PFNWGLBINDTEXIMAGEARBPROC qwglBindTexImageARB = NULL;
|
||||
PFNWGLRELEASETEXIMAGEARBPROC qwglReleaseTexImageARB = NULL;
|
||||
PFNWGLSETPBUFFERATTRIBARBPROC qwglSetPbufferAttribARB = NULL;
|
||||
#endif // _WIN32
|
||||
|
||||
// Declare Vertex and Fragment Program function pointers.
|
||||
PFNGLPROGRAMSTRINGARBPROC qglProgramStringARB = NULL;
|
||||
|
|
|
@ -1156,6 +1156,7 @@ void R_Modellist_f (void);
|
|||
class CPBUFFER
|
||||
{
|
||||
private:
|
||||
#ifdef _WIN32
|
||||
// Pixel Buffer Rendering and Device Contexts.
|
||||
HGLRC m_hRC;
|
||||
HDC m_hDC;
|
||||
|
@ -1166,6 +1167,7 @@ private:
|
|||
|
||||
// Buffer handle.
|
||||
HPBUFFERARB m_hBuffer;
|
||||
#endif
|
||||
|
||||
// Buffer Dimensions.
|
||||
int m_iWidth, m_iHeight;
|
||||
|
|
Loading…
Reference in a new issue