GL/glext.h
author Ryan C. Gordon <icculus@icculus.org>
Mon, 16 Feb 2009 20:29:28 -0500
changeset 634 b7fd8aa02bf4
parent 246 897868fdd958
child 1114 db4aefd4c209
permissions -rw-r--r--
Fix state when rewinding stream.
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 __glext_h_
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
#define __glext_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
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
 Copyright NVIDIA Corporation 2006
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
 TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
 *AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    14
 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    15
 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    16
 NVIDIA OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    17
 CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    18
 LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    19
 OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    20
 THIS SOFTWARE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    21
 DAMAGES.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    22
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    23
******************************************************************************/
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
/*
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    26
** License Applicability. Except to the extent portions of this file are
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    27
** made subject to an alternative license as permitted in the SGI Free
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    28
** Software License B, Version 1.1 (the "License"), the contents of this
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    29
** file are subject only to the provisions of the License. You may not use
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    30
** this file except in compliance with the License. You may obtain a copy
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    31
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    32
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
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
** http://oss.sgi.com/projects/FreeB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    35
** 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    36
** Note that, as provided in the License, the Software is distributed on an
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    37
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    38
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    39
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    40
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
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
** Original Code. The Original Code is: OpenGL Sample Implementation,
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    43
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    44
** Inc. The Original Code is Copyright (c) 1991-2004 Silicon Graphics, Inc.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    45
** Copyright in any portions created by third parties is as indicated
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    46
** elsewhere herein. All Rights Reserved.
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    47
** 
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    48
** Additional Notice Provisions: This software was created using the
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    49
** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    50
** not been independently verified as being compliant with the OpenGL(R)
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    51
** version 1.2.1 Specification.
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
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    54
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    55
#define WIN32_LEAN_AND_MEAN 1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    56
#include <windows.h>
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    57
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    58
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    59
#ifndef APIENTRY
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    60
#define APIENTRY
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    61
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    62
#ifndef APIENTRYP
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    63
#define APIENTRYP APIENTRY *
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    64
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    65
#ifndef extern
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    66
#define extern extern
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    67
#endif
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
/* Header file version number, required by OpenGL ABI for Linux */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    72
/* glext.h last updated 2005/06/06 */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    73
/* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    74
#define GL_GLEXT_VERSION 28
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    75
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    76
#ifndef GL_VERSION_1_2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    77
#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
    78
#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
    79
#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
    80
#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
    81
#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
    82
#define GL_RESCALE_NORMAL                 0x803A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    83
#define GL_TEXTURE_BINDING_3D             0x806A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    84
#define GL_PACK_SKIP_IMAGES               0x806B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    85
#define GL_PACK_IMAGE_HEIGHT              0x806C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    86
#define GL_UNPACK_SKIP_IMAGES             0x806D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    87
#define GL_UNPACK_IMAGE_HEIGHT            0x806E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    88
#define GL_TEXTURE_3D                     0x806F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    89
#define GL_PROXY_TEXTURE_3D               0x8070
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    90
#define GL_TEXTURE_DEPTH                  0x8071
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    91
#define GL_TEXTURE_WRAP_R                 0x8072
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    92
#define GL_MAX_3D_TEXTURE_SIZE            0x8073
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    93
#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
    94
#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
    95
#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
    96
#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
    97
#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
    98
#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
    99
#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
   100
#define GL_BGR                            0x80E0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   101
#define GL_BGRA                           0x80E1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   102
#define GL_MAX_ELEMENTS_VERTICES          0x80E8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   103
#define GL_MAX_ELEMENTS_INDICES           0x80E9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   104
#define GL_CLAMP_TO_EDGE                  0x812F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   105
#define GL_TEXTURE_MIN_LOD                0x813A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   106
#define GL_TEXTURE_MAX_LOD                0x813B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   107
#define GL_TEXTURE_BASE_LEVEL             0x813C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   108
#define GL_TEXTURE_MAX_LEVEL              0x813D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   109
#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   110
#define GL_SINGLE_COLOR                   0x81F9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   111
#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   112
#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   113
#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   114
#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   115
#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   116
#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   117
#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   118
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   119
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   120
#ifndef GL_ARB_imaging
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   121
#define GL_CONSTANT_COLOR                 0x8001
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   122
#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   123
#define GL_CONSTANT_ALPHA                 0x8003
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   124
#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   125
#define GL_BLEND_COLOR                    0x8005
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   126
#define GL_FUNC_ADD                       0x8006
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   127
#define GL_MIN                            0x8007
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   128
#define GL_MAX                            0x8008
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   129
#define GL_BLEND_EQUATION                 0x8009
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   130
#define GL_FUNC_SUBTRACT                  0x800A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   131
#define GL_FUNC_REVERSE_SUBTRACT          0x800B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   132
#define GL_CONVOLUTION_1D                 0x8010
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   133
#define GL_CONVOLUTION_2D                 0x8011
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   134
#define GL_SEPARABLE_2D                   0x8012
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   135
#define GL_CONVOLUTION_BORDER_MODE        0x8013
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   136
#define GL_CONVOLUTION_FILTER_SCALE       0x8014
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   137
#define GL_CONVOLUTION_FILTER_BIAS        0x8015
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   138
#define GL_REDUCE                         0x8016
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   139
#define GL_CONVOLUTION_FORMAT             0x8017
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   140
#define GL_CONVOLUTION_WIDTH              0x8018
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   141
#define GL_CONVOLUTION_HEIGHT             0x8019
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   142
#define GL_MAX_CONVOLUTION_WIDTH          0x801A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   143
#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   144
#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   145
#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   146
#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   147
#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   148
#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   149
#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   150
#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   151
#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   152
#define GL_HISTOGRAM                      0x8024
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   153
#define GL_PROXY_HISTOGRAM                0x8025
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   154
#define GL_HISTOGRAM_WIDTH                0x8026
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   155
#define GL_HISTOGRAM_FORMAT               0x8027
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   156
#define GL_HISTOGRAM_RED_SIZE             0x8028
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   157
#define GL_HISTOGRAM_GREEN_SIZE           0x8029
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   158
#define GL_HISTOGRAM_BLUE_SIZE            0x802A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   159
#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   160
#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   161
#define GL_HISTOGRAM_SINK                 0x802D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   162
#define GL_MINMAX                         0x802E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   163
#define GL_MINMAX_FORMAT                  0x802F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   164
#define GL_MINMAX_SINK                    0x8030
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   165
#define GL_TABLE_TOO_LARGE                0x8031
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   166
#define GL_COLOR_MATRIX                   0x80B1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   167
#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   168
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   169
#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   170
#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   171
#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   172
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   173
#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   174
#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   175
#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   176
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   177
#define GL_COLOR_TABLE                    0x80D0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   178
#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   179
#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   180
#define GL_PROXY_COLOR_TABLE              0x80D3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   181
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   182
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   183
#define GL_COLOR_TABLE_SCALE              0x80D6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   184
#define GL_COLOR_TABLE_BIAS               0x80D7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   185
#define GL_COLOR_TABLE_FORMAT             0x80D8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   186
#define GL_COLOR_TABLE_WIDTH              0x80D9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   187
#define GL_COLOR_TABLE_RED_SIZE           0x80DA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   188
#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   189
#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   190
#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   191
#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   192
#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   193
#define GL_CONSTANT_BORDER                0x8151
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   194
#define GL_REPLICATE_BORDER               0x8153
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   195
#define GL_CONVOLUTION_BORDER_COLOR       0x8154
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   196
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   197
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   198
#ifndef GL_VERSION_1_3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   199
#define GL_TEXTURE0                       0x84C0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   200
#define GL_TEXTURE1                       0x84C1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   201
#define GL_TEXTURE2                       0x84C2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   202
#define GL_TEXTURE3                       0x84C3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   203
#define GL_TEXTURE4                       0x84C4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   204
#define GL_TEXTURE5                       0x84C5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   205
#define GL_TEXTURE6                       0x84C6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   206
#define GL_TEXTURE7                       0x84C7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   207
#define GL_TEXTURE8                       0x84C8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   208
#define GL_TEXTURE9                       0x84C9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   209
#define GL_TEXTURE10                      0x84CA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   210
#define GL_TEXTURE11                      0x84CB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   211
#define GL_TEXTURE12                      0x84CC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   212
#define GL_TEXTURE13                      0x84CD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   213
#define GL_TEXTURE14                      0x84CE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   214
#define GL_TEXTURE15                      0x84CF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   215
#define GL_TEXTURE16                      0x84D0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   216
#define GL_TEXTURE17                      0x84D1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   217
#define GL_TEXTURE18                      0x84D2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   218
#define GL_TEXTURE19                      0x84D3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   219
#define GL_TEXTURE20                      0x84D4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   220
#define GL_TEXTURE21                      0x84D5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   221
#define GL_TEXTURE22                      0x84D6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   222
#define GL_TEXTURE23                      0x84D7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   223
#define GL_TEXTURE24                      0x84D8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   224
#define GL_TEXTURE25                      0x84D9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   225
#define GL_TEXTURE26                      0x84DA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   226
#define GL_TEXTURE27                      0x84DB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   227
#define GL_TEXTURE28                      0x84DC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   228
#define GL_TEXTURE29                      0x84DD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   229
#define GL_TEXTURE30                      0x84DE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   230
#define GL_TEXTURE31                      0x84DF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   231
#define GL_ACTIVE_TEXTURE                 0x84E0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   232
#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   233
#define GL_MAX_TEXTURE_UNITS              0x84E2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   234
#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   235
#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   236
#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   237
#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   238
#define GL_MULTISAMPLE                    0x809D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   239
#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   240
#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   241
#define GL_SAMPLE_COVERAGE                0x80A0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   242
#define GL_SAMPLE_BUFFERS                 0x80A8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   243
#define GL_SAMPLES                        0x80A9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   244
#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   245
#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   246
#define GL_MULTISAMPLE_BIT                0x20000000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   247
#define GL_NORMAL_MAP                     0x8511
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   248
#define GL_REFLECTION_MAP                 0x8512
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   249
#define GL_TEXTURE_CUBE_MAP               0x8513
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   250
#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   251
#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
   252
#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
   253
#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
   254
#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
   255
#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
   256
#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
   257
#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   258
#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
   259
#define GL_COMPRESSED_ALPHA               0x84E9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   260
#define GL_COMPRESSED_LUMINANCE           0x84EA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   261
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   262
#define GL_COMPRESSED_INTENSITY           0x84EC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   263
#define GL_COMPRESSED_RGB                 0x84ED
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   264
#define GL_COMPRESSED_RGBA                0x84EE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   265
#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   266
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   267
#define GL_TEXTURE_COMPRESSED             0x86A1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   268
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   269
#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   270
#define GL_CLAMP_TO_BORDER                0x812D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   271
#define GL_COMBINE                        0x8570
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   272
#define GL_COMBINE_RGB                    0x8571
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   273
#define GL_COMBINE_ALPHA                  0x8572
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   274
#define GL_SOURCE0_RGB                    0x8580
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   275
#define GL_SOURCE1_RGB                    0x8581
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   276
#define GL_SOURCE2_RGB                    0x8582
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   277
#define GL_SOURCE0_ALPHA                  0x8588
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   278
#define GL_SOURCE1_ALPHA                  0x8589
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   279
#define GL_SOURCE2_ALPHA                  0x858A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   280
#define GL_OPERAND0_RGB                   0x8590
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   281
#define GL_OPERAND1_RGB                   0x8591
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   282
#define GL_OPERAND2_RGB                   0x8592
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   283
#define GL_OPERAND0_ALPHA                 0x8598
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   284
#define GL_OPERAND1_ALPHA                 0x8599
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   285
#define GL_OPERAND2_ALPHA                 0x859A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   286
#define GL_RGB_SCALE                      0x8573
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   287
#define GL_ADD_SIGNED                     0x8574
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   288
#define GL_INTERPOLATE                    0x8575
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   289
#define GL_SUBTRACT                       0x84E7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   290
#define GL_CONSTANT                       0x8576
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   291
#define GL_PRIMARY_COLOR                  0x8577
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   292
#define GL_PREVIOUS                       0x8578
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   293
#define GL_DOT3_RGB                       0x86AE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   294
#define GL_DOT3_RGBA                      0x86AF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   295
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   296
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   297
#ifndef GL_VERSION_1_4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   298
#define GL_BLEND_DST_RGB                  0x80C8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   299
#define GL_BLEND_SRC_RGB                  0x80C9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   300
#define GL_BLEND_DST_ALPHA                0x80CA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   301
#define GL_BLEND_SRC_ALPHA                0x80CB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   302
#define GL_POINT_SIZE_MIN                 0x8126
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   303
#define GL_POINT_SIZE_MAX                 0x8127
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   304
#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   305
#define GL_POINT_DISTANCE_ATTENUATION     0x8129
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   306
#define GL_GENERATE_MIPMAP                0x8191
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   307
#define GL_GENERATE_MIPMAP_HINT           0x8192
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   308
#define GL_DEPTH_COMPONENT16              0x81A5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   309
#define GL_DEPTH_COMPONENT24              0x81A6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   310
#define GL_DEPTH_COMPONENT32              0x81A7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   311
#define GL_MIRRORED_REPEAT                0x8370
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   312
#define GL_FOG_COORDINATE_SOURCE          0x8450
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   313
#define GL_FOG_COORDINATE                 0x8451
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   314
#define GL_FRAGMENT_DEPTH                 0x8452
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   315
#define GL_CURRENT_FOG_COORDINATE         0x8453
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   316
#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   317
#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   318
#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   319
#define GL_FOG_COORDINATE_ARRAY           0x8457
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   320
#define GL_COLOR_SUM                      0x8458
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   321
#define GL_CURRENT_SECONDARY_COLOR        0x8459
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   322
#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   323
#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   324
#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   325
#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   326
#define GL_SECONDARY_COLOR_ARRAY          0x845E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   327
#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   328
#define GL_TEXTURE_FILTER_CONTROL         0x8500
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   329
#define GL_TEXTURE_LOD_BIAS               0x8501
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   330
#define GL_INCR_WRAP                      0x8507
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   331
#define GL_DECR_WRAP                      0x8508
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   332
#define GL_TEXTURE_DEPTH_SIZE             0x884A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   333
#define GL_DEPTH_TEXTURE_MODE             0x884B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   334
#define GL_TEXTURE_COMPARE_MODE           0x884C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   335
#define GL_TEXTURE_COMPARE_FUNC           0x884D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   336
#define GL_COMPARE_R_TO_TEXTURE           0x884E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   337
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   338
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   339
#ifndef GL_VERSION_1_5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   340
#define GL_BUFFER_SIZE                    0x8764
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   341
#define GL_BUFFER_USAGE                   0x8765
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   342
#define GL_QUERY_COUNTER_BITS             0x8864
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   343
#define GL_CURRENT_QUERY                  0x8865
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   344
#define GL_QUERY_RESULT                   0x8866
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   345
#define GL_QUERY_RESULT_AVAILABLE         0x8867
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   346
#define GL_ARRAY_BUFFER                   0x8892
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   347
#define GL_ELEMENT_ARRAY_BUFFER           0x8893
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   348
#define GL_ARRAY_BUFFER_BINDING           0x8894
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   349
#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   350
#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   351
#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   352
#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   353
#define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   354
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   355
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   356
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   357
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   358
#define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   359
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   360
#define GL_READ_ONLY                      0x88B8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   361
#define GL_WRITE_ONLY                     0x88B9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   362
#define GL_READ_WRITE                     0x88BA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   363
#define GL_BUFFER_ACCESS                  0x88BB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   364
#define GL_BUFFER_MAPPED                  0x88BC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   365
#define GL_BUFFER_MAP_POINTER             0x88BD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   366
#define GL_STREAM_DRAW                    0x88E0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   367
#define GL_STREAM_READ                    0x88E1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   368
#define GL_STREAM_COPY                    0x88E2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   369
#define GL_STATIC_DRAW                    0x88E4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   370
#define GL_STATIC_READ                    0x88E5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   371
#define GL_STATIC_COPY                    0x88E6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   372
#define GL_DYNAMIC_DRAW                   0x88E8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   373
#define GL_DYNAMIC_READ                   0x88E9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   374
#define GL_DYNAMIC_COPY                   0x88EA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   375
#define GL_SAMPLES_PASSED                 0x8914
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   376
#define GL_FOG_COORD_SRC                  GL_FOG_COORDINATE_SOURCE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   377
#define GL_FOG_COORD                      GL_FOG_COORDINATE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   378
#define GL_CURRENT_FOG_COORD              GL_CURRENT_FOG_COORDINATE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   379
#define GL_FOG_COORD_ARRAY_TYPE           GL_FOG_COORDINATE_ARRAY_TYPE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   380
#define GL_FOG_COORD_ARRAY_STRIDE         GL_FOG_COORDINATE_ARRAY_STRIDE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   381
#define GL_FOG_COORD_ARRAY_POINTER        GL_FOG_COORDINATE_ARRAY_POINTER
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   382
#define GL_FOG_COORD_ARRAY                GL_FOG_COORDINATE_ARRAY
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   383
#define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   384
#define GL_SRC0_RGB                       GL_SOURCE0_RGB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   385
#define GL_SRC1_RGB                       GL_SOURCE1_RGB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   386
#define GL_SRC2_RGB                       GL_SOURCE2_RGB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   387
#define GL_SRC0_ALPHA                     GL_SOURCE0_ALPHA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   388
#define GL_SRC1_ALPHA                     GL_SOURCE1_ALPHA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   389
#define GL_SRC2_ALPHA                     GL_SOURCE2_ALPHA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   390
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   391
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   392
#ifndef GL_VERSION_2_0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   393
#define GL_BLEND_EQUATION_RGB             GL_BLEND_EQUATION
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   394
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   395
#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   396
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   397
#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   398
#define GL_CURRENT_VERTEX_ATTRIB          0x8626
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   399
#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   400
#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   401
#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   402
#define GL_STENCIL_BACK_FUNC              0x8800
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   403
#define GL_STENCIL_BACK_FAIL              0x8801
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   404
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   405
#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   406
#define GL_MAX_DRAW_BUFFERS               0x8824
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   407
#define GL_DRAW_BUFFER0                   0x8825
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   408
#define GL_DRAW_BUFFER1                   0x8826
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   409
#define GL_DRAW_BUFFER2                   0x8827
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   410
#define GL_DRAW_BUFFER3                   0x8828
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   411
#define GL_DRAW_BUFFER4                   0x8829
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   412
#define GL_DRAW_BUFFER5                   0x882A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   413
#define GL_DRAW_BUFFER6                   0x882B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   414
#define GL_DRAW_BUFFER7                   0x882C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   415
#define GL_DRAW_BUFFER8                   0x882D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   416
#define GL_DRAW_BUFFER9                   0x882E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   417
#define GL_DRAW_BUFFER10                  0x882F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   418
#define GL_DRAW_BUFFER11                  0x8830
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   419
#define GL_DRAW_BUFFER12                  0x8831
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   420
#define GL_DRAW_BUFFER13                  0x8832
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   421
#define GL_DRAW_BUFFER14                  0x8833
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   422
#define GL_DRAW_BUFFER15                  0x8834
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   423
#define GL_BLEND_EQUATION_ALPHA           0x883D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   424
#define GL_POINT_SPRITE                   0x8861
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   425
#define GL_COORD_REPLACE                  0x8862
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   426
#define GL_MAX_VERTEX_ATTRIBS             0x8869
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   427
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   428
#define GL_MAX_TEXTURE_COORDS             0x8871
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   429
#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   430
#define GL_FRAGMENT_SHADER                0x8B30
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   431
#define GL_VERTEX_SHADER                  0x8B31
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   432
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   433
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   434
#define GL_MAX_VARYING_FLOATS             0x8B4B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   435
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   436
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   437
#define GL_SHADER_TYPE                    0x8B4F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   438
#define GL_FLOAT_VEC2                     0x8B50
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   439
#define GL_FLOAT_VEC3                     0x8B51
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   440
#define GL_FLOAT_VEC4                     0x8B52
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   441
#define GL_INT_VEC2                       0x8B53
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   442
#define GL_INT_VEC3                       0x8B54
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   443
#define GL_INT_VEC4                       0x8B55
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   444
#define GL_BOOL                           0x8B56
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   445
#define GL_BOOL_VEC2                      0x8B57
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   446
#define GL_BOOL_VEC3                      0x8B58
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   447
#define GL_BOOL_VEC4                      0x8B59
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   448
#define GL_FLOAT_MAT2                     0x8B5A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   449
#define GL_FLOAT_MAT3                     0x8B5B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   450
#define GL_FLOAT_MAT4                     0x8B5C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   451
#define GL_SAMPLER_1D                     0x8B5D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   452
#define GL_SAMPLER_2D                     0x8B5E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   453
#define GL_SAMPLER_3D                     0x8B5F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   454
#define GL_SAMPLER_CUBE                   0x8B60
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   455
#define GL_SAMPLER_1D_SHADOW              0x8B61
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   456
#define GL_SAMPLER_2D_SHADOW              0x8B62
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   457
#define GL_DELETE_STATUS                  0x8B80
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   458
#define GL_COMPILE_STATUS                 0x8B81
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   459
#define GL_LINK_STATUS                    0x8B82
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   460
#define GL_VALIDATE_STATUS                0x8B83
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   461
#define GL_INFO_LOG_LENGTH                0x8B84
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   462
#define GL_ATTACHED_SHADERS               0x8B85
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   463
#define GL_ACTIVE_UNIFORMS                0x8B86
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   464
#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   465
#define GL_SHADER_SOURCE_LENGTH           0x8B88
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   466
#define GL_ACTIVE_ATTRIBUTES              0x8B89
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   467
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   468
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   469
#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   470
#define GL_CURRENT_PROGRAM                0x8B8D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   471
#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   472
#define GL_LOWER_LEFT                     0x8CA1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   473
#define GL_UPPER_LEFT                     0x8CA2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   474
#define GL_STENCIL_BACK_REF               0x8CA3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   475
#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   476
#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   477
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   478
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   479
#ifndef GL_VERSION_2_1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   480
#define GL_PIXEL_PACK_BUFFER              0x88EB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   481
#define GL_PIXEL_UNPACK_BUFFER            0x88EC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   482
#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   483
#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   484
#define GL_SRGB                           0x8C40
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   485
#define GL_SRGB8                          0x8C41
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   486
#define GL_SRGB_ALPHA                     0x8C42
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   487
#define GL_SRGB8_ALPHA8                   0x8C43
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   488
#define GL_SLUMINANCE_ALPHA               0x8C44
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   489
#define GL_SLUMINANCE8_ALPHA8             0x8C45
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   490
#define GL_SLUMINANCE                     0x8C46
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   491
#define GL_SLUMINANCE8                    0x8C47
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   492
#define GL_COMPRESSED_SRGB                0x8C48
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   493
#define GL_COMPRESSED_SRGB_ALPHA          0x8C49
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   494
#define GL_COMPRESSED_SLUMINANCE          0x8C4A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   495
#define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   496
#define GL_FLOAT_MAT2x3                   0x8B65
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   497
#define GL_FLOAT_MAT2x4                   0x8B66
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   498
#define GL_FLOAT_MAT3x2                   0x8B67
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   499
#define GL_FLOAT_MAT3x4                   0x8B68
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   500
#define GL_FLOAT_MAT4x2                   0x8B69
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   501
#define GL_FLOAT_MAT4x3                   0x8B6A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   502
#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   503
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   504
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   505
#ifndef GL_ARB_multitexture
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   506
#define GL_TEXTURE0_ARB                   0x84C0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   507
#define GL_TEXTURE1_ARB                   0x84C1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   508
#define GL_TEXTURE2_ARB                   0x84C2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   509
#define GL_TEXTURE3_ARB                   0x84C3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   510
#define GL_TEXTURE4_ARB                   0x84C4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   511
#define GL_TEXTURE5_ARB                   0x84C5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   512
#define GL_TEXTURE6_ARB                   0x84C6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   513
#define GL_TEXTURE7_ARB                   0x84C7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   514
#define GL_TEXTURE8_ARB                   0x84C8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   515
#define GL_TEXTURE9_ARB                   0x84C9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   516
#define GL_TEXTURE10_ARB                  0x84CA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   517
#define GL_TEXTURE11_ARB                  0x84CB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   518
#define GL_TEXTURE12_ARB                  0x84CC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   519
#define GL_TEXTURE13_ARB                  0x84CD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   520
#define GL_TEXTURE14_ARB                  0x84CE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   521
#define GL_TEXTURE15_ARB                  0x84CF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   522
#define GL_TEXTURE16_ARB                  0x84D0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   523
#define GL_TEXTURE17_ARB                  0x84D1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   524
#define GL_TEXTURE18_ARB                  0x84D2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   525
#define GL_TEXTURE19_ARB                  0x84D3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   526
#define GL_TEXTURE20_ARB                  0x84D4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   527
#define GL_TEXTURE21_ARB                  0x84D5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   528
#define GL_TEXTURE22_ARB                  0x84D6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   529
#define GL_TEXTURE23_ARB                  0x84D7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   530
#define GL_TEXTURE24_ARB                  0x84D8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   531
#define GL_TEXTURE25_ARB                  0x84D9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   532
#define GL_TEXTURE26_ARB                  0x84DA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   533
#define GL_TEXTURE27_ARB                  0x84DB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   534
#define GL_TEXTURE28_ARB                  0x84DC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   535
#define GL_TEXTURE29_ARB                  0x84DD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   536
#define GL_TEXTURE30_ARB                  0x84DE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   537
#define GL_TEXTURE31_ARB                  0x84DF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   538
#define GL_ACTIVE_TEXTURE_ARB             0x84E0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   539
#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   540
#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   541
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   542
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   543
#ifndef GL_ARB_transpose_matrix
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   544
#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   545
#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   546
#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   547
#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   548
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   549
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   550
#ifndef GL_ARB_multisample
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   551
#define GL_MULTISAMPLE_ARB                0x809D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   552
#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   553
#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   554
#define GL_SAMPLE_COVERAGE_ARB            0x80A0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   555
#define GL_SAMPLE_BUFFERS_ARB             0x80A8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   556
#define GL_SAMPLES_ARB                    0x80A9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   557
#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   558
#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   559
#define GL_MULTISAMPLE_BIT_ARB            0x20000000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   560
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   561
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   562
#ifndef GL_ARB_texture_env_add
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   563
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   564
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   565
#ifndef GL_ARB_texture_cube_map
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   566
#define GL_NORMAL_MAP_ARB                 0x8511
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   567
#define GL_REFLECTION_MAP_ARB             0x8512
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   568
#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   569
#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   570
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   571
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   572
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   573
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   574
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   575
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   576
#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   577
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   578
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   579
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   580
#ifndef GL_ARB_texture_compression
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   581
#define GL_COMPRESSED_ALPHA_ARB           0x84E9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   582
#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   583
#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   584
#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   585
#define GL_COMPRESSED_RGB_ARB             0x84ED
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   586
#define GL_COMPRESSED_RGBA_ARB            0x84EE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   587
#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   588
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   589
#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   590
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   591
#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   592
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   593
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   594
#ifndef GL_ARB_texture_border_clamp
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   595
#define GL_CLAMP_TO_BORDER_ARB            0x812D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   596
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   597
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   598
#ifndef GL_ARB_point_parameters
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   599
#define GL_POINT_SIZE_MIN_ARB             0x8126
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   600
#define GL_POINT_SIZE_MAX_ARB             0x8127
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   601
#define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   602
#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   603
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   604
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   605
#ifndef GL_ARB_vertex_blend
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   606
#define GL_MAX_VERTEX_UNITS_ARB           0x86A4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   607
#define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   608
#define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   609
#define GL_VERTEX_BLEND_ARB               0x86A7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   610
#define GL_CURRENT_WEIGHT_ARB             0x86A8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   611
#define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   612
#define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   613
#define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   614
#define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   615
#define GL_WEIGHT_ARRAY_ARB               0x86AD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   616
#define GL_MODELVIEW0_ARB                 0x1700
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   617
#define GL_MODELVIEW1_ARB                 0x850A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   618
#define GL_MODELVIEW2_ARB                 0x8722
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   619
#define GL_MODELVIEW3_ARB                 0x8723
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   620
#define GL_MODELVIEW4_ARB                 0x8724
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   621
#define GL_MODELVIEW5_ARB                 0x8725
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   622
#define GL_MODELVIEW6_ARB                 0x8726
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   623
#define GL_MODELVIEW7_ARB                 0x8727
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   624
#define GL_MODELVIEW8_ARB                 0x8728
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   625
#define GL_MODELVIEW9_ARB                 0x8729
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   626
#define GL_MODELVIEW10_ARB                0x872A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   627
#define GL_MODELVIEW11_ARB                0x872B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   628
#define GL_MODELVIEW12_ARB                0x872C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   629
#define GL_MODELVIEW13_ARB                0x872D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   630
#define GL_MODELVIEW14_ARB                0x872E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   631
#define GL_MODELVIEW15_ARB                0x872F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   632
#define GL_MODELVIEW16_ARB                0x8730
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   633
#define GL_MODELVIEW17_ARB                0x8731
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   634
#define GL_MODELVIEW18_ARB                0x8732
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   635
#define GL_MODELVIEW19_ARB                0x8733
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   636
#define GL_MODELVIEW20_ARB                0x8734
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   637
#define GL_MODELVIEW21_ARB                0x8735
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   638
#define GL_MODELVIEW22_ARB                0x8736
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   639
#define GL_MODELVIEW23_ARB                0x8737
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   640
#define GL_MODELVIEW24_ARB                0x8738
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   641
#define GL_MODELVIEW25_ARB                0x8739
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   642
#define GL_MODELVIEW26_ARB                0x873A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   643
#define GL_MODELVIEW27_ARB                0x873B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   644
#define GL_MODELVIEW28_ARB                0x873C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   645
#define GL_MODELVIEW29_ARB                0x873D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   646
#define GL_MODELVIEW30_ARB                0x873E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   647
#define GL_MODELVIEW31_ARB                0x873F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   648
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   649
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   650
#ifndef GL_ARB_matrix_palette
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   651
#define GL_MATRIX_PALETTE_ARB             0x8840
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   652
#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   653
#define GL_MAX_PALETTE_MATRICES_ARB       0x8842
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   654
#define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   655
#define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   656
#define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   657
#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   658
#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   659
#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   660
#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   661
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   662
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   663
#ifndef GL_ARB_texture_env_combine
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   664
#define GL_COMBINE_ARB                    0x8570
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   665
#define GL_COMBINE_RGB_ARB                0x8571
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   666
#define GL_COMBINE_ALPHA_ARB              0x8572
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   667
#define GL_SOURCE0_RGB_ARB                0x8580
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   668
#define GL_SOURCE1_RGB_ARB                0x8581
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   669
#define GL_SOURCE2_RGB_ARB                0x8582
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   670
#define GL_SOURCE0_ALPHA_ARB              0x8588
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   671
#define GL_SOURCE1_ALPHA_ARB              0x8589
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   672
#define GL_SOURCE2_ALPHA_ARB              0x858A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   673
#define GL_OPERAND0_RGB_ARB               0x8590
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   674
#define GL_OPERAND1_RGB_ARB               0x8591
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   675
#define GL_OPERAND2_RGB_ARB               0x8592
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   676
#define GL_OPERAND0_ALPHA_ARB             0x8598
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   677
#define GL_OPERAND1_ALPHA_ARB             0x8599
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   678
#define GL_OPERAND2_ALPHA_ARB             0x859A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   679
#define GL_RGB_SCALE_ARB                  0x8573
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   680
#define GL_ADD_SIGNED_ARB                 0x8574
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   681
#define GL_INTERPOLATE_ARB                0x8575
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   682
#define GL_SUBTRACT_ARB                   0x84E7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   683
#define GL_CONSTANT_ARB                   0x8576
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   684
#define GL_PRIMARY_COLOR_ARB              0x8577
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   685
#define GL_PREVIOUS_ARB                   0x8578
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   686
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   687
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   688
#ifndef GL_ARB_texture_env_crossbar
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   689
#endif
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
#ifndef GL_ARB_texture_env_dot3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   692
#define GL_DOT3_RGB_ARB                   0x86AE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   693
#define GL_DOT3_RGBA_ARB                  0x86AF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   694
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   695
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   696
#ifndef GL_ARB_texture_mirrored_repeat
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   697
#define GL_MIRRORED_REPEAT_ARB            0x8370
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   698
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   699
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   700
#ifndef GL_ARB_depth_texture
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   701
#define GL_DEPTH_COMPONENT16_ARB          0x81A5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   702
#define GL_DEPTH_COMPONENT24_ARB          0x81A6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   703
#define GL_DEPTH_COMPONENT32_ARB          0x81A7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   704
#define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   705
#define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   706
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   707
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   708
#ifndef GL_ARB_shadow
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   709
#define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   710
#define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   711
#define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   712
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   713
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   714
#ifndef GL_ARB_shadow_ambient
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   715
#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   716
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   717
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   718
#ifndef GL_ARB_window_pos
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   719
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   720
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   721
#ifndef GL_ARB_vertex_program
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   722
#define GL_COLOR_SUM_ARB                  0x8458
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   723
#define GL_VERTEX_PROGRAM_ARB             0x8620
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   724
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   725
#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   726
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   727
#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   728
#define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   729
#define GL_PROGRAM_LENGTH_ARB             0x8627
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   730
#define GL_PROGRAM_STRING_ARB             0x8628
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   731
#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   732
#define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   733
#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   734
#define GL_CURRENT_MATRIX_ARB             0x8641
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   735
#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   736
#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   737
#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   738
#define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   739
#define GL_PROGRAM_BINDING_ARB            0x8677
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   740
#define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   741
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   742
#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   743
#define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   744
#define GL_PROGRAM_FORMAT_ARB             0x8876
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   745
#define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   746
#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   747
#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   748
#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   749
#define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   750
#define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   751
#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   752
#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   753
#define GL_PROGRAM_PARAMETERS_ARB         0x88A8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   754
#define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   755
#define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   756
#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   757
#define GL_PROGRAM_ATTRIBS_ARB            0x88AC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   758
#define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   759
#define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   760
#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   761
#define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   762
#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   763
#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   764
#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   765
#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   766
#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   767
#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   768
#define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   769
#define GL_MATRIX0_ARB                    0x88C0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   770
#define GL_MATRIX1_ARB                    0x88C1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   771
#define GL_MATRIX2_ARB                    0x88C2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   772
#define GL_MATRIX3_ARB                    0x88C3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   773
#define GL_MATRIX4_ARB                    0x88C4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   774
#define GL_MATRIX5_ARB                    0x88C5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   775
#define GL_MATRIX6_ARB                    0x88C6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   776
#define GL_MATRIX7_ARB                    0x88C7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   777
#define GL_MATRIX8_ARB                    0x88C8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   778
#define GL_MATRIX9_ARB                    0x88C9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   779
#define GL_MATRIX10_ARB                   0x88CA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   780
#define GL_MATRIX11_ARB                   0x88CB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   781
#define GL_MATRIX12_ARB                   0x88CC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   782
#define GL_MATRIX13_ARB                   0x88CD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   783
#define GL_MATRIX14_ARB                   0x88CE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   784
#define GL_MATRIX15_ARB                   0x88CF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   785
#define GL_MATRIX16_ARB                   0x88D0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   786
#define GL_MATRIX17_ARB                   0x88D1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   787
#define GL_MATRIX18_ARB                   0x88D2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   788
#define GL_MATRIX19_ARB                   0x88D3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   789
#define GL_MATRIX20_ARB                   0x88D4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   790
#define GL_MATRIX21_ARB                   0x88D5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   791
#define GL_MATRIX22_ARB                   0x88D6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   792
#define GL_MATRIX23_ARB                   0x88D7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   793
#define GL_MATRIX24_ARB                   0x88D8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   794
#define GL_MATRIX25_ARB                   0x88D9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   795
#define GL_MATRIX26_ARB                   0x88DA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   796
#define GL_MATRIX27_ARB                   0x88DB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   797
#define GL_MATRIX28_ARB                   0x88DC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   798
#define GL_MATRIX29_ARB                   0x88DD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   799
#define GL_MATRIX30_ARB                   0x88DE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   800
#define GL_MATRIX31_ARB                   0x88DF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   801
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   802
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   803
#ifndef GL_ARB_fragment_program
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   804
#define GL_FRAGMENT_PROGRAM_ARB           0x8804
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   805
#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   806
#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   807
#define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   808
#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   809
#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   810
#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   811
#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   812
#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   813
#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   814
#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   815
#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   816
#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   817
#define GL_MAX_TEXTURE_COORDS_ARB         0x8871
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   818
#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   819
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   820
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   821
#ifndef GL_ARB_vertex_buffer_object
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   822
#define GL_BUFFER_SIZE_ARB                0x8764
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   823
#define GL_BUFFER_USAGE_ARB               0x8765
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   824
#define GL_ARRAY_BUFFER_ARB               0x8892
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   825
#define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   826
#define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   827
#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   828
#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   829
#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   830
#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   831
#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   832
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   833
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   834
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   835
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   836
#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   837
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   838
#define GL_READ_ONLY_ARB                  0x88B8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   839
#define GL_WRITE_ONLY_ARB                 0x88B9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   840
#define GL_READ_WRITE_ARB                 0x88BA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   841
#define GL_BUFFER_ACCESS_ARB              0x88BB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   842
#define GL_BUFFER_MAPPED_ARB              0x88BC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   843
#define GL_BUFFER_MAP_POINTER_ARB         0x88BD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   844
#define GL_STREAM_DRAW_ARB                0x88E0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   845
#define GL_STREAM_READ_ARB                0x88E1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   846
#define GL_STREAM_COPY_ARB                0x88E2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   847
#define GL_STATIC_DRAW_ARB                0x88E4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   848
#define GL_STATIC_READ_ARB                0x88E5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   849
#define GL_STATIC_COPY_ARB                0x88E6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   850
#define GL_DYNAMIC_DRAW_ARB               0x88E8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   851
#define GL_DYNAMIC_READ_ARB               0x88E9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   852
#define GL_DYNAMIC_COPY_ARB               0x88EA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   853
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   854
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   855
#ifndef GL_ARB_occlusion_query
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   856
#define GL_QUERY_COUNTER_BITS_ARB         0x8864
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   857
#define GL_CURRENT_QUERY_ARB              0x8865
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   858
#define GL_QUERY_RESULT_ARB               0x8866
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   859
#define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   860
#define GL_SAMPLES_PASSED_ARB             0x8914
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   861
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   862
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   863
#ifndef GL_ARB_shader_objects
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   864
#define GL_PROGRAM_OBJECT_ARB             0x8B40
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   865
#define GL_SHADER_OBJECT_ARB              0x8B48
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   866
#define GL_OBJECT_TYPE_ARB                0x8B4E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   867
#define GL_OBJECT_SUBTYPE_ARB             0x8B4F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   868
#define GL_FLOAT_VEC2_ARB                 0x8B50
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   869
#define GL_FLOAT_VEC3_ARB                 0x8B51
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   870
#define GL_FLOAT_VEC4_ARB                 0x8B52
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   871
#define GL_INT_VEC2_ARB                   0x8B53
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   872
#define GL_INT_VEC3_ARB                   0x8B54
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   873
#define GL_INT_VEC4_ARB                   0x8B55
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   874
#define GL_BOOL_ARB                       0x8B56
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   875
#define GL_BOOL_VEC2_ARB                  0x8B57
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   876
#define GL_BOOL_VEC3_ARB                  0x8B58
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   877
#define GL_BOOL_VEC4_ARB                  0x8B59
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   878
#define GL_FLOAT_MAT2_ARB                 0x8B5A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   879
#define GL_FLOAT_MAT3_ARB                 0x8B5B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   880
#define GL_FLOAT_MAT4_ARB                 0x8B5C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   881
#define GL_SAMPLER_1D_ARB                 0x8B5D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   882
#define GL_SAMPLER_2D_ARB                 0x8B5E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   883
#define GL_SAMPLER_3D_ARB                 0x8B5F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   884
#define GL_SAMPLER_CUBE_ARB               0x8B60
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   885
#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   886
#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   887
#define GL_SAMPLER_2D_RECT_ARB            0x8B63
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   888
#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   889
#define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   890
#define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   891
#define GL_OBJECT_LINK_STATUS_ARB         0x8B82
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   892
#define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   893
#define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   894
#define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   895
#define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   896
#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   897
#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   898
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   899
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   900
#ifndef GL_ARB_vertex_shader
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   901
#define GL_VERTEX_SHADER_ARB              0x8B31
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   902
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   903
#define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   904
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   905
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   906
#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   907
#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   908
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   909
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   910
#ifndef GL_ARB_fragment_shader
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   911
#define GL_FRAGMENT_SHADER_ARB            0x8B30
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   912
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   913
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   914
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   915
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   916
#ifndef GL_ARB_shading_language_100
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   917
#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   918
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   919
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   920
#ifndef GL_ARB_texture_non_power_of_two
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   921
#endif
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
#ifndef GL_ARB_point_sprite
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   924
#define GL_POINT_SPRITE_ARB               0x8861
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   925
#define GL_COORD_REPLACE_ARB              0x8862
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   926
#endif
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
#ifndef GL_ARB_fragment_program_shadow
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   929
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   930
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   931
#ifndef GL_ARB_draw_buffers
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   932
#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   933
#define GL_DRAW_BUFFER0_ARB               0x8825
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   934
#define GL_DRAW_BUFFER1_ARB               0x8826
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   935
#define GL_DRAW_BUFFER2_ARB               0x8827
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   936
#define GL_DRAW_BUFFER3_ARB               0x8828
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   937
#define GL_DRAW_BUFFER4_ARB               0x8829
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   938
#define GL_DRAW_BUFFER5_ARB               0x882A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   939
#define GL_DRAW_BUFFER6_ARB               0x882B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   940
#define GL_DRAW_BUFFER7_ARB               0x882C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   941
#define GL_DRAW_BUFFER8_ARB               0x882D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   942
#define GL_DRAW_BUFFER9_ARB               0x882E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   943
#define GL_DRAW_BUFFER10_ARB              0x882F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   944
#define GL_DRAW_BUFFER11_ARB              0x8830
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   945
#define GL_DRAW_BUFFER12_ARB              0x8831
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   946
#define GL_DRAW_BUFFER13_ARB              0x8832
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   947
#define GL_DRAW_BUFFER14_ARB              0x8833
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   948
#define GL_DRAW_BUFFER15_ARB              0x8834
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   949
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   950
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   951
#ifndef GL_ARB_texture_rectangle
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   952
#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   953
#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   954
#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   955
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   956
#endif
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
#ifndef GL_ARB_color_buffer_float
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   959
#define GL_RGBA_FLOAT_MODE_ARB            0x8820
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   960
#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   961
#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   962
#define GL_CLAMP_READ_COLOR_ARB           0x891C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   963
#define GL_FIXED_ONLY_ARB                 0x891D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   964
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   965
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   966
#ifndef GL_ARB_half_float_pixel
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   967
#define GL_HALF_FLOAT_ARB                 0x140B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   968
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   969
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   970
#ifndef GL_ARB_texture_float
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   971
#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   972
#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   973
#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   974
#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   975
#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   976
#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   977
#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   978
#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   979
#define GL_RGBA32F_ARB                    0x8814
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   980
#define GL_RGB32F_ARB                     0x8815
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   981
#define GL_ALPHA32F_ARB                   0x8816
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   982
#define GL_INTENSITY32F_ARB               0x8817
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   983
#define GL_LUMINANCE32F_ARB               0x8818
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   984
#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   985
#define GL_RGBA16F_ARB                    0x881A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   986
#define GL_RGB16F_ARB                     0x881B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   987
#define GL_ALPHA16F_ARB                   0x881C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   988
#define GL_INTENSITY16F_ARB               0x881D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   989
#define GL_LUMINANCE16F_ARB               0x881E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   990
#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   991
#endif
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
#ifndef GL_ARB_pixel_buffer_object
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   994
#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   995
#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   996
#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   997
#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   998
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   999
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1000
#ifndef GL_EXT_abgr
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1001
#define GL_ABGR_EXT                       0x8000
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1002
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1003
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1004
#ifndef GL_EXT_blend_color
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1005
#define GL_CONSTANT_COLOR_EXT             0x8001
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1006
#define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1007
#define GL_CONSTANT_ALPHA_EXT             0x8003
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1008
#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1009
#define GL_BLEND_COLOR_EXT                0x8005
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1010
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1011
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1012
#ifndef GL_EXT_polygon_offset
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1013
#define GL_POLYGON_OFFSET_EXT             0x8037
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1014
#define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1015
#define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1016
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1017
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1018
#ifndef GL_EXT_texture
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1019
#define GL_ALPHA4_EXT                     0x803B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1020
#define GL_ALPHA8_EXT                     0x803C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1021
#define GL_ALPHA12_EXT                    0x803D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1022
#define GL_ALPHA16_EXT                    0x803E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1023
#define GL_LUMINANCE4_EXT                 0x803F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1024
#define GL_LUMINANCE8_EXT                 0x8040
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1025
#define GL_LUMINANCE12_EXT                0x8041
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1026
#define GL_LUMINANCE16_EXT                0x8042
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1027
#define GL_LUMINANCE4_ALPHA4_EXT          0x8043
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1028
#define GL_LUMINANCE6_ALPHA2_EXT          0x8044
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1029
#define GL_LUMINANCE8_ALPHA8_EXT          0x8045
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1030
#define GL_LUMINANCE12_ALPHA4_EXT         0x8046
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1031
#define GL_LUMINANCE12_ALPHA12_EXT        0x8047
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1032
#define GL_LUMINANCE16_ALPHA16_EXT        0x8048
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1033
#define GL_INTENSITY_EXT                  0x8049
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1034
#define GL_INTENSITY4_EXT                 0x804A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1035
#define GL_INTENSITY8_EXT                 0x804B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1036
#define GL_INTENSITY12_EXT                0x804C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1037
#define GL_INTENSITY16_EXT                0x804D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1038
#define GL_RGB2_EXT                       0x804E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1039
#define GL_RGB4_EXT                       0x804F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1040
#define GL_RGB5_EXT                       0x8050
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1041
#define GL_RGB8_EXT                       0x8051
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1042
#define GL_RGB10_EXT                      0x8052
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1043
#define GL_RGB12_EXT                      0x8053
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1044
#define GL_RGB16_EXT                      0x8054
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1045
#define GL_RGBA2_EXT                      0x8055
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1046
#define GL_RGBA4_EXT                      0x8056
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1047
#define GL_RGB5_A1_EXT                    0x8057
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1048
#define GL_RGBA8_EXT                      0x8058
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1049
#define GL_RGB10_A2_EXT                   0x8059
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1050
#define GL_RGBA12_EXT                     0x805A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1051
#define GL_RGBA16_EXT                     0x805B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1052
#define GL_TEXTURE_RED_SIZE_EXT           0x805C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1053
#define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1054
#define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1055
#define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1056
#define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1057
#define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1058
#define GL_REPLACE_EXT                    0x8062
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1059
#define GL_PROXY_TEXTURE_1D_EXT           0x8063
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1060
#define GL_PROXY_TEXTURE_2D_EXT           0x8064
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1061
#define GL_TEXTURE_TOO_LARGE_EXT          0x8065
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1062
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1063
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1064
#ifndef GL_EXT_texture3D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1065
#define GL_PACK_SKIP_IMAGES_EXT           0x806B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1066
#define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1067
#define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1068
#define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1069
#define GL_TEXTURE_3D_EXT                 0x806F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1070
#define GL_PROXY_TEXTURE_3D_EXT           0x8070
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1071
#define GL_TEXTURE_DEPTH_EXT              0x8071
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1072
#define GL_TEXTURE_WRAP_R_EXT             0x8072
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1073
#define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1074
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1075
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1076
#ifndef GL_SGIS_texture_filter4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1077
#define GL_FILTER4_SGIS                   0x8146
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1078
#define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1079
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1080
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1081
#ifndef GL_EXT_subtexture
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1082
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1083
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1084
#ifndef GL_EXT_copy_texture
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1085
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1086
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1087
#ifndef GL_EXT_histogram
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1088
#define GL_HISTOGRAM_EXT                  0x8024
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1089
#define GL_PROXY_HISTOGRAM_EXT            0x8025
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1090
#define GL_HISTOGRAM_WIDTH_EXT            0x8026
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1091
#define GL_HISTOGRAM_FORMAT_EXT           0x8027
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1092
#define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1093
#define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1094
#define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1095
#define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1096
#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1097
#define GL_HISTOGRAM_SINK_EXT             0x802D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1098
#define GL_MINMAX_EXT                     0x802E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1099
#define GL_MINMAX_FORMAT_EXT              0x802F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1100
#define GL_MINMAX_SINK_EXT                0x8030
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1101
#define GL_TABLE_TOO_LARGE_EXT            0x8031
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1102
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1103
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1104
#ifndef GL_EXT_convolution
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1105
#define GL_CONVOLUTION_1D_EXT             0x8010
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1106
#define GL_CONVOLUTION_2D_EXT             0x8011
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1107
#define GL_SEPARABLE_2D_EXT               0x8012
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1108
#define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1109
#define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1110
#define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1111
#define GL_REDUCE_EXT                     0x8016
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1112
#define GL_CONVOLUTION_FORMAT_EXT         0x8017
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1113
#define GL_CONVOLUTION_WIDTH_EXT          0x8018
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1114
#define GL_CONVOLUTION_HEIGHT_EXT         0x8019
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1115
#define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1116
#define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1117
#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1118
#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1119
#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1120
#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1121
#define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1122
#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1123
#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1124
#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1125
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1126
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1127
#ifndef GL_SGI_color_matrix
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1128
#define GL_COLOR_MATRIX_SGI               0x80B1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1129
#define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1130
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1131
#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1132
#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1133
#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1134
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1135
#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1136
#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1137
#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1138
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1139
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1140
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1141
#ifndef GL_SGI_color_table
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1142
#define GL_COLOR_TABLE_SGI                0x80D0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1143
#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1144
#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1145
#define GL_PROXY_COLOR_TABLE_SGI          0x80D3
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1146
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1147
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1148
#define GL_COLOR_TABLE_SCALE_SGI          0x80D6
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1149
#define GL_COLOR_TABLE_BIAS_SGI           0x80D7
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1150
#define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1151
#define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1152
#define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1153
#define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1154
#define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1155
#define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1156
#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1157
#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1158
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1159
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1160
#ifndef GL_SGIS_pixel_texture
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1161
#define GL_PIXEL_TEXTURE_SGIS             0x8353
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1162
#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1163
#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1164
#define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1165
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1166
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1167
#ifndef GL_SGIX_pixel_texture
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1168
#define GL_PIXEL_TEX_GEN_SGIX             0x8139
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1169
#define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1170
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1171
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1172
#ifndef GL_SGIS_texture4D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1173
#define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1174
#define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1175
#define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1176
#define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1177
#define GL_TEXTURE_4D_SGIS                0x8134
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1178
#define GL_PROXY_TEXTURE_4D_SGIS          0x8135
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1179
#define GL_TEXTURE_4DSIZE_SGIS            0x8136
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1180
#define GL_TEXTURE_WRAP_Q_SGIS            0x8137
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1181
#define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1182
#define GL_TEXTURE_4D_BINDING_SGIS        0x814F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1183
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1184
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1185
#ifndef GL_SGI_texture_color_table
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1186
#define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1187
#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1188
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1189
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1190
#ifndef GL_EXT_cmyka
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1191
#define GL_CMYK_EXT                       0x800C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1192
#define GL_CMYKA_EXT                      0x800D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1193
#define GL_PACK_CMYK_HINT_EXT             0x800E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1194
#define GL_UNPACK_CMYK_HINT_EXT           0x800F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1195
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1196
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1197
#ifndef GL_EXT_texture_object
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1198
#define GL_TEXTURE_PRIORITY_EXT           0x8066
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1199
#define GL_TEXTURE_RESIDENT_EXT           0x8067
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1200
#define GL_TEXTURE_1D_BINDING_EXT         0x8068
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1201
#define GL_TEXTURE_2D_BINDING_EXT         0x8069
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1202
#define GL_TEXTURE_3D_BINDING_EXT         0x806A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1203
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1204
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1205
#ifndef GL_SGIS_detail_texture
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1206
#define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1207
#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1208
#define GL_LINEAR_DETAIL_SGIS             0x8097
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1209
#define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1210
#define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1211
#define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1212
#define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1213
#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1214
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1215
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1216
#ifndef GL_SGIS_sharpen_texture
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1217
#define GL_LINEAR_SHARPEN_SGIS            0x80AD
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1218
#define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1219
#define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1220
#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1221
#endif
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
#ifndef GL_EXT_packed_pixels
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1224
#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
  1225
#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
  1226
#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
  1227
#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
  1228
#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
  1229
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1230
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1231
#ifndef GL_SGIS_texture_lod
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1232
#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1233
#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1234
#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1235
#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1236
#endif
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1237
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1238
#ifndef GL_SGIS_multisample
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1239
#define GL_MULTISAMPLE_SGIS               0x809D
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1240
#define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1241
#define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1242
#define GL_SAMPLE_MASK_SGIS               0x80A0
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1243
#define GL_1PASS_SGIS                     0x80A1
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1244
#define GL_2PASS_0_SGIS                   0x80A2
0eb9e160ff7f Patched finderrors to build on Linux again.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1245
#define GL_2PASS_1_SGIS                   0x80A3