gl.h
author Ryan C. Gordon <icculus@icculus.org>
Sun, 27 Apr 2008 22:43:02 -0400
branchtrunk
changeset 230 396aa372c7d8
parent 174 0eb9e160ff7f
permissions -rw-r--r--
Fixed logic error.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
174
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
#ifndef __gl_h_
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
#define __gl_h_
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
#ifdef __cplusplus
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
extern "C" {
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
/*
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     9
** Copyright 1998-2002, NVIDIA Corporation.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
** All Rights Reserved.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    11
** 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    12
** THE INFORMATION CONTAINED HEREIN IS PROPRIETARY AND CONFIDENTIAL TO
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
** NVIDIA, CORPORATION.  USE, REPRODUCTION OR DISCLOSURE TO ANY THIRD PARTY
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    14
** IS SUBJECT TO WRITTEN PRE-APPROVAL BY NVIDIA, CORPORATION.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    15
** 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    16
** 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    17
** Copyright 1992-1999, Silicon Graphics, Inc.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    18
** All Rights Reserved.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    19
** 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    20
** Portions of this file are UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    21
** Graphics, Inc.; the contents of this file may not be disclosed to third
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    22
** parties, copied or duplicated in any form, in whole or in part, without
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    23
** the prior written permission of Silicon Graphics, Inc.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    24
** 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    25
** RESTRICTED RIGHTS LEGEND:
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    26
** Use, duplication or disclosure by the Government is subject to
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    27
** restrictions as set forth in subdivision (c)(1)(ii) of the Rights in
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    28
** Technical Data and Computer Software clause at DFARS 252.227-7013,
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    29
** and/or in similar or successor clauses in the FAR, DOD or NASA FAR
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    30
** Supplement.  Unpublished - rights reserved under the Copyright Laws of
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    31
** the United States.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    32
*/
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    33
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    34
#ifndef APIENTRY
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    35
#define APIENTRY
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    36
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    37
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    38
#ifndef WIN32
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    39
#define WINGDIAPI
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    40
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    41
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    42
#ifndef GLAPI
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    43
# ifdef _WIN32
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    44
#  define GLAPI __stdcall
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    45
# else
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    46
#  define GLAPI
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    47
# endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    48
# define __DEFINED_GLAPI
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    49
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    50
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    51
/*************************************************************/
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    52
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    53
typedef unsigned int GLenum;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    54
typedef unsigned char GLboolean;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    55
typedef unsigned int GLbitfield;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    56
typedef signed char GLbyte;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    57
typedef short GLshort;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    58
typedef int GLint;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    59
typedef int GLsizei;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    60
typedef unsigned char GLubyte;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    61
typedef unsigned short GLushort;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    62
typedef unsigned int GLuint;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    63
typedef float GLfloat;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    64
typedef float GLclampf;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    65
typedef double GLdouble;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    66
typedef double GLclampd;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    67
typedef void GLvoid;
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    68
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    69
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    70
/*************************************************************/
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    71
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    72
/* Version */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    73
#define GL_VERSION_1_1                    1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    74
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    75
/* AttribMask */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    76
#define GL_CURRENT_BIT                    0x00000001
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    77
#define GL_POINT_BIT                      0x00000002
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    78
#define GL_LINE_BIT                       0x00000004
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    79
#define GL_POLYGON_BIT                    0x00000008
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    80
#define GL_POLYGON_STIPPLE_BIT            0x00000010
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    81
#define GL_PIXEL_MODE_BIT                 0x00000020
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    82
#define GL_LIGHTING_BIT                   0x00000040
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    83
#define GL_FOG_BIT                        0x00000080
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    84
#define GL_DEPTH_BUFFER_BIT               0x00000100
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    85
#define GL_ACCUM_BUFFER_BIT               0x00000200
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    86
#define GL_STENCIL_BUFFER_BIT             0x00000400
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    87
#define GL_VIEWPORT_BIT                   0x00000800
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    88
#define GL_TRANSFORM_BIT                  0x00001000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    89
#define GL_ENABLE_BIT                     0x00002000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    90
#define GL_COLOR_BUFFER_BIT               0x00004000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    91
#define GL_HINT_BIT                       0x00008000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    92
#define GL_EVAL_BIT                       0x00010000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    93
#define GL_LIST_BIT                       0x00020000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    94
#define GL_TEXTURE_BIT                    0x00040000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    95
#define GL_SCISSOR_BIT                    0x00080000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    96
#define GL_ALL_ATTRIB_BITS                0xFFFFFFFF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    97
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    98
/* ClearBufferMask */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    99
/*      GL_COLOR_BUFFER_BIT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   100
/*      GL_ACCUM_BUFFER_BIT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   101
/*      GL_STENCIL_BUFFER_BIT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   102
/*      GL_DEPTH_BUFFER_BIT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   103
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   104
/* ClientAttribMask */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   105
#define GL_CLIENT_PIXEL_STORE_BIT         0x00000001
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   106
#define GL_CLIENT_VERTEX_ARRAY_BIT        0x00000002
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   107
#define GL_CLIENT_ALL_ATTRIB_BITS         0xFFFFFFFF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   108
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   109
/* Boolean */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   110
#define GL_FALSE                          0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   111
#define GL_TRUE                           1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   112
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   113
/* BeginMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   114
#define GL_POINTS                         0x0000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   115
#define GL_LINES                          0x0001
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   116
#define GL_LINE_LOOP                      0x0002
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   117
#define GL_LINE_STRIP                     0x0003
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   118
#define GL_TRIANGLES                      0x0004
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   119
#define GL_TRIANGLE_STRIP                 0x0005
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   120
#define GL_TRIANGLE_FAN                   0x0006
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   121
#define GL_QUADS                          0x0007
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   122
#define GL_QUAD_STRIP                     0x0008
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   123
#define GL_POLYGON                        0x0009
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   124
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   125
/* AccumOp */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   126
#define GL_ACCUM                          0x0100
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   127
#define GL_LOAD                           0x0101
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   128
#define GL_RETURN                         0x0102
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   129
#define GL_MULT                           0x0103
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   130
#define GL_ADD                            0x0104
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   131
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   132
/* AlphaFunction */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   133
#define GL_NEVER                          0x0200
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   134
#define GL_LESS                           0x0201
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   135
#define GL_EQUAL                          0x0202
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   136
#define GL_LEQUAL                         0x0203
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   137
#define GL_GREATER                        0x0204
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   138
#define GL_NOTEQUAL                       0x0205
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   139
#define GL_GEQUAL                         0x0206
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   140
#define GL_ALWAYS                         0x0207
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   141
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   142
/* BlendingFactorDest */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   143
#define GL_ZERO                           0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   144
#define GL_ONE                            1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   145
#define GL_SRC_COLOR                      0x0300
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   146
#define GL_ONE_MINUS_SRC_COLOR            0x0301
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   147
#define GL_SRC_ALPHA                      0x0302
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   148
#define GL_ONE_MINUS_SRC_ALPHA            0x0303
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   149
#define GL_DST_ALPHA                      0x0304
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   150
#define GL_ONE_MINUS_DST_ALPHA            0x0305
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   151
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   152
/* BlendingFactorSrc */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   153
/*      GL_ZERO */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   154
/*      GL_ONE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   155
#define GL_DST_COLOR                      0x0306
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   156
#define GL_ONE_MINUS_DST_COLOR            0x0307
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   157
#define GL_SRC_ALPHA_SATURATE             0x0308
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   158
/*      GL_SRC_ALPHA */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   159
/*      GL_ONE_MINUS_SRC_ALPHA */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   160
/*      GL_DST_ALPHA */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   161
/*      GL_ONE_MINUS_DST_ALPHA */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   162
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   163
/* ColorMaterialFace */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   164
/*      GL_FRONT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   165
/*      GL_BACK */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   166
/*      GL_FRONT_AND_BACK */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   167
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   168
/* ColorMaterialParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   169
/*      GL_AMBIENT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   170
/*      GL_DIFFUSE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   171
/*      GL_SPECULAR */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   172
/*      GL_EMISSION */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   173
/*      GL_AMBIENT_AND_DIFFUSE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   174
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   175
/* ColorPointerType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   176
/*      GL_BYTE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   177
/*      GL_UNSIGNED_BYTE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   178
/*      GL_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   179
/*      GL_UNSIGNED_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   180
/*      GL_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   181
/*      GL_UNSIGNED_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   182
/*      GL_FLOAT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   183
/*      GL_DOUBLE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   184
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   185
/* CullFaceMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   186
/*      GL_FRONT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   187
/*      GL_BACK */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   188
/*      GL_FRONT_AND_BACK */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   189
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   190
/* DepthFunction */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   191
/*      GL_NEVER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   192
/*      GL_LESS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   193
/*      GL_EQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   194
/*      GL_LEQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   195
/*      GL_GREATER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   196
/*      GL_NOTEQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   197
/*      GL_GEQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   198
/*      GL_ALWAYS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   199
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   200
/* DrawBufferMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   201
#define GL_NONE                           0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   202
#define GL_FRONT_LEFT                     0x0400
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   203
#define GL_FRONT_RIGHT                    0x0401
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   204
#define GL_BACK_LEFT                      0x0402
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   205
#define GL_BACK_RIGHT                     0x0403
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   206
#define GL_FRONT                          0x0404
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   207
#define GL_BACK                           0x0405
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   208
#define GL_LEFT                           0x0406
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   209
#define GL_RIGHT                          0x0407
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   210
#define GL_FRONT_AND_BACK                 0x0408
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   211
#define GL_AUX0                           0x0409
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   212
#define GL_AUX1                           0x040A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   213
#define GL_AUX2                           0x040B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   214
#define GL_AUX3                           0x040C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   215
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   216
/* EnableCap */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   217
/*      GL_FOG */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   218
/*      GL_LIGHTING */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   219
/*      GL_TEXTURE_1D */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   220
/*      GL_TEXTURE_2D */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   221
/*      GL_LINE_STIPPLE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   222
/*      GL_POLYGON_STIPPLE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   223
/*      GL_CULL_FACE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   224
/*      GL_ALPHA_TEST */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   225
/*      GL_BLEND */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   226
/*      GL_INDEX_LOGIC_OP */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   227
/*      GL_COLOR_LOGIC_OP */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   228
/*      GL_DITHER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   229
/*      GL_STENCIL_TEST */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   230
/*      GL_DEPTH_TEST */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   231
/*      GL_CLIP_PLANE0 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   232
/*      GL_CLIP_PLANE1 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   233
/*      GL_CLIP_PLANE2 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   234
/*      GL_CLIP_PLANE3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   235
/*      GL_CLIP_PLANE4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   236
/*      GL_CLIP_PLANE5 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   237
/*      GL_LIGHT0 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   238
/*      GL_LIGHT1 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   239
/*      GL_LIGHT2 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   240
/*      GL_LIGHT3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   241
/*      GL_LIGHT4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   242
/*      GL_LIGHT5 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   243
/*      GL_LIGHT6 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   244
/*      GL_LIGHT7 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   245
/*      GL_TEXTURE_GEN_S */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   246
/*      GL_TEXTURE_GEN_T */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   247
/*      GL_TEXTURE_GEN_R */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   248
/*      GL_TEXTURE_GEN_Q */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   249
/*      GL_MAP1_VERTEX_3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   250
/*      GL_MAP1_VERTEX_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   251
/*      GL_MAP1_COLOR_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   252
/*      GL_MAP1_INDEX */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   253
/*      GL_MAP1_NORMAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   254
/*      GL_MAP1_TEXTURE_COORD_1 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   255
/*      GL_MAP1_TEXTURE_COORD_2 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   256
/*      GL_MAP1_TEXTURE_COORD_3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   257
/*      GL_MAP1_TEXTURE_COORD_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   258
/*      GL_MAP2_VERTEX_3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   259
/*      GL_MAP2_VERTEX_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   260
/*      GL_MAP2_COLOR_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   261
/*      GL_MAP2_INDEX */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   262
/*      GL_MAP2_NORMAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   263
/*      GL_MAP2_TEXTURE_COORD_1 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   264
/*      GL_MAP2_TEXTURE_COORD_2 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   265
/*      GL_MAP2_TEXTURE_COORD_3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   266
/*      GL_MAP2_TEXTURE_COORD_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   267
/*      GL_POINT_SMOOTH */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   268
/*      GL_LINE_SMOOTH */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   269
/*      GL_POLYGON_SMOOTH */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   270
/*      GL_SCISSOR_TEST */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   271
/*      GL_COLOR_MATERIAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   272
/*      GL_NORMALIZE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   273
/*      GL_AUTO_NORMAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   274
/*      GL_POLYGON_OFFSET_POINT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   275
/*      GL_POLYGON_OFFSET_LINE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   276
/*      GL_POLYGON_OFFSET_FILL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   277
/*      GL_VERTEX_ARRAY */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   278
/*      GL_NORMAL_ARRAY */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   279
/*      GL_COLOR_ARRAY */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   280
/*      GL_INDEX_ARRAY */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   281
/*      GL_TEXTURE_COORD_ARRAY */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   282
/*      GL_EDGE_FLAG_ARRAY */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   283
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   284
/* ErrorCode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   285
#define GL_NO_ERROR                       0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   286
#define GL_INVALID_ENUM                   0x0500
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   287
#define GL_INVALID_VALUE                  0x0501
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   288
#define GL_INVALID_OPERATION              0x0502
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   289
#define GL_STACK_OVERFLOW                 0x0503
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   290
#define GL_STACK_UNDERFLOW                0x0504
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   291
#define GL_OUT_OF_MEMORY                  0x0505
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   292
#define GL_TABLE_TOO_LARGE                0x8031
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   293
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   294
/* FeedbackType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   295
#define GL_2D                             0x0600
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   296
#define GL_3D                             0x0601
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   297
#define GL_3D_COLOR                       0x0602
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   298
#define GL_3D_COLOR_TEXTURE               0x0603
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   299
#define GL_4D_COLOR_TEXTURE               0x0604
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   300
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   301
/* FeedBackToken */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   302
#define GL_PASS_THROUGH_TOKEN             0x0700
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   303
#define GL_POINT_TOKEN                    0x0701
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   304
#define GL_LINE_TOKEN                     0x0702
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   305
#define GL_POLYGON_TOKEN                  0x0703
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   306
#define GL_BITMAP_TOKEN                   0x0704
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   307
#define GL_DRAW_PIXEL_TOKEN               0x0705
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   308
#define GL_COPY_PIXEL_TOKEN               0x0706
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   309
#define GL_LINE_RESET_TOKEN               0x0707
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   310
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   311
/* FogMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   312
/*      GL_LINEAR */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   313
#define GL_EXP                            0x0800
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   314
#define GL_EXP2                           0x0801
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   315
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   316
/* FogParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   317
/*      GL_FOG_COLOR */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   318
/*      GL_FOG_DENSITY */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   319
/*      GL_FOG_END */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   320
/*      GL_FOG_INDEX */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   321
/*      GL_FOG_MODE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   322
/*      GL_FOG_START */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   323
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   324
/* FrontFaceDirection */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   325
#define GL_CW                             0x0900
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   326
#define GL_CCW                            0x0901
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   327
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   328
/* GetMapQuery */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   329
#define GL_COEFF                          0x0A00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   330
#define GL_ORDER                          0x0A01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   331
#define GL_DOMAIN                         0x0A02
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   332
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   333
/* GetPixelMap */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   334
#define GL_PIXEL_MAP_I_TO_I               0x0C70
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   335
#define GL_PIXEL_MAP_S_TO_S               0x0C71
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   336
#define GL_PIXEL_MAP_I_TO_R               0x0C72
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   337
#define GL_PIXEL_MAP_I_TO_G               0x0C73
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   338
#define GL_PIXEL_MAP_I_TO_B               0x0C74
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   339
#define GL_PIXEL_MAP_I_TO_A               0x0C75
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   340
#define GL_PIXEL_MAP_R_TO_R               0x0C76
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   341
#define GL_PIXEL_MAP_G_TO_G               0x0C77
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   342
#define GL_PIXEL_MAP_B_TO_B               0x0C78
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   343
#define GL_PIXEL_MAP_A_TO_A               0x0C79
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   344
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   345
/* GetPointervPName */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   346
#define GL_VERTEX_ARRAY_POINTER           0x808E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   347
#define GL_NORMAL_ARRAY_POINTER           0x808F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   348
#define GL_COLOR_ARRAY_POINTER            0x8090
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   349
#define GL_INDEX_ARRAY_POINTER            0x8091
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   350
#define GL_TEXTURE_COORD_ARRAY_POINTER    0x8092
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   351
#define GL_EDGE_FLAG_ARRAY_POINTER        0x8093
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   352
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   353
/* GetPName */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   354
#define GL_CURRENT_COLOR                  0x0B00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   355
#define GL_CURRENT_INDEX                  0x0B01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   356
#define GL_CURRENT_NORMAL                 0x0B02
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   357
#define GL_CURRENT_TEXTURE_COORDS         0x0B03
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   358
#define GL_CURRENT_RASTER_COLOR           0x0B04
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   359
#define GL_CURRENT_RASTER_INDEX           0x0B05
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   360
#define GL_CURRENT_RASTER_TEXTURE_COORDS  0x0B06
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   361
#define GL_CURRENT_RASTER_POSITION        0x0B07
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   362
#define GL_CURRENT_RASTER_POSITION_VALID  0x0B08
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   363
#define GL_CURRENT_RASTER_DISTANCE        0x0B09
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   364
#define GL_POINT_SMOOTH                   0x0B10
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   365
#define GL_POINT_SIZE                     0x0B11
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   366
#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   367
#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   368
#define GL_POINT_SIZE_RANGE               GL_SMOOTH_POINT_SIZE_RANGE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   369
#define GL_POINT_SIZE_GRANULARITY         GL_SMOOTH_POINT_SIZE_GRANULARITY
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   370
#define GL_LINE_SMOOTH                    0x0B20
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   371
#define GL_LINE_WIDTH                     0x0B21
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   372
#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   373
#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   374
#define GL_LINE_WIDTH_RANGE               GL_SMOOTH_LINE_WIDTH_RANGE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   375
#define GL_LINE_WIDTH_GRANULARITY         GL_SMOOTH_LINE_WIDTH_GRANULARITY
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   376
#define GL_LINE_STIPPLE                   0x0B24
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   377
#define GL_LINE_STIPPLE_PATTERN           0x0B25
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   378
#define GL_LINE_STIPPLE_REPEAT            0x0B26
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   379
#define GL_LIST_MODE                      0x0B30
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   380
#define GL_MAX_LIST_NESTING               0x0B31
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   381
#define GL_LIST_BASE                      0x0B32
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   382
#define GL_LIST_INDEX                     0x0B33
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   383
#define GL_POLYGON_MODE                   0x0B40
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   384
#define GL_POLYGON_SMOOTH                 0x0B41
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   385
#define GL_POLYGON_STIPPLE                0x0B42
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   386
#define GL_EDGE_FLAG                      0x0B43
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   387
#define GL_CULL_FACE                      0x0B44
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   388
#define GL_CULL_FACE_MODE                 0x0B45
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   389
#define GL_FRONT_FACE                     0x0B46
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   390
#define GL_LIGHTING                       0x0B50
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   391
#define GL_LIGHT_MODEL_LOCAL_VIEWER       0x0B51
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   392
#define GL_LIGHT_MODEL_TWO_SIDE           0x0B52
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   393
#define GL_LIGHT_MODEL_AMBIENT            0x0B53
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   394
#define GL_SHADE_MODEL                    0x0B54
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   395
#define GL_COLOR_MATERIAL_FACE            0x0B55
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   396
#define GL_COLOR_MATERIAL_PARAMETER       0x0B56
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   397
#define GL_COLOR_MATERIAL                 0x0B57
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   398
#define GL_FOG                            0x0B60
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   399
#define GL_FOG_INDEX                      0x0B61
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   400
#define GL_FOG_DENSITY                    0x0B62
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   401
#define GL_FOG_START                      0x0B63
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   402
#define GL_FOG_END                        0x0B64
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   403
#define GL_FOG_MODE                       0x0B65
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   404
#define GL_FOG_COLOR                      0x0B66
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   405
#define GL_DEPTH_RANGE                    0x0B70
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   406
#define GL_DEPTH_TEST                     0x0B71
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   407
#define GL_DEPTH_WRITEMASK                0x0B72
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   408
#define GL_DEPTH_CLEAR_VALUE              0x0B73
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   409
#define GL_DEPTH_FUNC                     0x0B74
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   410
#define GL_ACCUM_CLEAR_VALUE              0x0B80
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   411
#define GL_STENCIL_TEST                   0x0B90
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   412
#define GL_STENCIL_CLEAR_VALUE            0x0B91
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   413
#define GL_STENCIL_FUNC                   0x0B92
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   414
#define GL_STENCIL_VALUE_MASK             0x0B93
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   415
#define GL_STENCIL_FAIL                   0x0B94
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   416
#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   417
#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   418
#define GL_STENCIL_REF                    0x0B97
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   419
#define GL_STENCIL_WRITEMASK              0x0B98
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   420
#define GL_MATRIX_MODE                    0x0BA0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   421
#define GL_NORMALIZE                      0x0BA1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   422
#define GL_VIEWPORT                       0x0BA2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   423
#define GL_MODELVIEW_STACK_DEPTH          0x0BA3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   424
#define GL_PROJECTION_STACK_DEPTH         0x0BA4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   425
#define GL_TEXTURE_STACK_DEPTH            0x0BA5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   426
#define GL_MODELVIEW_MATRIX               0x0BA6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   427
#define GL_PROJECTION_MATRIX              0x0BA7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   428
#define GL_TEXTURE_MATRIX                 0x0BA8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   429
#define GL_ATTRIB_STACK_DEPTH             0x0BB0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   430
#define GL_CLIENT_ATTRIB_STACK_DEPTH      0x0BB1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   431
#define GL_ALPHA_TEST                     0x0BC0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   432
#define GL_ALPHA_TEST_FUNC                0x0BC1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   433
#define GL_ALPHA_TEST_REF                 0x0BC2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   434
#define GL_DITHER                         0x0BD0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   435
#define GL_BLEND_DST                      0x0BE0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   436
#define GL_BLEND_SRC                      0x0BE1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   437
#define GL_BLEND                          0x0BE2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   438
#define GL_LOGIC_OP_MODE                  0x0BF0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   439
#define GL_INDEX_LOGIC_OP                 0x0BF1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   440
#define GL_LOGIC_OP                       GL_INDEX_LOGIC_OP
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   441
#define GL_COLOR_LOGIC_OP                 0x0BF2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   442
#define GL_AUX_BUFFERS                    0x0C00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   443
#define GL_DRAW_BUFFER                    0x0C01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   444
#define GL_READ_BUFFER                    0x0C02
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   445
#define GL_SCISSOR_BOX                    0x0C10
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   446
#define GL_SCISSOR_TEST                   0x0C11
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   447
#define GL_INDEX_CLEAR_VALUE              0x0C20
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   448
#define GL_INDEX_WRITEMASK                0x0C21
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   449
#define GL_COLOR_CLEAR_VALUE              0x0C22
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   450
#define GL_COLOR_WRITEMASK                0x0C23
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   451
#define GL_INDEX_MODE                     0x0C30
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   452
#define GL_RGBA_MODE                      0x0C31
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   453
#define GL_DOUBLEBUFFER                   0x0C32
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   454
#define GL_STEREO                         0x0C33
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   455
#define GL_RENDER_MODE                    0x0C40
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   456
#define GL_PERSPECTIVE_CORRECTION_HINT    0x0C50
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   457
#define GL_POINT_SMOOTH_HINT              0x0C51
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   458
#define GL_LINE_SMOOTH_HINT               0x0C52
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   459
#define GL_POLYGON_SMOOTH_HINT            0x0C53
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   460
#define GL_FOG_HINT                       0x0C54
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   461
#define GL_TEXTURE_GEN_S                  0x0C60
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   462
#define GL_TEXTURE_GEN_T                  0x0C61
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   463
#define GL_TEXTURE_GEN_R                  0x0C62
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   464
#define GL_TEXTURE_GEN_Q                  0x0C63
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   465
#define GL_PIXEL_MAP_I_TO_I_SIZE          0x0CB0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   466
#define GL_PIXEL_MAP_S_TO_S_SIZE          0x0CB1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   467
#define GL_PIXEL_MAP_I_TO_R_SIZE          0x0CB2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   468
#define GL_PIXEL_MAP_I_TO_G_SIZE          0x0CB3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   469
#define GL_PIXEL_MAP_I_TO_B_SIZE          0x0CB4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   470
#define GL_PIXEL_MAP_I_TO_A_SIZE          0x0CB5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   471
#define GL_PIXEL_MAP_R_TO_R_SIZE          0x0CB6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   472
#define GL_PIXEL_MAP_G_TO_G_SIZE          0x0CB7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   473
#define GL_PIXEL_MAP_B_TO_B_SIZE          0x0CB8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   474
#define GL_PIXEL_MAP_A_TO_A_SIZE          0x0CB9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   475
#define GL_UNPACK_SWAP_BYTES              0x0CF0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   476
#define GL_UNPACK_LSB_FIRST               0x0CF1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   477
#define GL_UNPACK_ROW_LENGTH              0x0CF2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   478
#define GL_UNPACK_SKIP_ROWS               0x0CF3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   479
#define GL_UNPACK_SKIP_PIXELS             0x0CF4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   480
#define GL_UNPACK_ALIGNMENT               0x0CF5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   481
#define GL_PACK_SWAP_BYTES                0x0D00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   482
#define GL_PACK_LSB_FIRST                 0x0D01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   483
#define GL_PACK_ROW_LENGTH                0x0D02
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   484
#define GL_PACK_SKIP_ROWS                 0x0D03
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   485
#define GL_PACK_SKIP_PIXELS               0x0D04
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   486
#define GL_PACK_ALIGNMENT                 0x0D05
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   487
#define GL_MAP_COLOR                      0x0D10
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   488
#define GL_MAP_STENCIL                    0x0D11
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   489
#define GL_INDEX_SHIFT                    0x0D12
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   490
#define GL_INDEX_OFFSET                   0x0D13
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   491
#define GL_RED_SCALE                      0x0D14
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   492
#define GL_RED_BIAS                       0x0D15
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   493
#define GL_ZOOM_X                         0x0D16
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   494
#define GL_ZOOM_Y                         0x0D17
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   495
#define GL_GREEN_SCALE                    0x0D18
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   496
#define GL_GREEN_BIAS                     0x0D19
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   497
#define GL_BLUE_SCALE                     0x0D1A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   498
#define GL_BLUE_BIAS                      0x0D1B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   499
#define GL_ALPHA_SCALE                    0x0D1C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   500
#define GL_ALPHA_BIAS                     0x0D1D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   501
#define GL_DEPTH_SCALE                    0x0D1E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   502
#define GL_DEPTH_BIAS                     0x0D1F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   503
#define GL_MAX_EVAL_ORDER                 0x0D30
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   504
#define GL_MAX_LIGHTS                     0x0D31
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   505
#define GL_MAX_CLIP_PLANES                0x0D32
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   506
#define GL_MAX_TEXTURE_SIZE               0x0D33
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   507
#define GL_MAX_PIXEL_MAP_TABLE            0x0D34
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   508
#define GL_MAX_ATTRIB_STACK_DEPTH         0x0D35
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   509
#define GL_MAX_MODELVIEW_STACK_DEPTH      0x0D36
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   510
#define GL_MAX_NAME_STACK_DEPTH           0x0D37
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   511
#define GL_MAX_PROJECTION_STACK_DEPTH     0x0D38
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   512
#define GL_MAX_TEXTURE_STACK_DEPTH        0x0D39
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   513
#define GL_MAX_VIEWPORT_DIMS              0x0D3A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   514
#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH  0x0D3B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   515
#define GL_SUBPIXEL_BITS                  0x0D50
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   516
#define GL_INDEX_BITS                     0x0D51
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   517
#define GL_RED_BITS                       0x0D52
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   518
#define GL_GREEN_BITS                     0x0D53
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   519
#define GL_BLUE_BITS                      0x0D54
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   520
#define GL_ALPHA_BITS                     0x0D55
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   521
#define GL_DEPTH_BITS                     0x0D56
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   522
#define GL_STENCIL_BITS                   0x0D57
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   523
#define GL_ACCUM_RED_BITS                 0x0D58
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   524
#define GL_ACCUM_GREEN_BITS               0x0D59
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   525
#define GL_ACCUM_BLUE_BITS                0x0D5A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   526
#define GL_ACCUM_ALPHA_BITS               0x0D5B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   527
#define GL_NAME_STACK_DEPTH               0x0D70
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   528
#define GL_AUTO_NORMAL                    0x0D80
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   529
#define GL_MAP1_COLOR_4                   0x0D90
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   530
#define GL_MAP1_INDEX                     0x0D91
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   531
#define GL_MAP1_NORMAL                    0x0D92
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   532
#define GL_MAP1_TEXTURE_COORD_1           0x0D93
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   533
#define GL_MAP1_TEXTURE_COORD_2           0x0D94
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   534
#define GL_MAP1_TEXTURE_COORD_3           0x0D95
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   535
#define GL_MAP1_TEXTURE_COORD_4           0x0D96
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   536
#define GL_MAP1_VERTEX_3                  0x0D97
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   537
#define GL_MAP1_VERTEX_4                  0x0D98
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   538
#define GL_MAP2_COLOR_4                   0x0DB0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   539
#define GL_MAP2_INDEX                     0x0DB1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   540
#define GL_MAP2_NORMAL                    0x0DB2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   541
#define GL_MAP2_TEXTURE_COORD_1           0x0DB3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   542
#define GL_MAP2_TEXTURE_COORD_2           0x0DB4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   543
#define GL_MAP2_TEXTURE_COORD_3           0x0DB5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   544
#define GL_MAP2_TEXTURE_COORD_4           0x0DB6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   545
#define GL_MAP2_VERTEX_3                  0x0DB7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   546
#define GL_MAP2_VERTEX_4                  0x0DB8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   547
#define GL_MAP1_GRID_DOMAIN               0x0DD0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   548
#define GL_MAP1_GRID_SEGMENTS             0x0DD1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   549
#define GL_MAP2_GRID_DOMAIN               0x0DD2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   550
#define GL_MAP2_GRID_SEGMENTS             0x0DD3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   551
#define GL_TEXTURE_1D                     0x0DE0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   552
#define GL_TEXTURE_2D                     0x0DE1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   553
#define GL_FEEDBACK_BUFFER_POINTER        0x0DF0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   554
#define GL_FEEDBACK_BUFFER_SIZE           0x0DF1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   555
#define GL_FEEDBACK_BUFFER_TYPE           0x0DF2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   556
#define GL_SELECTION_BUFFER_POINTER       0x0DF3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   557
#define GL_SELECTION_BUFFER_SIZE          0x0DF4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   558
#define GL_POLYGON_OFFSET_UNITS           0x2A00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   559
#define GL_POLYGON_OFFSET_POINT           0x2A01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   560
#define GL_POLYGON_OFFSET_LINE            0x2A02
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   561
#define GL_POLYGON_OFFSET_FILL            0x8037
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   562
#define GL_POLYGON_OFFSET_FACTOR          0x8038
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   563
#define GL_TEXTURE_BINDING_1D             0x8068
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   564
#define GL_TEXTURE_BINDING_2D             0x8069
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   565
#define GL_TEXTURE_BINDING_3D             0x806A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   566
#define GL_VERTEX_ARRAY                   0x8074
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   567
#define GL_NORMAL_ARRAY                   0x8075
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   568
#define GL_COLOR_ARRAY                    0x8076
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   569
#define GL_INDEX_ARRAY                    0x8077
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   570
#define GL_TEXTURE_COORD_ARRAY            0x8078
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   571
#define GL_EDGE_FLAG_ARRAY                0x8079
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   572
#define GL_VERTEX_ARRAY_SIZE              0x807A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   573
#define GL_VERTEX_ARRAY_TYPE              0x807B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   574
#define GL_VERTEX_ARRAY_STRIDE            0x807C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   575
#define GL_NORMAL_ARRAY_TYPE              0x807E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   576
#define GL_NORMAL_ARRAY_STRIDE            0x807F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   577
#define GL_COLOR_ARRAY_SIZE               0x8081
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   578
#define GL_COLOR_ARRAY_TYPE               0x8082
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   579
#define GL_COLOR_ARRAY_STRIDE             0x8083
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   580
#define GL_INDEX_ARRAY_TYPE               0x8085
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   581
#define GL_INDEX_ARRAY_STRIDE             0x8086
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   582
#define GL_TEXTURE_COORD_ARRAY_SIZE       0x8088
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   583
#define GL_TEXTURE_COORD_ARRAY_TYPE       0x8089
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   584
#define GL_TEXTURE_COORD_ARRAY_STRIDE     0x808A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   585
#define GL_EDGE_FLAG_ARRAY_STRIDE         0x808C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   586
/*      GL_VERTEX_ARRAY_COUNT_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   587
/*      GL_NORMAL_ARRAY_COUNT_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   588
/*      GL_COLOR_ARRAY_COUNT_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   589
/*      GL_INDEX_ARRAY_COUNT_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   590
/*      GL_TEXTURE_COORD_ARRAY_COUNT_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   591
/*      GL_EDGE_FLAG_ARRAY_COUNT_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   592
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   593
/* GetTextureParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   594
/*      GL_TEXTURE_MAG_FILTER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   595
/*      GL_TEXTURE_MIN_FILTER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   596
/*      GL_TEXTURE_WRAP_S */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   597
/*      GL_TEXTURE_WRAP_T */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   598
#define GL_TEXTURE_WIDTH                  0x1000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   599
#define GL_TEXTURE_HEIGHT                 0x1001
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   600
#define GL_TEXTURE_INTERNAL_FORMAT        0x1003
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   601
#define GL_TEXTURE_COMPONENTS             GL_TEXTURE_INTERNAL_FORMAT
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   602
#define GL_TEXTURE_BORDER_COLOR           0x1004
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   603
#define GL_TEXTURE_BORDER                 0x1005
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   604
#define GL_TEXTURE_RED_SIZE               0x805C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   605
#define GL_TEXTURE_GREEN_SIZE             0x805D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   606
#define GL_TEXTURE_BLUE_SIZE              0x805E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   607
#define GL_TEXTURE_ALPHA_SIZE             0x805F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   608
#define GL_TEXTURE_LUMINANCE_SIZE         0x8060
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   609
#define GL_TEXTURE_INTENSITY_SIZE         0x8061
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   610
#define GL_TEXTURE_PRIORITY               0x8066
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   611
#define GL_TEXTURE_RESIDENT               0x8067
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   612
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   613
/* HintMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   614
#define GL_DONT_CARE                      0x1100
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   615
#define GL_FASTEST                        0x1101
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   616
#define GL_NICEST                         0x1102
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   617
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   618
/* HintTarget */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   619
/*      GL_PERSPECTIVE_CORRECTION_HINT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   620
/*      GL_POINT_SMOOTH_HINT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   621
/*      GL_LINE_SMOOTH_HINT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   622
/*      GL_POLYGON_SMOOTH_HINT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   623
/*      GL_FOG_HINT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   624
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   625
/* IndexMaterialParameterSGI */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   626
/*      GL_INDEX_OFFSET */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   627
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   628
/* IndexPointerType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   629
/*      GL_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   630
/*      GL_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   631
/*      GL_FLOAT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   632
/*      GL_DOUBLE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   633
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   634
/* IndexFunctionSGI */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   635
/*      GL_NEVER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   636
/*      GL_LESS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   637
/*      GL_EQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   638
/*      GL_LEQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   639
/*      GL_GREATER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   640
/*      GL_NOTEQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   641
/*      GL_GEQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   642
/*      GL_ALWAYS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   643
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   644
/* LightModelParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   645
/*      GL_LIGHT_MODEL_AMBIENT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   646
/*      GL_LIGHT_MODEL_LOCAL_VIEWER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   647
/*      GL_LIGHT_MODEL_TWO_SIDE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   648
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   649
/* LightParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   650
#define GL_AMBIENT                        0x1200
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   651
#define GL_DIFFUSE                        0x1201
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   652
#define GL_SPECULAR                       0x1202
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   653
#define GL_POSITION                       0x1203
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   654
#define GL_SPOT_DIRECTION                 0x1204
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   655
#define GL_SPOT_EXPONENT                  0x1205
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   656
#define GL_SPOT_CUTOFF                    0x1206
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   657
#define GL_CONSTANT_ATTENUATION           0x1207
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   658
#define GL_LINEAR_ATTENUATION             0x1208
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   659
#define GL_QUADRATIC_ATTENUATION          0x1209
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   660
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   661
/* ListMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   662
#define GL_COMPILE                        0x1300
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   663
#define GL_COMPILE_AND_EXECUTE            0x1301
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   664
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   665
/* DataType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   666
#define GL_BYTE                           0x1400
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   667
#define GL_UNSIGNED_BYTE                  0x1401
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   668
#define GL_SHORT                          0x1402
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   669
#define GL_UNSIGNED_SHORT                 0x1403
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   670
#define GL_INT                            0x1404
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   671
#define GL_UNSIGNED_INT                   0x1405
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   672
#define GL_FLOAT                          0x1406
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   673
#define GL_2_BYTES                        0x1407
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   674
#define GL_3_BYTES                        0x1408
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   675
#define GL_4_BYTES                        0x1409
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   676
#define GL_DOUBLE                         0x140A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   677
#define GL_DOUBLE_EXT                     0x140A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   678
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   679
/* ListNameType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   680
/*      GL_BYTE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   681
/*      GL_UNSIGNED_BYTE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   682
/*      GL_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   683
/*      GL_UNSIGNED_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   684
/*      GL_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   685
/*      GL_UNSIGNED_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   686
/*      GL_FLOAT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   687
/*      GL_2_BYTES */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   688
/*      GL_3_BYTES */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   689
/*      GL_4_BYTES */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   690
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   691
/* LogicOp */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   692
#define GL_CLEAR                          0x1500
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   693
#define GL_AND                            0x1501
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   694
#define GL_AND_REVERSE                    0x1502
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   695
#define GL_COPY                           0x1503
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   696
#define GL_AND_INVERTED                   0x1504
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   697
#define GL_NOOP                           0x1505
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   698
#define GL_XOR                            0x1506
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   699
#define GL_OR                             0x1507
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   700
#define GL_NOR                            0x1508
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   701
#define GL_EQUIV                          0x1509
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   702
#define GL_INVERT                         0x150A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   703
#define GL_OR_REVERSE                     0x150B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   704
#define GL_COPY_INVERTED                  0x150C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   705
#define GL_OR_INVERTED                    0x150D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   706
#define GL_NAND                           0x150E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   707
#define GL_SET                            0x150F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   708
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   709
/* MapTarget */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   710
/*      GL_MAP1_COLOR_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   711
/*      GL_MAP1_INDEX */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   712
/*      GL_MAP1_NORMAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   713
/*      GL_MAP1_TEXTURE_COORD_1 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   714
/*      GL_MAP1_TEXTURE_COORD_2 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   715
/*      GL_MAP1_TEXTURE_COORD_3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   716
/*      GL_MAP1_TEXTURE_COORD_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   717
/*      GL_MAP1_VERTEX_3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   718
/*      GL_MAP1_VERTEX_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   719
/*      GL_MAP2_COLOR_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   720
/*      GL_MAP2_INDEX */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   721
/*      GL_MAP2_NORMAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   722
/*      GL_MAP2_TEXTURE_COORD_1 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   723
/*      GL_MAP2_TEXTURE_COORD_2 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   724
/*      GL_MAP2_TEXTURE_COORD_3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   725
/*      GL_MAP2_TEXTURE_COORD_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   726
/*      GL_MAP2_VERTEX_3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   727
/*      GL_MAP2_VERTEX_4 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   728
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   729
/* MaterialFace */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   730
/*      GL_FRONT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   731
/*      GL_BACK */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   732
/*      GL_FRONT_AND_BACK */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   733
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   734
/* MaterialParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   735
#define GL_EMISSION                       0x1600
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   736
#define GL_SHININESS                      0x1601
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   737
#define GL_AMBIENT_AND_DIFFUSE            0x1602
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   738
#define GL_COLOR_INDEXES                  0x1603
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   739
/*      GL_AMBIENT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   740
/*      GL_DIFFUSE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   741
/*      GL_SPECULAR */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   742
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   743
/* MatrixMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   744
#define GL_MODELVIEW                      0x1700
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   745
#define GL_PROJECTION                     0x1701
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   746
#define GL_TEXTURE                        0x1702
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   747
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   748
/* MeshMode1 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   749
/*      GL_POINT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   750
/*      GL_LINE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   751
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   752
/* MeshMode2 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   753
/*      GL_POINT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   754
/*      GL_LINE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   755
/*      GL_FILL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   756
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   757
/* NormalPointerType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   758
/*      GL_BYTE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   759
/*      GL_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   760
/*      GL_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   761
/*      GL_FLOAT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   762
/*      GL_DOUBLE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   763
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   764
/* PixelCopyType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   765
#define GL_COLOR                          0x1800
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   766
#define GL_DEPTH                          0x1801
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   767
#define GL_STENCIL                        0x1802
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   768
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   769
/* PixelFormat */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   770
#define GL_COLOR_INDEX                    0x1900
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   771
#define GL_STENCIL_INDEX                  0x1901
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   772
#define GL_DEPTH_COMPONENT                0x1902
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   773
#define GL_RED                            0x1903
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   774
#define GL_GREEN                          0x1904
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   775
#define GL_BLUE                           0x1905
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   776
#define GL_ALPHA                          0x1906
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   777
#define GL_RGB                            0x1907
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   778
#define GL_RGBA                           0x1908
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   779
#define GL_LUMINANCE                      0x1909
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   780
#define GL_LUMINANCE_ALPHA                0x190A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   781
/*      GL_ABGR_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   782
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   783
/* PixelMap */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   784
/*      GL_PIXEL_MAP_I_TO_I */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   785
/*      GL_PIXEL_MAP_S_TO_S */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   786
/*      GL_PIXEL_MAP_I_TO_R */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   787
/*      GL_PIXEL_MAP_I_TO_G */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   788
/*      GL_PIXEL_MAP_I_TO_B */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   789
/*      GL_PIXEL_MAP_I_TO_A */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   790
/*      GL_PIXEL_MAP_R_TO_R */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   791
/*      GL_PIXEL_MAP_G_TO_G */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   792
/*      GL_PIXEL_MAP_B_TO_B */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   793
/*      GL_PIXEL_MAP_A_TO_A */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   794
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   795
/* PixelStoreParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   796
/*      GL_UNPACK_SWAP_BYTES */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   797
/*      GL_UNPACK_LSB_FIRST */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   798
/*      GL_UNPACK_ROW_LENGTH */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   799
/*      GL_UNPACK_SKIP_ROWS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   800
/*      GL_UNPACK_SKIP_PIXELS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   801
/*      GL_UNPACK_ALIGNMENT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   802
/*      GL_PACK_SWAP_BYTES */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   803
/*      GL_PACK_LSB_FIRST */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   804
/*      GL_PACK_ROW_LENGTH */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   805
/*      GL_PACK_SKIP_ROWS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   806
/*      GL_PACK_SKIP_PIXELS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   807
/*      GL_PACK_ALIGNMENT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   808
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   809
/* PixelTransferParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   810
/*      GL_MAP_COLOR */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   811
/*      GL_MAP_STENCIL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   812
/*      GL_INDEX_SHIFT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   813
/*      GL_INDEX_OFFSET */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   814
/*      GL_RED_SCALE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   815
/*      GL_RED_BIAS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   816
/*      GL_GREEN_SCALE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   817
/*      GL_GREEN_BIAS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   818
/*      GL_BLUE_SCALE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   819
/*      GL_BLUE_BIAS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   820
/*      GL_ALPHA_SCALE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   821
/*      GL_ALPHA_BIAS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   822
/*      GL_DEPTH_SCALE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   823
/*      GL_DEPTH_BIAS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   824
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   825
/* PixelType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   826
#define GL_BITMAP                         0x1A00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   827
/*      GL_BYTE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   828
/*      GL_UNSIGNED_BYTE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   829
/*      GL_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   830
/*      GL_UNSIGNED_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   831
/*      GL_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   832
/*      GL_UNSIGNED_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   833
/*      GL_FLOAT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   834
/*      GL_UNSIGNED_BYTE_3_3_2_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   835
/*      GL_UNSIGNED_SHORT_4_4_4_4_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   836
/*      GL_UNSIGNED_SHORT_5_5_5_1_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   837
/*      GL_UNSIGNED_INT_8_8_8_8_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   838
/*      GL_UNSIGNED_INT_10_10_10_2_EXT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   839
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   840
/* PolygonMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   841
#define GL_POINT                          0x1B00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   842
#define GL_LINE                           0x1B01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   843
#define GL_FILL                           0x1B02
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   844
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   845
/* ReadBufferMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   846
/*      GL_FRONT_LEFT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   847
/*      GL_FRONT_RIGHT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   848
/*      GL_BACK_LEFT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   849
/*      GL_BACK_RIGHT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   850
/*      GL_FRONT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   851
/*      GL_BACK */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   852
/*      GL_LEFT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   853
/*      GL_RIGHT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   854
/*      GL_AUX0 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   855
/*      GL_AUX1 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   856
/*      GL_AUX2 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   857
/*      GL_AUX3 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   858
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   859
/* RenderingMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   860
#define GL_RENDER                         0x1C00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   861
#define GL_FEEDBACK                       0x1C01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   862
#define GL_SELECT                         0x1C02
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   863
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   864
/* ShadingModel */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   865
#define GL_FLAT                           0x1D00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   866
#define GL_SMOOTH                         0x1D01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   867
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   868
/* StencilFunction */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   869
/*      GL_NEVER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   870
/*      GL_LESS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   871
/*      GL_EQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   872
/*      GL_LEQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   873
/*      GL_GREATER */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   874
/*      GL_NOTEQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   875
/*      GL_GEQUAL */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   876
/*      GL_ALWAYS */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   877
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   878
/* StencilOp */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   879
/*      GL_ZERO */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   880
#define GL_KEEP                           0x1E00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   881
#define GL_REPLACE                        0x1E01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   882
#define GL_INCR                           0x1E02
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   883
#define GL_DECR                           0x1E03
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   884
/*      GL_INVERT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   885
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   886
/* StringName */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   887
#define GL_VENDOR                         0x1F00
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   888
#define GL_RENDERER                       0x1F01
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   889
#define GL_VERSION                        0x1F02
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   890
#define GL_EXTENSIONS                     0x1F03
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   891
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   892
/* TexCoordPointerType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   893
/*      GL_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   894
/*      GL_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   895
/*      GL_FLOAT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   896
/*      GL_DOUBLE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   897
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   898
/* TextureCoordName */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   899
#define GL_S                              0x2000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   900
#define GL_T                              0x2001
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   901
#define GL_R                              0x2002
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   902
#define GL_Q                              0x2003
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   903
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   904
/* TextureEnvMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   905
#define GL_MODULATE                       0x2100
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   906
#define GL_DECAL                          0x2101
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   907
/*      GL_BLEND */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   908
/*      GL_REPLACE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   909
/*      GL_ADD */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   910
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   911
/* TextureEnvParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   912
#define GL_TEXTURE_ENV_MODE               0x2200
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   913
#define GL_TEXTURE_ENV_COLOR              0x2201
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   914
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   915
/* TextureEnvTarget */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   916
#define GL_TEXTURE_ENV                    0x2300
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   917
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   918
/* TextureGenMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   919
#define GL_EYE_LINEAR                     0x2400
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   920
#define GL_OBJECT_LINEAR                  0x2401
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   921
#define GL_SPHERE_MAP                     0x2402
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   922
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   923
/* TextureGenParameter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   924
#define GL_TEXTURE_GEN_MODE               0x2500
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   925
#define GL_OBJECT_PLANE                   0x2501
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   926
#define GL_EYE_PLANE                      0x2502
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   927
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   928
/* TextureMagFilter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   929
#define GL_NEAREST                        0x2600
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   930
#define GL_LINEAR                         0x2601
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   931
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   932
/* TextureMinFilter */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   933
/*      GL_NEAREST */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   934
/*      GL_LINEAR */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   935
#define GL_NEAREST_MIPMAP_NEAREST         0x2700
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   936
#define GL_LINEAR_MIPMAP_NEAREST          0x2701
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   937
#define GL_NEAREST_MIPMAP_LINEAR          0x2702
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   938
#define GL_LINEAR_MIPMAP_LINEAR           0x2703
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   939
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   940
/* TextureParameterName */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   941
#define GL_TEXTURE_MAG_FILTER             0x2800
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   942
#define GL_TEXTURE_MIN_FILTER             0x2801
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   943
#define GL_TEXTURE_WRAP_S                 0x2802
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   944
#define GL_TEXTURE_WRAP_T                 0x2803
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   945
/*      GL_TEXTURE_BORDER_COLOR */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   946
/*      GL_TEXTURE_PRIORITY */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   947
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   948
/* TextureTarget */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   949
/*      GL_TEXTURE_1D */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   950
/*      GL_TEXTURE_2D */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   951
#define GL_PROXY_TEXTURE_1D               0x8063
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   952
#define GL_PROXY_TEXTURE_2D               0x8064
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   953
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   954
/* TextureWrapMode */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   955
#define GL_CLAMP                          0x2900
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   956
#define GL_REPEAT                         0x2901
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   957
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   958
/* PixelInternalFormat */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   959
#define GL_R3_G3_B2                       0x2A10
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   960
#define GL_ALPHA4                         0x803B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   961
#define GL_ALPHA8                         0x803C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   962
#define GL_ALPHA12                        0x803D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   963
#define GL_ALPHA16                        0x803E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   964
#define GL_LUMINANCE4                     0x803F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   965
#define GL_LUMINANCE8                     0x8040
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   966
#define GL_LUMINANCE12                    0x8041
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   967
#define GL_LUMINANCE16                    0x8042
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   968
#define GL_LUMINANCE4_ALPHA4              0x8043
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   969
#define GL_LUMINANCE6_ALPHA2              0x8044
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   970
#define GL_LUMINANCE8_ALPHA8              0x8045
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   971
#define GL_LUMINANCE12_ALPHA4             0x8046
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   972
#define GL_LUMINANCE12_ALPHA12            0x8047
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   973
#define GL_LUMINANCE16_ALPHA16            0x8048
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   974
#define GL_INTENSITY                      0x8049
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   975
#define GL_INTENSITY4                     0x804A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   976
#define GL_INTENSITY8                     0x804B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   977
#define GL_INTENSITY12                    0x804C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   978
#define GL_INTENSITY16                    0x804D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   979
#define GL_RGB4                           0x804F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   980
#define GL_RGB5                           0x8050
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   981
#define GL_RGB8                           0x8051
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   982
#define GL_RGB10                          0x8052
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   983
#define GL_RGB12                          0x8053
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   984
#define GL_RGB16                          0x8054
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   985
#define GL_RGBA2                          0x8055
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   986
#define GL_RGBA4                          0x8056
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   987
#define GL_RGB5_A1                        0x8057
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   988
#define GL_RGBA8                          0x8058
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   989
#define GL_RGB10_A2                       0x8059
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   990
#define GL_RGBA12                         0x805A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   991
#define GL_RGBA16                         0x805B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   992
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   993
/* InterleavedArrayFormat */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   994
#define GL_V2F                            0x2A20
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   995
#define GL_V3F                            0x2A21
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   996
#define GL_C4UB_V2F                       0x2A22
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   997
#define GL_C4UB_V3F                       0x2A23
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   998
#define GL_C3F_V3F                        0x2A24
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   999
#define GL_N3F_V3F                        0x2A25
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1000
#define GL_C4F_N3F_V3F                    0x2A26
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1001
#define GL_T2F_V3F                        0x2A27
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1002
#define GL_T4F_V4F                        0x2A28
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1003
#define GL_T2F_C4UB_V3F                   0x2A29
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1004
#define GL_T2F_C3F_V3F                    0x2A2A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1005
#define GL_T2F_N3F_V3F                    0x2A2B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1006
#define GL_T2F_C4F_N3F_V3F                0x2A2C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1007
#define GL_T4F_C4F_N3F_V4F                0x2A2D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1008
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1009
/* VertexPointerType */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1010
/*      GL_SHORT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1011
/*      GL_INT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1012
/*      GL_FLOAT */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1013
/*      GL_DOUBLE */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1014
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1015
/* ClipPlaneName */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1016
#define GL_CLIP_PLANE0                    0x3000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1017
#define GL_CLIP_PLANE1                    0x3001
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1018
#define GL_CLIP_PLANE2                    0x3002
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1019
#define GL_CLIP_PLANE3                    0x3003
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1020
#define GL_CLIP_PLANE4                    0x3004
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1021
#define GL_CLIP_PLANE5                    0x3005
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1022
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1023
/* LightName */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1024
#define GL_LIGHT0                         0x4000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1025
#define GL_LIGHT1                         0x4001
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1026
#define GL_LIGHT2                         0x4002
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1027
#define GL_LIGHT3                         0x4003
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1028
#define GL_LIGHT4                         0x4004
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1029
#define GL_LIGHT5                         0x4005
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1030
#define GL_LIGHT6                         0x4006
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1031
#define GL_LIGHT7                         0x4007
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1032
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1033
/* EXT_abgr */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1034
#define GL_ABGR_EXT                       0x8000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1035
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1036
/* EXT_blend_subtract */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1037
#define GL_FUNC_SUBTRACT_EXT              0x800A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1038
#define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1039
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1040
/* EXT_packed_pixels */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1041
#define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1042
#define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1043
#define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1044
#define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1045
#define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1046
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1047
/* OpenGL12 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1048
#define GL_PACK_SKIP_IMAGES               0x806B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1049
#define GL_PACK_IMAGE_HEIGHT              0x806C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1050
#define GL_UNPACK_SKIP_IMAGES             0x806D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1051
#define GL_UNPACK_IMAGE_HEIGHT            0x806E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1052
#define GL_TEXTURE_3D                     0x806F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1053
#define GL_PROXY_TEXTURE_3D               0x8070
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1054
#define GL_TEXTURE_DEPTH                  0x8071
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1055
#define GL_TEXTURE_WRAP_R                 0x8072
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1056
#define GL_MAX_3D_TEXTURE_SIZE            0x8073
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1057
#define GL_BGR                            0x80E0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1058
#define GL_BGRA                           0x80E1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1059
#define GL_UNSIGNED_BYTE_3_3_2            0x8032
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1060
#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1061
#define GL_UNSIGNED_SHORT_5_6_5           0x8363
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1062
#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1063
#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1064
#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1065
#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1066
#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1067
#define GL_UNSIGNED_INT_8_8_8_8           0x8035
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1068
#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1069
#define GL_UNSIGNED_INT_10_10_10_2        0x8036
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1070
#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1071
#define GL_RESCALE_NORMAL                 0x803A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1072
#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1073
#define GL_SINGLE_COLOR                   0x81F9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1074
#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1075
#define GL_CLAMP_TO_EDGE                  0x812F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1076
#define GL_TEXTURE_MIN_LOD                0x813A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1077
#define GL_TEXTURE_MAX_LOD                0x813B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1078
#define GL_TEXTURE_BASE_LEVEL             0x813C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1079
#define GL_TEXTURE_MAX_LEVEL              0x813D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1080
#define GL_MAX_ELEMENTS_VERTICES          0x80E8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1081
#define GL_MAX_ELEMENTS_INDICES           0x80E9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1082
#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1083
#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1084
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1085
/* OpenGL13 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1086
#define GL_ACTIVE_TEXTURE                 0x84E0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1087
#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1088
#define GL_MAX_TEXTURE_UNITS              0x84E2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1089
#define GL_TEXTURE0                       0x84C0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1090
#define GL_TEXTURE1                       0x84C1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1091
#define GL_TEXTURE2                       0x84C2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1092
#define GL_TEXTURE3                       0x84C3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1093
#define GL_TEXTURE4                       0x84C4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1094
#define GL_TEXTURE5                       0x84C5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1095
#define GL_TEXTURE6                       0x84C6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1096
#define GL_TEXTURE7                       0x84C7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1097
#define GL_TEXTURE8                       0x84C8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1098
#define GL_TEXTURE9                       0x84C9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1099
#define GL_TEXTURE10                      0x84CA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1100
#define GL_TEXTURE11                      0x84CB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1101
#define GL_TEXTURE12                      0x84CC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1102
#define GL_TEXTURE13                      0x84CD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1103
#define GL_TEXTURE14                      0x84CE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1104
#define GL_TEXTURE15                      0x84CF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1105
#define GL_TEXTURE16                      0x84D0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1106
#define GL_TEXTURE17                      0x84D1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1107
#define GL_TEXTURE18                      0x84D2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1108
#define GL_TEXTURE19                      0x84D3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1109
#define GL_TEXTURE20                      0x84D4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1110
#define GL_TEXTURE21                      0x84D5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1111
#define GL_TEXTURE22                      0x84D6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1112
#define GL_TEXTURE23                      0x84D7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1113
#define GL_TEXTURE24                      0x84D8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1114
#define GL_TEXTURE25                      0x84D9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1115
#define GL_TEXTURE26                      0x84DA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1116
#define GL_TEXTURE27                      0x84DB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1117
#define GL_TEXTURE28                      0x84DC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1118
#define GL_TEXTURE29                      0x84DD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1119
#define GL_TEXTURE30                      0x84DE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1120
#define GL_TEXTURE31                      0x84DF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1121
#define GL_NORMAL_MAP                     0x8511
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1122
#define GL_REFLECTION_MAP                 0x8512
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1123
#define GL_TEXTURE_CUBE_MAP               0x8513
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1124
#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1125
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1126
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1127
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1128
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1129
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1130
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1131
#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1132
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1133
#define GL_COMBINE                        0x8570
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1134
#define GL_COMBINE_RGB                    0x8571
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1135
#define GL_COMBINE_ALPHA                  0x8572
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1136
#define GL_RGB_SCALE                      0x8573
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1137
#define GL_ADD_SIGNED                     0x8574
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1138
#define GL_INTERPOLATE                    0x8575
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1139
#define GL_CONSTANT                       0x8576
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1140
#define GL_PRIMARY_COLOR                  0x8577
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1141
#define GL_PREVIOUS                       0x8578
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1142
#define GL_SOURCE0_RGB                    0x8580
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1143
#define GL_SOURCE1_RGB                    0x8581
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1144
#define GL_SOURCE2_RGB                    0x8582
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1145
#define GL_SOURCE0_ALPHA                  0x8588
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1146
#define GL_SOURCE1_ALPHA                  0x8589
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1147
#define GL_SOURCE2_ALPHA                  0x858A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1148
#define GL_OPERAND0_RGB                   0x8590
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1149
#define GL_OPERAND1_RGB                   0x8591
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1150
#define GL_OPERAND2_RGB                   0x8592
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1151
#define GL_OPERAND0_ALPHA                 0x8598
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1152
#define GL_OPERAND1_ALPHA                 0x8599
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1153
#define GL_OPERAND2_ALPHA                 0x859A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1154
#define GL_SUBTRACT                       0x84E7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1155
#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1156
#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1157
#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1158
#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1159
#define GL_COMPRESSED_ALPHA               0x84E9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1160
#define GL_COMPRESSED_LUMINANCE           0x84EA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1161
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1162
#define GL_COMPRESSED_INTENSITY           0x84EC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1163
#define GL_COMPRESSED_RGB                 0x84ED
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1164
#define GL_COMPRESSED_RGBA                0x84EE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1165
#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1166
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1167
#define GL_TEXTURE_COMPRESSED             0x86A1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1168
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1169
#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1170
#define GL_DOT3_RGB                       0x86AE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1171
#define GL_DOT3_RGBA                      0x86AF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1172
#define GL_CLAMP_TO_BORDER                0x812D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1173
#define GL_MULTISAMPLE                    0x809D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1174
#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1175
#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1176
#define GL_SAMPLE_COVERAGE                0x80A0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1177
#define GL_SAMPLE_BUFFERS                 0x80A8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1178
#define GL_SAMPLES                        0x80A9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1179
#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1180
#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1181
#define GL_MULTISAMPLE_BIT                0x20000000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1182
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1183
/* EXT_vertex_array */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1184
#define GL_VERTEX_ARRAY_EXT               0x8074
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1185
#define GL_NORMAL_ARRAY_EXT               0x8075
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1186
#define GL_COLOR_ARRAY_EXT                0x8076
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1187
#define GL_INDEX_ARRAY_EXT                0x8077
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1188
#define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1189
#define GL_EDGE_FLAG_ARRAY_EXT            0x8079
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1190
#define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1191
#define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1192
#define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1193
#define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1194
#define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1195
#define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1196
#define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1197
#define GL_COLOR_ARRAY_SIZE_EXT           0x8081
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1198
#define GL_COLOR_ARRAY_TYPE_EXT           0x8082
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1199
#define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1200
#define GL_COLOR_ARRAY_COUNT_EXT          0x8084
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1201
#define GL_INDEX_ARRAY_TYPE_EXT           0x8085
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1202
#define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1203
#define GL_INDEX_ARRAY_COUNT_EXT          0x8087
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1204
#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1205
#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1206
#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1207
#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1208
#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1209
#define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1210
#define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1211
#define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1212
#define GL_COLOR_ARRAY_POINTER_EXT        0x8090
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1213
#define GL_INDEX_ARRAY_POINTER_EXT        0x8091
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1214
#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1215
#define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1216
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1217
/* SGIS_texture_lod */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1218
#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1219
#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1220
#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1221
#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1222
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1223
/* EXT_shared_texture_palette */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1224
#define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1225
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1226
/* EXT_rescale_normal */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1227
#define GL_RESCALE_NORMAL_EXT             0x803A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1228
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1229
/* SGIX_shadow */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1230
#define GL_TEXTURE_COMPARE_SGIX           0x819A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1231
#define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1232
#define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1233
#define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1234
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1235
/* SGIX_depth_texture */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1236
#define GL_DEPTH_COMPONENT16_SGIX         0x81A5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1237
#define GL_DEPTH_COMPONENT24_SGIX         0x81A6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1238
#define GL_DEPTH_COMPONENT32_SGIX         0x81A7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1239
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1240
/* SGIS_generate_mipmap */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1241
#define GL_GENERATE_MIPMAP_SGIS           0x8191
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1242
#define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1243
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1244
/* OpenGL14 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1245
#define GL_POINT_SIZE_MIN                 0x8126
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1246
#define GL_POINT_SIZE_MAX                 0x8127
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1247
#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1248
#define GL_POINT_DISTANCE_ATTENUATION     0x8129
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1249
#define GL_FOG_COORDINATE_SOURCE          0x8450
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1250
#define GL_FOG_COORDINATE                 0x8451
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1251
#define GL_FRAGMENT_DEPTH                 0x8452
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1252
#define GL_CURRENT_FOG_COORDINATE         0x8453
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1253
#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1254
#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1255
#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1256
#define GL_FOG_COORDINATE_ARRAY           0x8457
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1257
#define GL_COLOR_SUM                      0x8458
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1258
#define GL_CURRENT_SECONDARY_COLOR        0x8459
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1259
#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1260
#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1261
#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1262
#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1263
#define GL_SECONDARY_COLOR_ARRAY          0x845E