1479 lines
15 KiB
C
1479 lines
15 KiB
C
|
/*
|
||
|
===========================================================================
|
||
|
|
||
|
Doom 3 GPL Source Code
|
||
|
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
|
||
|
|
||
|
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
|
||
|
|
||
|
Doom 3 Source Code is free software: you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation, either version 3 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
Doom 3 Source Code is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
|
||
|
|
||
|
In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
|
||
|
|
||
|
If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
|
||
|
|
||
|
===========================================================================
|
||
|
*/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#define glAccum use_qglAccum
|
||
|
#define glAlphaFunc use_qglAlphaFunc
|
||
|
#define glAreTexturesResident use_qglAreTexturesResident
|
||
|
#define glArrayElement use_qglArrayElement
|
||
|
#define glBegin use_qglBegin
|
||
|
#define glBindTexture use_qglBindTexture
|
||
|
#define glBitmap use_qglBitmap
|
||
|
#define glBlendFunc use_qglBlendFunc
|
||
|
#define glCallList use_qglCallList
|
||
|
#define glCallLists use_qglCallLists
|
||
|
#define glClear use_qglClear
|
||
|
#define glClearAccum use_qglClearAccum
|
||
|
#define glClearColor use_qglClearColor
|
||
|
#define glClearDepth use_qglClearDepth
|
||
|
#define glClearIndex use_qglClearIndex
|
||
|
#define glClearStencil use_qglClearStencil
|
||
|
#define glClipPlane use_qglClipPlane
|
||
|
#define glColor3b use_qglColor3b
|
||
|
#define glColor3bv use_qglColor3bv
|
||
|
#define glColor3d use_qglColor3d
|
||
|
#define glColor3dv use_qglColor3dv
|
||
|
#define glColor3f use_qglColor3f
|
||
|
#define glColor3fv use_qglColor3fv
|
||
|
#define glColor3i use_qglColor3i
|
||
|
#define glColor3iv use_qglColor3iv
|
||
|
#define glColor3s use_qglColor3s
|
||
|
#define glColor3sv use_qglColor3sv
|
||
|
#define glColor3ub use_qglColor3ub
|
||
|
#define glColor3ubv use_qglColor3ubv
|
||
|
#define glColor3ui use_qglColor3ui
|
||
|
#define glColor3uiv use_qglColor3uiv
|
||
|
#define glColor3us use_qglColor3us
|
||
|
#define glColor3usv use_qglColor3usv
|
||
|
#define glColor4b use_qglColor4b
|
||
|
#define glColor4bv use_qglColor4bv
|
||
|
#define glColor4d use_qglColor4d
|
||
|
#define glColor4dv use_qglColor4dv
|
||
|
#define glColor4f use_qglColor4f
|
||
|
#define glColor4fv use_qglColor4fv
|
||
|
#define glColor4i use_qglColor4i
|
||
|
#define glColor4iv use_qglColor4iv
|
||
|
#define glColor4s use_qglColor4s
|
||
|
#define glColor4sv use_qglColor4sv
|
||
|
#define glColor4ub use_qglColor4ub
|
||
|
#define glColor4ubv use_qglColor4ubv
|
||
|
#define glColor4ui use_qglColor4ui
|
||
|
#define glColor4uiv use_qglColor4uiv
|
||
|
#define glColor4us use_qglColor4us
|
||
|
#define glColor4usv use_qglColor4usv
|
||
|
#define glColorMask use_qglColorMask
|
||
|
#define glColorMaterial use_qglColorMaterial
|
||
|
#define glColorPointer use_qglColorPointer
|
||
|
#define glCopyPixels use_qglCopyPixels
|
||
|
#define glCopyTexImage1D use_qglCopyTexImage1D
|
||
|
#define glCopyTexImage2D use_qglCopyTexImage2D
|
||
|
#define glCopyTexSubImage1D use_qglCopyTexSubImage1D
|
||
|
#define glCopyTexSubImage2D use_qglCopyTexSubImage2D
|
||
|
#define glCullFace use_qglCullFace
|
||
|
#define glDeleteLists use_qglDeleteLists
|
||
|
#define glDeleteTextures use_qglDeleteTextures
|
||
|
#define glDepthFunc use_qglDepthFunc
|
||
|
#define glDepthMask use_qglDepthMask
|
||
|
#define glDepthRange use_qglDepthRange
|
||
|
#define glDisable use_qglDisable
|
||
|
#define glDisableClientState use_qglDisableClientState
|
||
|
#define glDrawArrays use_qglDrawArrays
|
||
|
#define glDrawBuffer use_qglDrawBuffer
|
||
|
#define glDrawElements use_qglDrawElements
|
||
|
#define glDrawPixels use_qglDrawPixels
|
||
|
#define glEdgeFlag use_qglEdgeFlag
|
||
|
#define glEdgeFlagPointer use_qglEdgeFlagPointer
|
||
|
#define glEdgeFlagv use_qglEdgeFlagv
|
||
|
#define glEnable use_qglEnable
|
||
|
#define glEnableClientState use_qglEnableClientState
|
||
|
#define glEnd use_qglEnd
|
||
|
#define glEndList use_qglEndList
|
||
|
#define glEvalCoord1d use_qglEvalCoord1d
|
||
|
#define glEvalCoord1dv use_qglEvalCoord1dv
|
||
|
#define glEvalCoord1f use_qglEvalCoord1f
|
||
|
#define glEvalCoord1fv use_qglEvalCoord1fv
|
||
|
#define glEvalCoord2d use_qglEvalCoord2d
|
||
|
#define glEvalCoord2dv use_qglEvalCoord2dv
|
||
|
#define glEvalCoord2f use_qglEvalCoord2f
|
||
|
#define glEvalCoord2fv use_qglEvalCoord2fv
|
||
|
#define glEvalMesh1 use_qglEvalMesh1
|
||
|
#define glEvalMesh2 use_qglEvalMesh2
|
||
|
#define glEvalPoint1 use_qglEvalPoint1
|
||
|
#define glEvalPoint2 use_qglEvalPoint2
|
||
|
#define glFeedbackBuffer use_qglFeedbackBuffer
|
||
|
#define glFinish use_qglFinish
|
||
|
#define glFlush use_qglFlush
|
||
|
#define glFogf use_qglFogf
|
||
|
#define glFogfv use_qglFogfv
|
||
|
#define glFogi use_qglFogi
|
||
|
#define glFogiv use_qglFogiv
|
||
|
#define glFrontFace use_qglFrontFace
|
||
|
#define glFrustum use_qglFrustum
|
||
|
#define glGenLists use_qglGenLists
|
||
|
#define glGenTextures use_qglGenTextures
|
||
|
#define glGetBooleanv use_qglGetBooleanv
|
||
|
#define glGetClipPlane use_qglGetClipPlane
|
||
|
#define glGetDoublev use_qglGetDoublev
|
||
|
#define glGetError use_qglGetError
|
||
|
#define glGetFloatv use_qglGetFloatv
|
||
|
#define glGetIntegerv use_qglGetIntegerv
|
||
|
#define glGetLightfv use_qglGetLightfv
|
||
|
#define glGetLightiv use_qglGetLightiv
|
||
|
#define glGetMapdv use_qglGetMapdv
|
||
|
#define glGetMapfv use_qglGetMapfv
|
||
|
#define glGetMapiv use_qglGetMapiv
|
||
|
#define glGetMaterialfv use_qglGetMaterialfv
|
||
|
#define glGetMaterialiv use_qglGetMaterialiv
|
||
|
#define glGetPixelMapfv use_qglGetPixelMapfv
|
||
|
#define glGetPixelMapuiv use_qglGetPixelMapuiv
|
||
|
#define glGetPixelMapusv use_qglGetPixelMapusv
|
||
|
#define glGetPointerv use_qglGetPointerv
|
||
|
#define glGetPolygonStipple use_qglGetPolygonStipple
|
||
|
#define glGetString use_qglGetString
|
||
|
#define glGetTexEnvfv use_qglGetTexEnvfv
|
||
|
#define glGetTexEnviv use_qglGetTexEnviv
|
||
|
#define glGetTexGendv use_qglGetTexGendv
|
||
|
#define glGetTexGenfv use_qglGetTexGenfv
|
||
|
#define glGetTexGeniv use_qglGetTexGeniv
|
||
|
#define glGetTexImage use_qglGetTexImage
|
||
|
#define glGetTexLevelParameterfv use_qglGetTexLevelParameterfv
|
||
|
#define glGetTexLevelParameteriv use_qglGetTexLevelParameteriv
|
||
|
#define glGetTexParameterfv use_qglGetTexParameterfv
|
||
|
#define glGetTexParameteriv use_qglGetTexParameteriv
|
||
|
#define glHint use_qglHint
|
||
|
#define glIndexMask use_qglIndexMask
|
||
|
#define glIndexPointer use_qglIndexPointer
|
||
|
#define glIndexd use_qglIndexd
|
||
|
#define glIndexdv use_qglIndexdv
|
||
|
#define glIndexf use_qglIndexf
|
||
|
#define glIndexfv use_qglIndexfv
|
||
|
#define glIndexi use_qglIndexi
|
||
|
#define glIndexiv use_qglIndexiv
|
||
|
#define glIndexs use_qglIndexs
|
||
|
#define glIndexsv use_qglIndexsv
|
||
|
#define glIndexub use_qglIndexub
|
||
|
#define glIndexubv use_qglIndexubv
|
||
|
#define glInitNames use_qglInitNames
|
||
|
#define glInterleavedArrays use_qglInterleavedArrays
|
||
|
#define glIsEnabled use_qglIsEnabled
|
||
|
#define glIsList use_qglIsList
|
||
|
#define glIsTexture use_qglIsTexture
|
||
|
#define glLightModelf use_qglLightModelf
|
||
|
#define glLightModelfv use_qglLightModelfv
|
||
|
#define glLightModeli use_qglLightModeli
|
||
|
#define glLightModeliv use_qglLightModeliv
|
||
|
#define glLightf use_qglLightf
|
||
|
#define glLightfv use_qglLightfv
|
||
|
#define glLighti use_qglLighti
|
||
|
#define glLightiv use_qglLightiv
|
||
|
#define glLineStipple use_qglLineStipple
|
||
|
#define glLineWidth use_qglLineWidth
|
||
|
#define glListBase use_qglListBase
|
||
|
#define glLoadIdentity use_qglLoadIdentity
|
||
|
#define glLoadMatrixd use_qglLoadMatrixd
|
||
|
#define glLoadMatrixf use_qglLoadMatrixf
|
||
|
#define glLoadName use_qglLoadName
|
||
|
#define glLogicOp use_qglLogicOp
|
||
|
#define glMap1d use_qglMap1d
|
||
|
#define glMap1f use_qglMap1f
|
||
|
#define glMap2d use_qglMap2d
|
||
|
#define glMap2f use_qglMap2f
|
||
|
#define glMapGrid1d use_qglMapGrid1d
|
||
|
#define glMapGrid1f use_qglMapGrid1f
|
||
|
#define glMapGrid2d use_qglMapGrid2d
|
||
|
#define glMapGrid2f use_qglMapGrid2f
|
||
|
#define glMaterialf use_qglMaterialf
|
||
|
#define glMaterialfv use_qglMaterialfv
|
||
|
#define glMateriali use_qglMateriali
|
||
|
#define glMaterialiv use_qglMaterialiv
|
||
|
#define glMatrixMode use_qglMatrixMode
|
||
|
#define glMultMatrixd use_qglMultMatrixd
|
||
|
#define glMultMatrixf use_qglMultMatrixf
|
||
|
#define glNewList use_qglNewList
|
||
|
#define glNormal3b use_qglNormal3b
|
||
|
#define glNormal3bv use_qglNormal3bv
|
||
|
#define glNormal3d use_qglNormal3d
|
||
|
#define glNormal3dv use_qglNormal3dv
|
||
|
#define glNormal3f use_qglNormal3f
|
||
|
#define glNormal3fv use_qglNormal3fv
|
||
|
#define glNormal3i use_qglNormal3i
|
||
|
#define glNormal3iv use_qglNormal3iv
|
||
|
#define glNormal3s use_qglNormal3s
|
||
|
#define glNormal3sv use_qglNormal3sv
|
||
|
#define glNormalPointer use_qglNormalPointer
|
||
|
#define glOrtho use_qglOrtho
|
||
|
#define glPassThrough use_qglPassThrough
|
||
|
#define glPixelMapfv use_qglPixelMapfv
|
||
|
#define glPixelMapuiv use_qglPixelMapuiv
|
||
|
#define glPixelMapusv use_qglPixelMapusv
|
||
|
#define glPixelStoref use_qglPixelStoref
|
||
|
#define glPixelStorei use_qglPixelStorei
|
||
|
#define glPixelTransferf use_qglPixelTransferf
|
||
|
#define glPixelTransferi use_qglPixelTransferi
|
||
|
#define glPixelZoom use_qglPixelZoom
|
||
|
#define glPointSize use_qglPointSize
|
||
|
#define glPolygonMode use_qglPolygonMode
|
||
|
#define glPolygonOffset use_qglPolygonOffset
|
||
|
#define glPolygonStipple use_qglPolygonStipple
|
||
|
#define glPopAttrib use_qglPopAttrib
|
||
|
#define glPopClientAttrib use_qglPopClientAttrib
|
||
|
#define glPopMatrix use_qglPopMatrix
|
||
|
#define glPopName use_qglPopName
|
||
|
#define glPrioritizeTextures use_qglPrioritizeTextures
|
||
|
#define glPushAttrib use_qglPushAttrib
|
||
|
#define glPushClientAttrib use_qglPushClientAttrib
|
||
|
#define glPushMatrix use_qglPushMatrix
|
||
|
#define glPushName use_qglPushName
|
||
|
#define glRasterPos2d use_qglRasterPos2d
|
||
|
#define glRasterPos2dv use_qglRasterPos2dv
|
||
|
#define glRasterPos2f use_qglRasterPos2f
|
||
|
#define glRasterPos2fv use_qglRasterPos2fv
|
||
|
#define glRasterPos2i use_qglRasterPos2i
|
||
|
#define glRasterPos2iv use_qglRasterPos2iv
|
||
|
#define glRasterPos2s use_qglRasterPos2s
|
||
|
#define glRasterPos2sv use_qglRasterPos2sv
|
||
|
#define glRasterPos3d use_qglRasterPos3d
|
||
|
#define glRasterPos3dv use_qglRasterPos3dv
|
||
|
#define glRasterPos3f use_qglRasterPos3f
|
||
|
#define glRasterPos3fv use_qglRasterPos3fv
|
||
|
#define glRasterPos3i use_qglRasterPos3i
|
||
|
#define glRasterPos3iv use_qglRasterPos3iv
|
||
|
#define glRasterPos3s use_qglRasterPos3s
|
||
|
#define glRasterPos3sv use_qglRasterPos3sv
|
||
|
#define glRasterPos4d use_qglRasterPos4d
|
||
|
#define glRasterPos4dv use_qglRasterPos4dv
|
||
|
#define glRasterPos4f use_qglRasterPos4f
|
||
|
#define glRasterPos4fv use_qglRasterPos4fv
|
||
|
#define glRasterPos4i use_qglRasterPos4i
|
||
|
#define glRasterPos4iv use_qglRasterPos4iv
|
||
|
#define glRasterPos4s use_qglRasterPos4s
|
||
|
#define glRasterPos4sv use_qglRasterPos4sv
|
||
|
#define glReadBuffer use_qglReadBuffer
|
||
|
#define glReadPixels use_qglReadPixels
|
||
|
#define glRectd use_qglRectd
|
||
|
#define glRectdv use_qglRectdv
|
||
|
#define glRectf use_qglRectf
|
||
|
#define glRectfv use_qglRectfv
|
||
|
#define glRecti use_qglRecti
|
||
|
#define glRectiv use_qglRectiv
|
||
|
#define glRects use_qglRects
|
||
|
#define glRectsv use_qglRectsv
|
||
|
#define glRenderMode use_qglRenderMode
|
||
|
#define glRotated use_qglRotated
|
||
|
#define glRotatef use_qglRotatef
|
||
|
#define glScaled use_qglScaled
|
||
|
#define glScalef use_qglScalef
|
||
|
#define glScissor use_qglScissor
|
||
|
#define glSelectBuffer use_qglSelectBuffer
|
||
|
#define glShadeModel use_qglShadeModel
|
||
|
#define glStencilFunc use_qglStencilFunc
|
||
|
#define glStencilMask use_qglStencilMask
|
||
|
#define glStencilOp use_qglStencilOp
|
||
|
#define glTexCoord1d use_qglTexCoord1d
|
||
|
#define glTexCoord1dv use_qglTexCoord1dv
|
||
|
#define glTexCoord1f use_qglTexCoord1f
|
||
|
#define glTexCoord1fv use_qglTexCoord1fv
|
||
|
#define glTexCoord1i use_qglTexCoord1i
|
||
|
#define glTexCoord1iv use_qglTexCoord1iv
|
||
|
#define glTexCoord1s use_qglTexCoord1s
|
||
|
#define glTexCoord1sv use_qglTexCoord1sv
|
||
|
#define glTexCoord2d use_qglTexCoord2d
|
||
|
#define glTexCoord2dv use_qglTexCoord2dv
|
||
|
#define glTexCoord2f use_qglTexCoord2f
|
||
|
#define glTexCoord2fv use_qglTexCoord2fv
|
||
|
#define glTexCoord2i use_qglTexCoord2i
|
||
|
#define glTexCoord2iv use_qglTexCoord2iv
|
||
|
#define glTexCoord2s use_qglTexCoord2s
|
||
|
#define glTexCoord2sv use_qglTexCoord2sv
|
||
|
#define glTexCoord3d use_qglTexCoord3d
|
||
|
#define glTexCoord3dv use_qglTexCoord3dv
|
||
|
#define glTexCoord3f use_qglTexCoord3f
|
||
|
#define glTexCoord3fv use_qglTexCoord3fv
|
||
|
#define glTexCoord3i use_qglTexCoord3i
|
||
|
#define glTexCoord3iv use_qglTexCoord3iv
|
||
|
#define glTexCoord3s use_qglTexCoord3s
|
||
|
#define glTexCoord3sv use_qglTexCoord3sv
|
||
|
#define glTexCoord4d use_qglTexCoord4d
|
||
|
#define glTexCoord4dv use_qglTexCoord4dv
|
||
|
#define glTexCoord4f use_qglTexCoord4f
|
||
|
#define glTexCoord4fv use_qglTexCoord4fv
|
||
|
#define glTexCoord4i use_qglTexCoord4i
|
||
|
#define glTexCoord4iv use_qglTexCoord4iv
|
||
|
#define glTexCoord4s use_qglTexCoord4s
|
||
|
#define glTexCoord4sv use_qglTexCoord4sv
|
||
|
#define glTexCoordPointer use_qglTexCoordPointer
|
||
|
#define glTexEnvf use_qglTexEnvf
|
||
|
#define glTexEnvfv use_qglTexEnvfv
|
||
|
#define glTexEnvi use_qglTexEnvi
|
||
|
#define glTexEnviv use_qglTexEnviv
|
||
|
#define glTexGend use_qglTexGend
|
||
|
#define glTexGendv use_qglTexGendv
|
||
|
#define glTexGenf use_qglTexGenf
|
||
|
#define glTexGenfv use_qglTexGenfv
|
||
|
#define glTexGeni use_qglTexGeni
|
||
|
#define glTexGeniv use_qglTexGeniv
|
||
|
#define glTexImage1D use_qglTexImage1D
|
||
|
#define glTexImage2D use_qglTexImage2D
|
||
|
#define glTexParameterf use_qglTexParameterf
|
||
|
#define glTexParameterfv use_qglTexParameterfv
|
||
|
#define glTexParameteri use_qglTexParameteri
|
||
|
#define glTexParameteriv use_qglTexParameteriv
|
||
|
#define glTexSubImage1D use_qglTexSubImage1D
|
||
|
#define glTexSubImage2D use_qglTexSubImage2D
|
||
|
#define glTranslated use_qglTranslated
|
||
|
#define glTranslatef use_qglTranslatef
|
||
|
#define glVertex2d use_qglVertex2d
|
||
|
#define glVertex2dv use_qglVertex2dv
|
||
|
#define glVertex2f use_qglVertex2f
|
||
|
#define glVertex2fv use_qglVertex2fv
|
||
|
#define glVertex2i use_qglVertex2i
|
||
|
#define glVertex2iv use_qglVertex2iv
|
||
|
#define glVertex2s use_qglVertex2s
|
||
|
#define glVertex2sv use_qglVertex2sv
|
||
|
#define glVertex3d use_qglVertex3d
|
||
|
#define glVertex3dv use_qglVertex3dv
|
||
|
#define glVertex3f use_qglVertex3f
|
||
|
#define glVertex3fv use_qglVertex3fv
|
||
|
#define glVertex3i use_qglVertex3i
|
||
|
#define glVertex3iv use_qglVertex3iv
|
||
|
#define glVertex3s use_qglVertex3s
|
||
|
#define glVertex3sv use_qglVertex3sv
|
||
|
#define glVertex4d use_qglVertex4d
|
||
|
#define glVertex4dv use_qglVertex4dv
|
||
|
#define glVertex4f use_qglVertex4f
|
||
|
#define glVertex4fv use_qglVertex4fv
|
||
|
#define glVertex4i use_qglVertex4i
|
||
|
#define glVertex4iv use_qglVertex4iv
|
||
|
#define glVertex4s use_qglVertex4s
|
||
|
#define glVertex4sv use_qglVertex4sv
|
||
|
#define glVertexPointer use_qglVertexPointer
|
||
|
#define glViewport use_qglViewport
|
||
|
|
||
|
#define glChooseVisual use_qglChooseVisual
|
||
|
#define glCreateContext use_qglCreateContext
|
||
|
#define glDestroyContext use_qglDestroyContext
|
||
|
#define glMakeCurrent use_qglMakeCurrent
|
||
|
#define glSwapBuffers use_qglSwapBuffers
|
||
|
#define glGetProcAddressARB use_qglGetProcAddressARB
|
||
|
|
||
|
|