mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-23 04:33:12 +00:00
33 lines
610 B
C
33 lines
610 B
C
#ifndef _WIN32
|
|
# error You should not be including this file on this platform
|
|
#endif
|
|
|
|
#ifndef __GLW_WIN_H__
|
|
#define __GLW_WIN_H__
|
|
#include <windows.h>
|
|
|
|
typedef struct
|
|
{
|
|
WNDPROC wndproc;
|
|
|
|
HDC hDC; // handle to device context
|
|
HGLRC hGLRC; // handle to GL rendering context
|
|
|
|
HINSTANCE hinstOpenGL; // HINSTANCE for the OpenGL library
|
|
|
|
qboolean allowdisplaydepthchange;
|
|
qboolean pixelFormatSet;
|
|
|
|
int desktopBitsPixel;
|
|
int desktopWidth, desktopHeight;
|
|
|
|
qboolean cdsFullscreen;
|
|
|
|
FILE *log_fp;
|
|
} glwstate_t;
|
|
|
|
extern glwstate_t glw_state;
|
|
|
|
bool GL_CheckForExtension(const char *ext);
|
|
|
|
#endif
|