|
|
1.1 root 1: #ifndef _WIN32
2: # error You should not be including this file on this platform
3: #endif
4:
5: #ifndef __GLW_WIN_H__
6: #define __GLW_WIN_H__
7:
8: typedef struct
9: {
10: HINSTANCE hInstance;
11: void *wndproc;
12:
13: HDC hDC; // handle to device context
14: HWND hWnd; // handle to window
15: HGLRC hGLRC; // handle to GL rendering context
16:
17: HINSTANCE hinstOpenGL; // HINSTANCE for the OpenGL library
18:
19: qboolean minidriver;
20: qboolean allowdisplaydepthchange;
21: qboolean mcd_accelerated;
22:
23: FILE *log_fp;
24: } glwstate_t;
25:
26: extern glwstate_t glw_state;
27:
28: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.