include/SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 01 Apr 2013 23:15:21 -0700
changeset 7042 6460bf6d33cf
parent 6885 700f1b25f77f
child 7191 75360622e65f
permissions -rw-r--r--
Fixed bug 1782 - SDL_opengl.h header disabled on FreeBSD q66 The SDL_opengl.h header contains this: #ifdef __FreeBSD__ /* !!! FIXME: temp compiler warning fix... */ #define NO_SDL_GLEXT 1 #endif However, I can't seem to find what kind of compiler warning it was and it makes it unusable to use on FreeBSD. If I comment out these lines on my machine, everything works fine - I use FreeBSD 9-STABLE (x86_64, gcc and clang both, the same in a x86 chroot). All I could find is that this was causing an error on FreeBSD 8, but I can't test that on my machine (maybe if I set up some FreeBSD 8 chroot). I set up a 8.2 chroot and investigated the problem. Apparently this issue was fixed in Mesa 7.6 (and in Git, June 4 2009, but it didn't get into 7.5). By the time those lines were added, FreeBSD contained the libGL port version 7.4.4, which suffered from the issue, but on April 2012 the version was updated to 7.6, which is available for FreeBSD 8 and FreeBSD 9 alike, which means those three lines should be safe to remove (it'll work fine for everyone with sufficiently up to date ports).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     1
/*
5535
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     2
  Simple DirectMedia Layer
6885
700f1b25f77f Happy New Year!
Sam Lantinga <slouken@libsdl.org>
parents: 6360
diff changeset
     3
  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
5535
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     4
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     5
  This software is provided 'as-is', without any express or implied
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     6
  warranty.  In no event will the authors be held liable for any damages
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     7
  arising from the use of this software.
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     8
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     9
  Permission is granted to anyone to use this software for any purpose,
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    10
  including commercial applications, and to alter it and redistribute it
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    11
  freely, subject to the following restrictions:
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    12
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    13
  1. The origin of this software must not be misrepresented; you must not
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    14
     claim that you wrote the original software. If you use this software
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    15
     in a product, an acknowledgment in the product documentation would be
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    16
     appreciated but is not required.
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    17
  2. Altered source versions must be plainly marked as such, and must not be
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    18
     misrepresented as being the original software.
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    19
  3. This notice may not be removed or altered from any source distribution.
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    20
*/
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    21
3407
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    22
/**
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    23
 *  \file SDL_opengl.h
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    24
 *  
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    25
 *  This is a simple file to encapsulate the OpenGL API headers.
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    26
 */
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    27
3241
08c5964f2a34 Fixed a few issues compiling with Mac OS X 10.6
Sam Lantinga <slouken@libsdl.org>
parents: 3240
diff changeset
    28
#ifndef _SDL_opengl_h
08c5964f2a34 Fixed a few issues compiling with Mac OS X 10.6
Sam Lantinga <slouken@libsdl.org>
parents: 3240
diff changeset
    29
#define _SDL_opengl_h
08c5964f2a34 Fixed a few issues compiling with Mac OS X 10.6
Sam Lantinga <slouken@libsdl.org>
parents: 3240
diff changeset
    30
1402
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1312
diff changeset
    31
#include "SDL_config.h"
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1312
diff changeset
    32
6044
35448a5ea044 Lots of fixes importing SDL source wholesale into a new iOS project
Sam Lantinga <slouken@libsdl.org>
parents: 5958
diff changeset
    33
#ifndef __IPHONEOS__
35448a5ea044 Lots of fixes importing SDL source wholesale into a new iOS project
Sam Lantinga <slouken@libsdl.org>
parents: 5958
diff changeset
    34
5086
c2539ff054c8 Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
Sam Lantinga <slouken@libsdl.org>
parents: 5062
diff changeset
    35
#ifdef __WIN32__
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    36
#define WIN32_LEAN_AND_MEAN
725
9ee05fe728df *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 600
diff changeset
    37
#ifndef NOMINMAX
1895
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1619
diff changeset
    38
#define NOMINMAX                /* Don't defined min() and max() */
725
9ee05fe728df *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 600
diff changeset
    39
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    40
#include <windows.h>
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    41
#endif
5958
e1624f3b29b5 Fixed compiler warnings on Haiku.
Ryan C. Gordon <icculus@icculus.org>
parents: 5863
diff changeset
    42
e1624f3b29b5 Fixed compiler warnings on Haiku.
Ryan C. Gordon <icculus@icculus.org>
parents: 5863
diff changeset
    43
#ifdef __HAIKU__  /* !!! FIXME: temp compiler warning fix... */
e1624f3b29b5 Fixed compiler warnings on Haiku.
Ryan C. Gordon <icculus@icculus.org>
parents: 5863
diff changeset
    44
#define NO_SDL_GLEXT 1
e1624f3b29b5 Fixed compiler warnings on Haiku.
Ryan C. Gordon <icculus@icculus.org>
parents: 5863
diff changeset
    45
#endif
e1624f3b29b5 Fixed compiler warnings on Haiku.
Ryan C. Gordon <icculus@icculus.org>
parents: 5863
diff changeset
    46
4922
ba79f17d68c1 Don't conflict with glext.h if it's already been included
Sam Lantinga <slouken@libsdl.org>
parents: 4634
diff changeset
    47
#ifdef __glext_h_
ba79f17d68c1 Don't conflict with glext.h if it's already been included
Sam Lantinga <slouken@libsdl.org>
parents: 4634
diff changeset
    48
/* Someone has already included glext.h */
ba79f17d68c1 Don't conflict with glext.h if it's already been included
Sam Lantinga <slouken@libsdl.org>
parents: 4634
diff changeset
    49
#define NO_SDL_GLEXT
ba79f17d68c1 Don't conflict with glext.h if it's already been included
Sam Lantinga <slouken@libsdl.org>
parents: 4634
diff changeset
    50
#endif
932
66761191fc11 Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this)
Sam Lantinga <slouken@libsdl.org>
parents: 843
diff changeset
    51
#ifndef NO_SDL_GLEXT
1895
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1619
diff changeset
    52
#define __glext_h_              /* Don't let gl.h include glext.h */
932
66761191fc11 Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this)
Sam Lantinga <slouken@libsdl.org>
parents: 843
diff changeset
    53
#endif
1424
7a610f25c12f Updated MacOS Classic MPW build
Sam Lantinga <slouken@libsdl.org>
parents: 1402
diff changeset
    54
#if defined(__MACOSX__)
1895
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1619
diff changeset
    55
#include <OpenGL/gl.h>          /* Header File For The OpenGL Library */
3241
08c5964f2a34 Fixed a few issues compiling with Mac OS X 10.6
Sam Lantinga <slouken@libsdl.org>
parents: 3240
diff changeset
    56
#define __X_GL_H
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    57
#else
1895
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1619
diff changeset
    58
#include <GL/gl.h>              /* Header File For The OpenGL Library */
932
66761191fc11 Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this)
Sam Lantinga <slouken@libsdl.org>
parents: 843
diff changeset
    59
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    60
#ifndef NO_SDL_GLEXT
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    61
#undef __glext_h_
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    62
#endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    63
3407
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    64
/**
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    65
 *  \file SDL_opengl.h
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    66
 *  
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    67
 *  This file is included because glext.h is not available on some systems.
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    68
 *  If you don't want this version included, simply define ::NO_SDL_GLEXT.
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    69
 *  
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    70
 *  The latest version is available from:
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    71
 *  	http://www.opengl.org/registry/
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    72
 */
3407
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    73
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    74
/**
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    75
 *  \def NO_SDL_GLEXT
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    76
 *  
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    77
 *  Define this if you have your own version of glext.h and want to disable the 
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    78
 *  version included in SDL_opengl.h.
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    79
 */
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3241
diff changeset
    80
1895
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1619
diff changeset
    81
#if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1619
diff changeset
    82
/* *INDENT-OFF* */
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1619
diff changeset
    83
#ifndef __glext_h_
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    84
#define __glext_h_
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    85
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    86
#ifdef __cplusplus
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    87
extern "C" {
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    88
#endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    89
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    90
/*
4634
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
    91
** Copyright (c) 2007-2010 The Khronos Group Inc.
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    92
** 
2788
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
    93
** Permission is hereby granted, free of charge, to any person obtaining a
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
    94
** copy of this software and/or associated documentation files (the
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
    95
** "Materials"), to deal in the Materials without restriction, including
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
    96
** without limitation the rights to use, copy, modify, merge, publish,
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
    97
** distribute, sublicense, and/or sell copies of the Materials, and to
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
    98
** permit persons to whom the Materials are furnished to do so, subject to
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
    99
** the following conditions:
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   100
** 
2788
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   101
** The above copyright notice and this permission notice shall be included
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   102
** in all copies or substantial portions of the Materials.
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   103
** 
2788
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   104
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   105
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   106
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   107
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   108
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   109
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   110
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   111
*/
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   112
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   113
/* Header file version number, required by OpenGL ABI for Linux */
4634
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   114
/* glext.h last updated $Date: 2010-08-03 01:30:25 -0700 (Tue, 03 Aug 2010) $ */
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   115
/* Current version at http://www.opengl.org/registry/ */
4634
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   116
#define GL_GLEXT_VERSION 64
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   117
/* Function declaration macros - to move into glplatform.h */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   118
843
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   119
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   120
#define WIN32_LEAN_AND_MEAN 1
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   121
#include <windows.h>
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   122
#endif
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   123
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   124
#ifndef APIENTRY
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   125
#define APIENTRY
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   126
#endif
843
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   127
#ifndef APIENTRYP
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   128
#define APIENTRYP APIENTRY *
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   129
#endif
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   130
#ifndef GLAPI
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   131
#define GLAPI extern
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   132
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   133
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   134
/*************************************************************/
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   135
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   136
#ifndef GL_VERSION_1_2
843
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   137
#define GL_UNSIGNED_BYTE_3_3_2            0x8032
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   138
#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   139
#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   140
#define GL_UNSIGNED_INT_8_8_8_8           0x8035
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   141
#define GL_UNSIGNED_INT_10_10_10_2        0x8036
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   142
#define GL_TEXTURE_BINDING_3D             0x806A
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   143
#define GL_PACK_SKIP_IMAGES               0x806B
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   144
#define GL_PACK_IMAGE_HEIGHT              0x806C
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   145
#define GL_UNPACK_SKIP_IMAGES             0x806D
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   146
#define GL_UNPACK_IMAGE_HEIGHT            0x806E
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   147
#define GL_TEXTURE_3D                     0x806F
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   148
#define GL_PROXY_TEXTURE_3D               0x8070
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   149
#define GL_TEXTURE_DEPTH                  0x8071
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   150
#define GL_TEXTURE_WRAP_R                 0x8072
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   151
#define GL_MAX_3D_TEXTURE_SIZE            0x8073
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   152
#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   153
#define GL_UNSIGNED_SHORT_5_6_5           0x8363
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   154
#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   155
#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   156
#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   157
#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   158
#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   159
#define GL_BGR                            0x80E0
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   160
#define GL_BGRA                           0x80E1
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   161
#define GL_MAX_ELEMENTS_VERTICES          0x80E8
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   162
#define GL_MAX_ELEMENTS_INDICES           0x80E9
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   163
#define GL_CLAMP_TO_EDGE                  0x812F
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   164
#define GL_TEXTURE_MIN_LOD                0x813A
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   165
#define GL_TEXTURE_MAX_LOD                0x813B
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   166
#define GL_TEXTURE_BASE_LEVEL             0x813C
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   167
#define GL_TEXTURE_MAX_LEVEL              0x813D
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   168
#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   169
#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   170
#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   171
#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   172
#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   173
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   174
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   175
#ifndef GL_VERSION_1_2_DEPRECATED
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   176
#define GL_RESCALE_NORMAL                 0x803A
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   177
#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   178
#define GL_SINGLE_COLOR                   0x81F9
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   179
#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
843
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   180
#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   181
#endif
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   182
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   183
#ifndef GL_ARB_imaging
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   184
#define GL_CONSTANT_COLOR                 0x8001
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   185
#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   186
#define GL_CONSTANT_ALPHA                 0x8003
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   187
#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   188
#define GL_BLEND_COLOR                    0x8005
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   189
#define GL_FUNC_ADD                       0x8006
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   190
#define GL_MIN                            0x8007
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   191
#define GL_MAX                            0x8008
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   192
#define GL_BLEND_EQUATION                 0x8009
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   193
#define GL_FUNC_SUBTRACT                  0x800A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   194
#define GL_FUNC_REVERSE_SUBTRACT          0x800B
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   195
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   196
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   197
#ifndef GL_ARB_imaging_DEPRECATED
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   198
#define GL_CONVOLUTION_1D                 0x8010
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   199
#define GL_CONVOLUTION_2D                 0x8011
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   200
#define GL_SEPARABLE_2D                   0x8012
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   201
#define GL_CONVOLUTION_BORDER_MODE        0x8013
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   202
#define GL_CONVOLUTION_FILTER_SCALE       0x8014
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   203
#define GL_CONVOLUTION_FILTER_BIAS        0x8015
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   204
#define GL_REDUCE                         0x8016
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   205
#define GL_CONVOLUTION_FORMAT             0x8017
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   206
#define GL_CONVOLUTION_WIDTH              0x8018
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   207
#define GL_CONVOLUTION_HEIGHT             0x8019
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   208
#define GL_MAX_CONVOLUTION_WIDTH          0x801A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   209
#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   210
#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   211
#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   212
#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   213
#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   214
#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   215
#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   216
#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   217
#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   218
#define GL_HISTOGRAM                      0x8024
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   219
#define GL_PROXY_HISTOGRAM                0x8025
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   220
#define GL_HISTOGRAM_WIDTH                0x8026
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   221
#define GL_HISTOGRAM_FORMAT               0x8027
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   222
#define GL_HISTOGRAM_RED_SIZE             0x8028
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   223
#define GL_HISTOGRAM_GREEN_SIZE           0x8029
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   224
#define GL_HISTOGRAM_BLUE_SIZE            0x802A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   225
#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   226
#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   227
#define GL_HISTOGRAM_SINK                 0x802D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   228
#define GL_MINMAX                         0x802E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   229
#define GL_MINMAX_FORMAT                  0x802F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   230
#define GL_MINMAX_SINK                    0x8030
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   231
#define GL_TABLE_TOO_LARGE                0x8031
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   232
#define GL_COLOR_MATRIX                   0x80B1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   233
#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   234
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   235
#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   236
#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   237
#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   238
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   239
#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   240
#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   241
#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
843
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   242
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   243
#define GL_COLOR_TABLE                    0x80D0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   244
#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   245
#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   246
#define GL_PROXY_COLOR_TABLE              0x80D3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   247
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   248
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   249
#define GL_COLOR_TABLE_SCALE              0x80D6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   250
#define GL_COLOR_TABLE_BIAS               0x80D7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   251
#define GL_COLOR_TABLE_FORMAT             0x80D8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   252
#define GL_COLOR_TABLE_WIDTH              0x80D9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   253
#define GL_COLOR_TABLE_RED_SIZE           0x80DA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   254
#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   255
#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   256
#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   257
#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   258
#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
843
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   259
#define GL_CONSTANT_BORDER                0x8151
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   260
#define GL_REPLICATE_BORDER               0x8153
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   261
#define GL_CONVOLUTION_BORDER_COLOR       0x8154
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   262
#endif
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   263
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   264
#ifndef GL_VERSION_1_3
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   265
#define GL_TEXTURE0                       0x84C0
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   266
#define GL_TEXTURE1                       0x84C1
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   267
#define GL_TEXTURE2                       0x84C2
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   268
#define GL_TEXTURE3                       0x84C3
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   269
#define GL_TEXTURE4                       0x84C4
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   270
#define GL_TEXTURE5                       0x84C5
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   271
#define GL_TEXTURE6                       0x84C6
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   272
#define GL_TEXTURE7                       0x84C7
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   273
#define GL_TEXTURE8                       0x84C8
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   274
#define GL_TEXTURE9                       0x84C9
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   275
#define GL_TEXTURE10                      0x84CA
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   276
#define GL_TEXTURE11                      0x84CB
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   277
#define GL_TEXTURE12                      0x84CC
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   278
#define GL_TEXTURE13                      0x84CD
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   279
#define GL_TEXTURE14                      0x84CE
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   280
#define GL_TEXTURE15                      0x84CF
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   281
#define GL_TEXTURE16                      0x84D0
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   282
#define GL_TEXTURE17                      0x84D1
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   283
#define GL_TEXTURE18                      0x84D2
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   284
#define GL_TEXTURE19                      0x84D3
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   285
#define GL_TEXTURE20                      0x84D4
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   286
#define GL_TEXTURE21                      0x84D5
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   287
#define GL_TEXTURE22                      0x84D6
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   288
#define GL_TEXTURE23                      0x84D7
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   289
#define GL_TEXTURE24                      0x84D8
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   290
#define GL_TEXTURE25                      0x84D9
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   291
#define GL_TEXTURE26                      0x84DA
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   292
#define GL_TEXTURE27                      0x84DB
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   293
#define GL_TEXTURE28                      0x84DC
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   294
#define GL_TEXTURE29                      0x84DD
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   295
#define GL_TEXTURE30                      0x84DE
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   296
#define GL_TEXTURE31                      0x84DF
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   297
#define GL_ACTIVE_TEXTURE                 0x84E0
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   298
#define GL_MULTISAMPLE                    0x809D
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   299
#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   300
#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   301
#define GL_SAMPLE_COVERAGE                0x80A0
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   302
#define GL_SAMPLE_BUFFERS                 0x80A8
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   303
#define GL_SAMPLES                        0x80A9
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   304
#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   305
#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   306
#define GL_TEXTURE_CUBE_MAP               0x8513
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   307
#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   308
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   309
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   310
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   311
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   312
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   313
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   314
#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   315
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   316
#define GL_COMPRESSED_RGB                 0x84ED
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   317
#define GL_COMPRESSED_RGBA                0x84EE
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   318
#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   319
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   320
#define GL_TEXTURE_COMPRESSED             0x86A1
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   321
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   322
#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   323
#define GL_CLAMP_TO_BORDER                0x812D
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   324
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   325
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   326
#ifndef GL_VERSION_1_3_DEPRECATED
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   327
#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   328
#define GL_MAX_TEXTURE_UNITS              0x84E2
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   329
#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   330
#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   331
#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   332
#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   333
#define GL_MULTISAMPLE_BIT                0x20000000
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   334
#define GL_NORMAL_MAP                     0x8511
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   335
#define GL_REFLECTION_MAP                 0x8512
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   336
#define GL_COMPRESSED_ALPHA               0x84E9
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   337
#define GL_COMPRESSED_LUMINANCE           0x84EA
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   338
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   339
#define GL_COMPRESSED_INTENSITY           0x84EC
843
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   340
#define GL_COMBINE                        0x8570
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   341
#define GL_COMBINE_RGB                    0x8571
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   342
#define GL_COMBINE_ALPHA                  0x8572
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   343
#define GL_SOURCE0_RGB                    0x8580
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   344
#define GL_SOURCE1_RGB                    0x8581
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   345
#define GL_SOURCE2_RGB                    0x8582
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   346
#define GL_SOURCE0_ALPHA                  0x8588
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   347
#define GL_SOURCE1_ALPHA                  0x8589
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   348
#define GL_SOURCE2_ALPHA                  0x858A
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   349
#define GL_OPERAND0_RGB                   0x8590
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   350
#define GL_OPERAND1_RGB                   0x8591
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   351
#define GL_OPERAND2_RGB                   0x8592
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   352
#define GL_OPERAND0_ALPHA                 0x8598
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   353
#define GL_OPERAND1_ALPHA                 0x8599
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   354
#define GL_OPERAND2_ALPHA                 0x859A
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   355
#define GL_RGB_SCALE                      0x8573
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   356
#define GL_ADD_SIGNED                     0x8574
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   357
#define GL_INTERPOLATE                    0x8575
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   358
#define GL_SUBTRACT                       0x84E7
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   359
#define GL_CONSTANT                       0x8576
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   360
#define GL_PRIMARY_COLOR                  0x8577
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   361
#define GL_PREVIOUS                       0x8578
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   362
#define GL_DOT3_RGB                       0x86AE
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   363
#define GL_DOT3_RGBA                      0x86AF
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   364
#endif
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   365
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   366
#ifndef GL_VERSION_1_4
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   367
#define GL_BLEND_DST_RGB                  0x80C8
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   368
#define GL_BLEND_SRC_RGB                  0x80C9
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   369
#define GL_BLEND_DST_ALPHA                0x80CA
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   370
#define GL_BLEND_SRC_ALPHA                0x80CB
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   371
#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   372
#define GL_DEPTH_COMPONENT16              0x81A5
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   373
#define GL_DEPTH_COMPONENT24              0x81A6
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   374
#define GL_DEPTH_COMPONENT32              0x81A7
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   375
#define GL_MIRRORED_REPEAT                0x8370
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   376
#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   377
#define GL_TEXTURE_LOD_BIAS               0x8501
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   378
#define GL_INCR_WRAP                      0x8507
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   379
#define GL_DECR_WRAP                      0x8508
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   380
#define GL_TEXTURE_DEPTH_SIZE             0x884A
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   381
#define GL_TEXTURE_COMPARE_MODE           0x884C
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   382
#define GL_TEXTURE_COMPARE_FUNC           0x884D
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   383
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   384
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   385
#ifndef GL_VERSION_1_4_DEPRECATED
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   386
#define GL_POINT_SIZE_MIN                 0x8126
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   387
#define GL_POINT_SIZE_MAX                 0x8127
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   388
#define GL_POINT_DISTANCE_ATTENUATION     0x8129
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   389
#define GL_GENERATE_MIPMAP                0x8191
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   390
#define GL_GENERATE_MIPMAP_HINT           0x8192
843
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   391
#define GL_FOG_COORDINATE_SOURCE          0x8450
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   392
#define GL_FOG_COORDINATE                 0x8451
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   393
#define GL_FRAGMENT_DEPTH                 0x8452
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   394
#define GL_CURRENT_FOG_COORDINATE         0x8453
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   395
#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   396
#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   397
#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   398
#define GL_FOG_COORDINATE_ARRAY           0x8457
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   399
#define GL_COLOR_SUM                      0x8458
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   400
#define GL_CURRENT_SECONDARY_COLOR        0x8459
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   401
#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   402
#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   403
#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   404
#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   405
#define GL_SECONDARY_COLOR_ARRAY          0x845E
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   406
#define GL_TEXTURE_FILTER_CONTROL         0x8500
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   407
#define GL_DEPTH_TEXTURE_MODE             0x884B
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   408
#define GL_COMPARE_R_TO_TEXTURE           0x884E
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   409
#endif
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   410
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   411
#ifndef GL_VERSION_1_5
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   412
#define GL_BUFFER_SIZE                    0x8764
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   413
#define GL_BUFFER_USAGE                   0x8765
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   414
#define GL_QUERY_COUNTER_BITS             0x8864
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   415
#define GL_CURRENT_QUERY                  0x8865
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   416
#define GL_QUERY_RESULT                   0x8866
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   417
#define GL_QUERY_RESULT_AVAILABLE         0x8867
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   418
#define GL_ARRAY_BUFFER                   0x8892
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   419
#define GL_ELEMENT_ARRAY_BUFFER           0x8893
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   420
#define GL_ARRAY_BUFFER_BINDING           0x8894
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   421
#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   422
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   423
#define GL_READ_ONLY                      0x88B8
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   424
#define GL_WRITE_ONLY                     0x88B9
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   425
#define GL_READ_WRITE                     0x88BA
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   426
#define GL_BUFFER_ACCESS                  0x88BB
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   427
#define GL_BUFFER_MAPPED                  0x88BC
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   428
#define GL_BUFFER_MAP_POINTER             0x88BD
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   429
#define GL_STREAM_DRAW                    0x88E0
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   430
#define GL_STREAM_READ                    0x88E1
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   431
#define GL_STREAM_COPY                    0x88E2
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   432
#define GL_STATIC_DRAW                    0x88E4
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   433
#define GL_STATIC_READ                    0x88E5
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   434
#define GL_STATIC_COPY                    0x88E6
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   435
#define GL_DYNAMIC_DRAW                   0x88E8
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   436
#define GL_DYNAMIC_READ                   0x88E9
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   437
#define GL_DYNAMIC_COPY                   0x88EA
748f441d7d9f Updated SDL_opengl.h to include the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 769
diff changeset
   438
#define GL_SAMPLES_PASSED                 0x8914
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   439
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   440
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   441
#ifndef GL_VERSION_1_5_DEPRECATED
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   442
#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   443
#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   444
#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   445
#define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   446
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   447
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   448
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   449
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   450
#define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   451
#define GL_FOG_COORD_SRC                  0x8450
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   452
#define GL_FOG_COORD                      0x8451
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   453
#define GL_CURRENT_FOG_COORD              0x8453
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   454
#define GL_FOG_COORD_ARRAY_TYPE           0x8454
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   455
#define GL_FOG_COORD_ARRAY_STRIDE         0x8455
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   456
#define GL_FOG_COORD_ARRAY_POINTER        0x8456
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   457
#define GL_FOG_COORD_ARRAY                0x8457
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   458
#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   459
#define GL_SRC0_RGB                       0x8580
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   460
#define GL_SRC1_RGB                       0x8581
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   461
#define GL_SRC2_RGB                       0x8582
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   462
#define GL_SRC0_ALPHA                     0x8588
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   463
#define GL_SRC1_ALPHA                     0x8589
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   464
#define GL_SRC2_ALPHA                     0x858A
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   465
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   466
1205
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   467
#ifndef GL_VERSION_2_0
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   468
#define GL_BLEND_EQUATION_RGB             0x8009
1205
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   469
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   470
#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   471
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   472
#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   473
#define GL_CURRENT_VERTEX_ATTRIB          0x8626
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   474
#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   475
#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   476
#define GL_STENCIL_BACK_FUNC              0x8800
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   477
#define GL_STENCIL_BACK_FAIL              0x8801
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   478
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   479
#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   480
#define GL_MAX_DRAW_BUFFERS               0x8824
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   481
#define GL_DRAW_BUFFER0                   0x8825
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   482
#define GL_DRAW_BUFFER1                   0x8826
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   483
#define GL_DRAW_BUFFER2                   0x8827
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   484
#define GL_DRAW_BUFFER3                   0x8828
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   485
#define GL_DRAW_BUFFER4                   0x8829
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   486
#define GL_DRAW_BUFFER5                   0x882A
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   487
#define GL_DRAW_BUFFER6                   0x882B
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   488
#define GL_DRAW_BUFFER7                   0x882C
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   489
#define GL_DRAW_BUFFER8                   0x882D
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   490
#define GL_DRAW_BUFFER9                   0x882E
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   491
#define GL_DRAW_BUFFER10                  0x882F
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   492
#define GL_DRAW_BUFFER11                  0x8830
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   493
#define GL_DRAW_BUFFER12                  0x8831
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   494
#define GL_DRAW_BUFFER13                  0x8832
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   495
#define GL_DRAW_BUFFER14                  0x8833
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   496
#define GL_DRAW_BUFFER15                  0x8834
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   497
#define GL_BLEND_EQUATION_ALPHA           0x883D
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   498
#define GL_MAX_VERTEX_ATTRIBS             0x8869
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   499
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   500
#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   501
#define GL_FRAGMENT_SHADER                0x8B30
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   502
#define GL_VERTEX_SHADER                  0x8B31
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   503
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   504
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   505
#define GL_MAX_VARYING_FLOATS             0x8B4B
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   506
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   507
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   508
#define GL_SHADER_TYPE                    0x8B4F
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   509
#define GL_FLOAT_VEC2                     0x8B50
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   510
#define GL_FLOAT_VEC3                     0x8B51
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   511
#define GL_FLOAT_VEC4                     0x8B52
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   512
#define GL_INT_VEC2                       0x8B53
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   513
#define GL_INT_VEC3                       0x8B54
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   514
#define GL_INT_VEC4                       0x8B55
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   515
#define GL_BOOL                           0x8B56
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   516
#define GL_BOOL_VEC2                      0x8B57
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   517
#define GL_BOOL_VEC3                      0x8B58
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   518
#define GL_BOOL_VEC4                      0x8B59
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   519
#define GL_FLOAT_MAT2                     0x8B5A
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   520
#define GL_FLOAT_MAT3                     0x8B5B
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   521
#define GL_FLOAT_MAT4                     0x8B5C
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   522
#define GL_SAMPLER_1D                     0x8B5D
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   523
#define GL_SAMPLER_2D                     0x8B5E
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   524
#define GL_SAMPLER_3D                     0x8B5F
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   525
#define GL_SAMPLER_CUBE                   0x8B60
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   526
#define GL_SAMPLER_1D_SHADOW              0x8B61
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   527
#define GL_SAMPLER_2D_SHADOW              0x8B62
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   528
#define GL_DELETE_STATUS                  0x8B80
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   529
#define GL_COMPILE_STATUS                 0x8B81
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   530
#define GL_LINK_STATUS                    0x8B82
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   531
#define GL_VALIDATE_STATUS                0x8B83
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   532
#define GL_INFO_LOG_LENGTH                0x8B84
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   533
#define GL_ATTACHED_SHADERS               0x8B85
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   534
#define GL_ACTIVE_UNIFORMS                0x8B86
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   535
#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   536
#define GL_SHADER_SOURCE_LENGTH           0x8B88
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   537
#define GL_ACTIVE_ATTRIBUTES              0x8B89
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   538
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   539
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   540
#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   541
#define GL_CURRENT_PROGRAM                0x8B8D
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   542
#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   543
#define GL_LOWER_LEFT                     0x8CA1
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   544
#define GL_UPPER_LEFT                     0x8CA2
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   545
#define GL_STENCIL_BACK_REF               0x8CA3
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   546
#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   547
#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   548
#endif
2ab21d9a20da Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 932
diff changeset
   549
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   550
#ifndef GL_VERSION_2_0_DEPRECATED
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   551
#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   552
#define GL_POINT_SPRITE                   0x8861
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   553
#define GL_COORD_REPLACE                  0x8862
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   554
#define GL_MAX_TEXTURE_COORDS             0x8871
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   555
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   556
2788
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   557
#ifndef GL_VERSION_2_1
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   558
#define GL_PIXEL_PACK_BUFFER              0x88EB
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   559
#define GL_PIXEL_UNPACK_BUFFER            0x88EC
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   560
#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   561
#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   562
#define GL_FLOAT_MAT2x3                   0x8B65
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   563
#define GL_FLOAT_MAT2x4                   0x8B66
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   564
#define GL_FLOAT_MAT3x2                   0x8B67
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   565
#define GL_FLOAT_MAT3x4                   0x8B68
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   566
#define GL_FLOAT_MAT4x2                   0x8B69
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   567
#define GL_FLOAT_MAT4x3                   0x8B6A
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   568
#define GL_SRGB                           0x8C40
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   569
#define GL_SRGB8                          0x8C41
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   570
#define GL_SRGB_ALPHA                     0x8C42
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   571
#define GL_SRGB8_ALPHA8                   0x8C43
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   572
#define GL_COMPRESSED_SRGB                0x8C48
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   573
#define GL_COMPRESSED_SRGB_ALPHA          0x8C49
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   574
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   575
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   576
#ifndef GL_VERSION_2_1_DEPRECATED
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   577
#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
2788
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   578
#define GL_SLUMINANCE_ALPHA               0x8C44
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   579
#define GL_SLUMINANCE8_ALPHA8             0x8C45
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   580
#define GL_SLUMINANCE                     0x8C46
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   581
#define GL_SLUMINANCE8                    0x8C47
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   582
#define GL_COMPRESSED_SLUMINANCE          0x8C4A
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   583
#define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   584
#endif
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   585
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   586
#ifndef GL_VERSION_3_0
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   587
#define GL_COMPARE_REF_TO_TEXTURE         0x884E
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   588
#define GL_CLIP_DISTANCE0                 0x3000
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   589
#define GL_CLIP_DISTANCE1                 0x3001
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   590
#define GL_CLIP_DISTANCE2                 0x3002
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   591
#define GL_CLIP_DISTANCE3                 0x3003
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   592
#define GL_CLIP_DISTANCE4                 0x3004
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   593
#define GL_CLIP_DISTANCE5                 0x3005
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   594
#define GL_CLIP_DISTANCE6                 0x3006
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   595
#define GL_CLIP_DISTANCE7                 0x3007
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   596
#define GL_MAX_CLIP_DISTANCES             0x0D32
2788
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   597
#define GL_MAJOR_VERSION                  0x821B
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   598
#define GL_MINOR_VERSION                  0x821C
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   599
#define GL_NUM_EXTENSIONS                 0x821D
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   600
#define GL_CONTEXT_FLAGS                  0x821E
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   601
#define GL_DEPTH_BUFFER                   0x8223
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   602
#define GL_STENCIL_BUFFER                 0x8224
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   603
#define GL_COMPRESSED_RED                 0x8225
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   604
#define GL_COMPRESSED_RG                  0x8226
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   605
#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   606
#define GL_RGBA32F                        0x8814
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   607
#define GL_RGB32F                         0x8815
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   608
#define GL_RGBA16F                        0x881A
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   609
#define GL_RGB16F                         0x881B
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   610
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   611
#define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   612
#define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   613
#define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   614
#define GL_CLAMP_READ_COLOR               0x891C
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   615
#define GL_FIXED_ONLY                     0x891D
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   616
#define GL_MAX_VARYING_COMPONENTS         0x8B4B
2788
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   617
#define GL_TEXTURE_1D_ARRAY               0x8C18
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   618
#define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   619
#define GL_TEXTURE_2D_ARRAY               0x8C1A
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   620
#define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   621
#define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   622
#define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   623
#define GL_R11F_G11F_B10F                 0x8C3A
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   624
#define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   625
#define GL_RGB9_E5                        0x8C3D
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   626
#define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   627
#define GL_TEXTURE_SHARED_SIZE            0x8C3F
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   628
#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   629
#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   630
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   631
#define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   632
#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   633
#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   634
#define GL_PRIMITIVES_GENERATED           0x8C87
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   635
#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   636
#define GL_RASTERIZER_DISCARD             0x8C89
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   637
#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   638
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   639
#define GL_INTERLEAVED_ATTRIBS            0x8C8C
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   640
#define GL_SEPARATE_ATTRIBS               0x8C8D
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   641
#define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   642
#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   643
#define GL_RGBA32UI                       0x8D70
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   644
#define GL_RGB32UI                        0x8D71
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   645
#define GL_RGBA16UI                       0x8D76
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   646
#define GL_RGB16UI                        0x8D77
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   647
#define GL_RGBA8UI                        0x8D7C
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   648
#define GL_RGB8UI                         0x8D7D
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   649
#define GL_RGBA32I                        0x8D82
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   650
#define GL_RGB32I                         0x8D83
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   651
#define GL_RGBA16I                        0x8D88
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   652
#define GL_RGB16I                         0x8D89
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   653
#define GL_RGBA8I                         0x8D8E
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   654
#define GL_RGB8I                          0x8D8F
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   655
#define GL_RED_INTEGER                    0x8D94
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   656
#define GL_GREEN_INTEGER                  0x8D95
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   657
#define GL_BLUE_INTEGER                   0x8D96
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   658
#define GL_RGB_INTEGER                    0x8D98
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   659
#define GL_RGBA_INTEGER                   0x8D99
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   660
#define GL_BGR_INTEGER                    0x8D9A
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   661
#define GL_BGRA_INTEGER                   0x8D9B
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   662
#define GL_SAMPLER_1D_ARRAY               0x8DC0
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   663
#define GL_SAMPLER_2D_ARRAY               0x8DC1
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   664
#define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   665
#define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   666
#define GL_SAMPLER_CUBE_SHADOW            0x8DC5
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   667
#define GL_UNSIGNED_INT_VEC2              0x8DC6
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   668
#define GL_UNSIGNED_INT_VEC3              0x8DC7
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   669
#define GL_UNSIGNED_INT_VEC4              0x8DC8
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   670
#define GL_INT_SAMPLER_1D                 0x8DC9
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   671
#define GL_INT_SAMPLER_2D                 0x8DCA
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   672
#define GL_INT_SAMPLER_3D                 0x8DCB
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   673
#define GL_INT_SAMPLER_CUBE               0x8DCC
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   674
#define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   675
#define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   676
#define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   677
#define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   678
#define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   679
#define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   680
#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   681
#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   682
#define GL_QUERY_WAIT                     0x8E13
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   683
#define GL_QUERY_NO_WAIT                  0x8E14
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   684
#define GL_QUERY_BY_REGION_WAIT           0x8E15
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   685
#define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   686
#define GL_BUFFER_ACCESS_FLAGS            0x911F
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   687
#define GL_BUFFER_MAP_LENGTH              0x9120
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   688
#define GL_BUFFER_MAP_OFFSET              0x9121
2788
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   689
/* Reuse tokens from ARB_depth_buffer_float */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   690
/* reuse GL_DEPTH_COMPONENT32F */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   691
/* reuse GL_DEPTH32F_STENCIL8 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   692
/* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   693
/* Reuse tokens from ARB_framebuffer_object */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   694
/* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   695
/* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   696
/* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   697
/* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   698
/* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   699
/* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   700
/* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   701
/* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   702
/* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   703
/* reuse GL_FRAMEBUFFER_DEFAULT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   704
/* reuse GL_FRAMEBUFFER_UNDEFINED */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   705
/* reuse GL_DEPTH_STENCIL_ATTACHMENT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   706
/* reuse GL_INDEX */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   707
/* reuse GL_MAX_RENDERBUFFER_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   708
/* reuse GL_DEPTH_STENCIL */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   709
/* reuse GL_UNSIGNED_INT_24_8 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   710
/* reuse GL_DEPTH24_STENCIL8 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   711
/* reuse GL_TEXTURE_STENCIL_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   712
/* reuse GL_TEXTURE_RED_TYPE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   713
/* reuse GL_TEXTURE_GREEN_TYPE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   714
/* reuse GL_TEXTURE_BLUE_TYPE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   715
/* reuse GL_TEXTURE_ALPHA_TYPE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   716
/* reuse GL_TEXTURE_DEPTH_TYPE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   717
/* reuse GL_UNSIGNED_NORMALIZED */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   718
/* reuse GL_FRAMEBUFFER_BINDING */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   719
/* reuse GL_DRAW_FRAMEBUFFER_BINDING */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   720
/* reuse GL_RENDERBUFFER_BINDING */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   721
/* reuse GL_READ_FRAMEBUFFER */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   722
/* reuse GL_DRAW_FRAMEBUFFER */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   723
/* reuse GL_READ_FRAMEBUFFER_BINDING */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   724
/* reuse GL_RENDERBUFFER_SAMPLES */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   725
/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   726
/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   727
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   728
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   729
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   730
/* reuse GL_FRAMEBUFFER_COMPLETE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   731
/* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   732
/* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   733
/* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   734
/* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   735
/* reuse GL_FRAMEBUFFER_UNSUPPORTED */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   736
/* reuse GL_MAX_COLOR_ATTACHMENTS */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   737
/* reuse GL_COLOR_ATTACHMENT0 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   738
/* reuse GL_COLOR_ATTACHMENT1 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   739
/* reuse GL_COLOR_ATTACHMENT2 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   740
/* reuse GL_COLOR_ATTACHMENT3 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   741
/* reuse GL_COLOR_ATTACHMENT4 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   742
/* reuse GL_COLOR_ATTACHMENT5 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   743
/* reuse GL_COLOR_ATTACHMENT6 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   744
/* reuse GL_COLOR_ATTACHMENT7 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   745
/* reuse GL_COLOR_ATTACHMENT8 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   746
/* reuse GL_COLOR_ATTACHMENT9 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   747
/* reuse GL_COLOR_ATTACHMENT10 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   748
/* reuse GL_COLOR_ATTACHMENT11 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   749
/* reuse GL_COLOR_ATTACHMENT12 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   750
/* reuse GL_COLOR_ATTACHMENT13 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   751
/* reuse GL_COLOR_ATTACHMENT14 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   752
/* reuse GL_COLOR_ATTACHMENT15 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   753
/* reuse GL_DEPTH_ATTACHMENT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   754
/* reuse GL_STENCIL_ATTACHMENT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   755
/* reuse GL_FRAMEBUFFER */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   756
/* reuse GL_RENDERBUFFER */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   757
/* reuse GL_RENDERBUFFER_WIDTH */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   758
/* reuse GL_RENDERBUFFER_HEIGHT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   759
/* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   760
/* reuse GL_STENCIL_INDEX1 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   761
/* reuse GL_STENCIL_INDEX4 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   762
/* reuse GL_STENCIL_INDEX8 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   763
/* reuse GL_STENCIL_INDEX16 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   764
/* reuse GL_RENDERBUFFER_RED_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   765
/* reuse GL_RENDERBUFFER_GREEN_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   766
/* reuse GL_RENDERBUFFER_BLUE_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   767
/* reuse GL_RENDERBUFFER_ALPHA_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   768
/* reuse GL_RENDERBUFFER_DEPTH_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   769
/* reuse GL_RENDERBUFFER_STENCIL_SIZE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   770
/* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   771
/* reuse GL_MAX_SAMPLES */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   772
/* Reuse tokens from ARB_framebuffer_sRGB */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   773
/* reuse GL_FRAMEBUFFER_SRGB */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   774
/* Reuse tokens from ARB_half_float_vertex */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   775
/* reuse GL_HALF_FLOAT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   776
/* Reuse tokens from ARB_map_buffer_range */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   777
/* reuse GL_MAP_READ_BIT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   778
/* reuse GL_MAP_WRITE_BIT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   779
/* reuse GL_MAP_INVALIDATE_RANGE_BIT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   780
/* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   781
/* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   782
/* reuse GL_MAP_UNSYNCHRONIZED_BIT */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   783
/* Reuse tokens from ARB_texture_compression_rgtc */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   784
/* reuse GL_COMPRESSED_RED_RGTC1 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   785
/* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   786
/* reuse GL_COMPRESSED_RG_RGTC2 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   787
/* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   788
/* Reuse tokens from ARB_texture_rg */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   789
/* reuse GL_RG */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   790
/* reuse GL_RG_INTEGER */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   791
/* reuse GL_R8 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   792
/* reuse GL_R16 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   793
/* reuse GL_RG8 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   794
/* reuse GL_RG16 */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   795
/* reuse GL_R16F */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   796
/* reuse GL_R32F */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   797
/* reuse GL_RG16F */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   798
/* reuse GL_RG32F */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   799
/* reuse GL_R8I */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   800
/* reuse GL_R8UI */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   801
/* reuse GL_R16I */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   802
/* reuse GL_R16UI */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   803
/* reuse GL_R32I */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   804
/* reuse GL_R32UI */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   805
/* reuse GL_RG8I */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   806
/* reuse GL_RG8UI */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   807
/* reuse GL_RG16I */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   808
/* reuse GL_RG16UI */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   809
/* reuse GL_RG32I */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   810
/* reuse GL_RG32UI */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   811
/* Reuse tokens from ARB_vertex_array_object */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   812
/* reuse GL_VERTEX_ARRAY_BINDING */
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   813
#endif
44be910366a9 Updated with latest glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 1978
diff changeset
   814
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   815
#ifndef GL_VERSION_3_0_DEPRECATED
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   816
#define GL_CLAMP_VERTEX_COLOR             0x891A
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   817
#define GL_CLAMP_FRAGMENT_COLOR           0x891B
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   818
#define GL_ALPHA_INTEGER                  0x8D97
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   819
/* Reuse tokens from ARB_framebuffer_object */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   820
/* reuse GL_TEXTURE_LUMINANCE_TYPE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   821
/* reuse GL_TEXTURE_INTENSITY_TYPE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   822
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   823
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   824
#ifndef GL_VERSION_3_1
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   825
#define GL_SAMPLER_2D_RECT                0x8B63
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   826
#define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   827
#define GL_SAMPLER_BUFFER                 0x8DC2
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   828
#define GL_INT_SAMPLER_2D_RECT            0x8DCD
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   829
#define GL_INT_SAMPLER_BUFFER             0x8DD0
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   830
#define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   831
#define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   832
#define GL_TEXTURE_BUFFER                 0x8C2A
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   833
#define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   834
#define GL_TEXTURE_BINDING_BUFFER         0x8C2C
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   835
#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   836
#define GL_TEXTURE_BUFFER_FORMAT          0x8C2E
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   837
#define GL_TEXTURE_RECTANGLE              0x84F5
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   838
#define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   839
#define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   840
#define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   841
#define GL_RED_SNORM                      0x8F90
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   842
#define GL_RG_SNORM                       0x8F91
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   843
#define GL_RGB_SNORM                      0x8F92
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   844
#define GL_RGBA_SNORM                     0x8F93
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   845
#define GL_R8_SNORM                       0x8F94
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   846
#define GL_RG8_SNORM                      0x8F95
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   847
#define GL_RGB8_SNORM                     0x8F96
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   848
#define GL_RGBA8_SNORM                    0x8F97
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   849
#define GL_R16_SNORM                      0x8F98
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   850
#define GL_RG16_SNORM                     0x8F99
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   851
#define GL_RGB16_SNORM                    0x8F9A
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   852
#define GL_RGBA16_SNORM                   0x8F9B
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   853
#define GL_SIGNED_NORMALIZED              0x8F9C
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   854
#define GL_PRIMITIVE_RESTART              0x8F9D
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   855
#define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   856
/* Reuse tokens from ARB_copy_buffer */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   857
/* reuse GL_COPY_READ_BUFFER */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   858
/* reuse GL_COPY_WRITE_BUFFER */
4634
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   859
/* Reuse tokens from ARB_draw_instanced (none) */
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   860
/* Reuse tokens from ARB_uniform_buffer_object */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   861
/* reuse GL_UNIFORM_BUFFER */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   862
/* reuse GL_UNIFORM_BUFFER_BINDING */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   863
/* reuse GL_UNIFORM_BUFFER_START */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   864
/* reuse GL_UNIFORM_BUFFER_SIZE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   865
/* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   866
/* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   867
/* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   868
/* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   869
/* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   870
/* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   871
/* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   872
/* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   873
/* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   874
/* reuse GL_ACTIVE_UNIFORM_BLOCKS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   875
/* reuse GL_UNIFORM_TYPE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   876
/* reuse GL_UNIFORM_SIZE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   877
/* reuse GL_UNIFORM_NAME_LENGTH */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   878
/* reuse GL_UNIFORM_BLOCK_INDEX */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   879
/* reuse GL_UNIFORM_OFFSET */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   880
/* reuse GL_UNIFORM_ARRAY_STRIDE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   881
/* reuse GL_UNIFORM_MATRIX_STRIDE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   882
/* reuse GL_UNIFORM_IS_ROW_MAJOR */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   883
/* reuse GL_UNIFORM_BLOCK_BINDING */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   884
/* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   885
/* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   886
/* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   887
/* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   888
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   889
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   890
/* reuse GL_INVALID_INDEX */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   891
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   892
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   893
#ifndef GL_VERSION_3_2
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   894
#define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   895
#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   896
#define GL_LINES_ADJACENCY                0x000A
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   897
#define GL_LINE_STRIP_ADJACENCY           0x000B
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   898
#define GL_TRIANGLES_ADJACENCY            0x000C
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   899
#define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   900
#define GL_PROGRAM_POINT_SIZE             0x8642
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   901
#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   902
#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   903
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   904
#define GL_GEOMETRY_SHADER                0x8DD9
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   905
#define GL_GEOMETRY_VERTICES_OUT          0x8916
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   906
#define GL_GEOMETRY_INPUT_TYPE            0x8917
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   907
#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   908
#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   909
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   910
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   911
#define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   912
#define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   913
#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   914
#define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   915
#define GL_CONTEXT_PROFILE_MASK           0x9126
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   916
/* reuse GL_MAX_VARYING_COMPONENTS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   917
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   918
/* Reuse tokens from ARB_depth_clamp */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   919
/* reuse GL_DEPTH_CLAMP */
4634
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   920
/* Reuse tokens from ARB_draw_elements_base_vertex (none) */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   921
/* Reuse tokens from ARB_fragment_coord_conventions (none) */
3240
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   922
/* Reuse tokens from ARB_provoking_vertex */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   923
/* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   924
/* reuse GL_FIRST_VERTEX_CONVENTION */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   925
/* reuse GL_LAST_VERTEX_CONVENTION */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   926
/* reuse GL_PROVOKING_VERTEX */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   927
/* Reuse tokens from ARB_seamless_cube_map */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   928
/* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   929
/* Reuse tokens from ARB_sync */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   930
/* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   931
/* reuse GL_OBJECT_TYPE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   932
/* reuse GL_SYNC_CONDITION */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   933
/* reuse GL_SYNC_STATUS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   934
/* reuse GL_SYNC_FLAGS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   935
/* reuse GL_SYNC_FENCE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   936
/* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   937
/* reuse GL_UNSIGNALED */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   938
/* reuse GL_SIGNALED */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   939
/* reuse GL_ALREADY_SIGNALED */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   940
/* reuse GL_TIMEOUT_EXPIRED */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   941
/* reuse GL_CONDITION_SATISFIED */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   942
/* reuse GL_WAIT_FAILED */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   943
/* reuse GL_TIMEOUT_IGNORED */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   944
/* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   945
/* reuse GL_TIMEOUT_IGNORED */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   946
/* Reuse tokens from ARB_texture_multisample */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   947
/* reuse GL_SAMPLE_POSITION */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   948
/* reuse GL_SAMPLE_MASK */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   949
/* reuse GL_SAMPLE_MASK_VALUE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   950
/* reuse GL_MAX_SAMPLE_MASK_WORDS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   951
/* reuse GL_TEXTURE_2D_MULTISAMPLE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   952
/* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   953
/* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   954
/* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   955
/* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   956
/* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   957
/* reuse GL_TEXTURE_SAMPLES */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   958
/* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   959
/* reuse GL_SAMPLER_2D_MULTISAMPLE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   960
/* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   961
/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   962
/* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   963
/* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   964
/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   965
/* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   966
/* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   967
/* reuse GL_MAX_INTEGER_SAMPLES */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   968
/* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   969
#endif
6c4736b446e8 Updated glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
   970
4634
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   971
#ifndef GL_VERSION_3_3
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   972
#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   973
/* Reuse tokens from ARB_blend_func_extended */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   974
/* reuse GL_SRC1_COLOR */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   975
/* reuse GL_ONE_MINUS_SRC1_COLOR */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   976
/* reuse GL_ONE_MINUS_SRC1_ALPHA */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   977
/* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   978
/* Reuse tokens from ARB_explicit_attrib_location (none) */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   979
/* Reuse tokens from ARB_occlusion_query2 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   980
/* reuse GL_ANY_SAMPLES_PASSED */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   981
/* Reuse tokens from ARB_sampler_objects */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   982
/* reuse GL_SAMPLER_BINDING */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   983
/* Reuse tokens from ARB_shader_bit_encoding (none) */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   984
/* Reuse tokens from ARB_texture_rgb10_a2ui */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   985
/* reuse GL_RGB10_A2UI */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   986
/* Reuse tokens from ARB_texture_swizzle */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   987
/* reuse GL_TEXTURE_SWIZZLE_R */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   988
/* reuse GL_TEXTURE_SWIZZLE_G */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   989
/* reuse GL_TEXTURE_SWIZZLE_B */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   990
/* reuse GL_TEXTURE_SWIZZLE_A */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   991
/* reuse GL_TEXTURE_SWIZZLE_RGBA */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   992
/* Reuse tokens from ARB_timer_query */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   993
/* reuse GL_TIME_ELAPSED */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   994
/* reuse GL_TIMESTAMP */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   995
/* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   996
/* reuse GL_INT_2_10_10_10_REV */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   997
#endif
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   998
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
   999
#ifndef GL_VERSION_4_0
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1000
#define GL_SAMPLE_SHADING                 0x8C36
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1001
#define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1002
#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1003
#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1004
#define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1005
#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1006
#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1007
#define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1008
#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1009
#define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1010
#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1011
/* Reuse tokens from ARB_texture_query_lod (none) */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1012
/* Reuse tokens from ARB_draw_buffers_blend (none) */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1013
/* Reuse tokens from ARB_draw_indirect */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1014
/* reuse GL_DRAW_INDIRECT_BUFFER */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1015
/* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1016
/* Reuse tokens from ARB_gpu_shader5 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1017
/* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1018
/* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1019
/* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1020
/* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1021
/* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1022
/* reuse GL_MAX_VERTEX_STREAMS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1023
/* Reuse tokens from ARB_gpu_shader_fp64 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1024
/* reuse GL_DOUBLE_VEC2 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1025
/* reuse GL_DOUBLE_VEC3 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1026
/* reuse GL_DOUBLE_VEC4 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1027
/* reuse GL_DOUBLE_MAT2 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1028
/* reuse GL_DOUBLE_MAT3 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1029
/* reuse GL_DOUBLE_MAT4 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1030
/* reuse GL_DOUBLE_MAT2x3 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1031
/* reuse GL_DOUBLE_MAT2x4 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1032
/* reuse GL_DOUBLE_MAT3x2 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1033
/* reuse GL_DOUBLE_MAT3x4 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1034
/* reuse GL_DOUBLE_MAT4x2 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1035
/* reuse GL_DOUBLE_MAT4x3 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1036
/* Reuse tokens from ARB_shader_subroutine */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1037
/* reuse GL_ACTIVE_SUBROUTINES */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1038
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1039
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1040
/* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1041
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1042
/* reuse GL_MAX_SUBROUTINES */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1043
/* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1044
/* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1045
/* reuse GL_COMPATIBLE_SUBROUTINES */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1046
/* Reuse tokens from ARB_tessellation_shader */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1047
/* reuse GL_PATCHES */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1048
/* reuse GL_PATCH_VERTICES */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1049
/* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1050
/* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1051
/* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1052
/* reuse GL_TESS_GEN_MODE */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1053
/* reuse GL_TESS_GEN_SPACING */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1054
/* reuse GL_TESS_GEN_VERTEX_ORDER */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1055
/* reuse GL_TESS_GEN_POINT_MODE */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1056
/* reuse GL_ISOLINES */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1057
/* reuse GL_FRACTIONAL_ODD */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1058
/* reuse GL_FRACTIONAL_EVEN */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1059
/* reuse GL_MAX_PATCH_VERTICES */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1060
/* reuse GL_MAX_TESS_GEN_LEVEL */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1061
/* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1062
/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1063
/* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1064
/* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1065
/* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1066
/* reuse GL_MAX_TESS_PATCH_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1067
/* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1068
/* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1069
/* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1070
/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1071
/* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1072
/* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1073
/* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1074
/* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1075
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1076
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1077
/* reuse GL_TESS_EVALUATION_SHADER */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1078
/* reuse GL_TESS_CONTROL_SHADER */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1079
/* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1080
/* Reuse tokens from ARB_transform_feedback2 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1081
/* reuse GL_TRANSFORM_FEEDBACK */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1082
/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1083
/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1084
/* reuse GL_TRANSFORM_FEEDBACK_BINDING */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1085
/* Reuse tokens from ARB_transform_feedback3 */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1086
/* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1087
/* reuse GL_MAX_VERTEX_STREAMS */
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1088
#endif
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1089
242c805baf68 Updated with the latest version of glext.h
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
  1090
#ifndef GL_VERSION_4_1