Quake II RTX doxygen  1.0 dev
glimp.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 1997-2001 Id Software, Inc.
3 
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8 
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13 
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation, Inc.,
16 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18 
19 //
20 // win_glimp.h
21 //
22 
23 #include <GL/gl.h>
24 #include <GL/wglext.h>
25 
26 typedef struct {
27  HGLRC hGLRC; // handle to GL rendering context
28  HINSTANCE hinstOpenGL; // handle to GL library
29  qboolean minidriver;
30  GLenum drawbuffer;
31  unsigned extensions;
32 } glwstate_t;
33 
34 extern glwstate_t glw;
35 
glw
glwstate_t glw
Definition: glimp.c:35
glwstate_t::extensions
unsigned extensions
Definition: glimp.h:31
glwstate_t::drawbuffer
GLenum drawbuffer
Definition: glimp.h:30
glwstate_t
Definition: glimp.h:26
glwstate_t::hGLRC
HGLRC hGLRC
Definition: glimp.h:27
glwstate_t::minidriver
qboolean minidriver
Definition: glimp.h:29
HGLRC
HGLRC
Definition: wgl.c:33
gl.h
glwstate_t::hinstOpenGL
HINSTANCE hinstOpenGL
Definition: glimp.h:28