annotate include/SDL_opengl.h @ 615:7ec821f3cbd0

Date: Thu, 17 Apr 2003 23:27:34 -0400 From: Darrell Walisser Subject: Yet another OS X cursor bug The synopsis: 1. Call SDL_ShowCursor(0); 2. Call SDL_SetVideoMode(); 3. Call SDL_GetEvent(); 3. Call SDL_ShowCursor(1); The result: Sometimes the cursor doesn't come back! Ack! Oddly enough, it does come back when mousing over the dock or clicking in the menu bar. But that's besides the point. The reason why this is happening is a flaw in the handling of activation/deactivation events. The short explanation is that the HideCursor() and ShowCursor() calls must be balanced, but if the cursor was initially hidden, HideCursor() was called again on the activate event - so now the next ShowCursor() fails (as does the next, and the next, for some reason). So, here's the patch. All it does is keep track of the HideCursor()/ShowCursor() calls so that they will always be balanced.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 20 Apr 2003 05:41:16 +0000
parents e5f3ff1580f3
children 9ee05fe728df
rev   line source
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 /*
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2 SDL - Simple DirectMedia Layer
297
f6ffac90895c Updated copyright information for 2002
Sam Lantinga <slouken@libsdl.org>
parents: 251
diff changeset
3 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Sam Lantinga
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 This library is free software; you can redistribute it and/or
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 modify it under the terms of the GNU Library General Public
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 License as published by the Free Software Foundation; either
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 version 2 of the License, or (at your option) any later version.
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10 This library is distributed in the hope that it will be useful,
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
13 Library General Public License for more details.
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 You should have received a copy of the GNU Library General Public
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 License along with this library; if not, write to the Free
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 Sam Lantinga
251
b8688cfdc232 Updated the headers with the correct e-mail address
Sam Lantinga <slouken@libsdl.org>
parents: 242
diff changeset
20 slouken@libsdl.org
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23 #ifdef SAVE_RCSID
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 static char rcsid =
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25 "@(#) $Id$";
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
26 #endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
28 /* This is a simple file to encapsulate the OpenGL API headers */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
29
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
30 #ifdef WIN32
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
31 #define WIN32_LEAN_AND_MEAN
600
e5f3ff1580f3 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 312
diff changeset
32 #define NOMINMAX /* Don't defined min() and max() */
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
33 #include <windows.h>
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
34 #endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
35 #if defined(__APPLE__) && defined(__MACH__)
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
36 #include <OpenGL/gl.h> /* Header File For The OpenGL Library */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
37 #include <OpenGL/glu.h> /* Header File For The GLU Library */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
38 #else
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
39 #ifndef NO_SDL_GLEXT
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
40 #define __glext_h_ /* Don't let gl.h include glext.h */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
41 #endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
42 #include <GL/gl.h> /* Header File For The OpenGL Library */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
43 #include <GL/glu.h> /* Header File For The GLU Library */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
44 #ifndef NO_SDL_GLEXT
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
45 #undef __glext_h_
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
46 #endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
47 #endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
48
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
49 /* This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials.
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
50 It is included here because glext.h is not available on some systems.
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
51 If you don't want this version included, simply define "NO_SDL_GLEXT"
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
52 */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
53 #ifndef NO_SDL_GLEXT
242
4bcb29d3769c Added support for Xi Graphics XME fullscreen extension
Sam Lantinga <slouken@libsdl.org>
parents: 214
diff changeset
54 #if !defined(__glext_h_) && !defined(GL_GLEXT_LEGACY)
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
55 #define __glext_h_
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
56
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
57 #ifdef __cplusplus
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
58 extern "C" {
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
59 #endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
60
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
61 /*
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
62 ** License Applicability. Except to the extent portions of this file are
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
63 ** made subject to an alternative license as permitted in the SGI Free
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
64 ** Software License B, Version 1.1 (the "License"), the contents of this
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
65 ** file are subject only to the provisions of the License. You may not use
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
66 ** this file except in compliance with the License. You may obtain a copy
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
67 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
68 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
69 **
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
70 ** http://oss.sgi.com/projects/FreeB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
71 **
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
72 ** Note that, as provided in the License, the Software is distributed on an
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
73 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
74 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
75 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
76 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
77 **
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
78 ** Original Code. The Original Code is: OpenGL Sample Implementation,
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
79 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
80 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
81 ** Copyright in any portions created by third parties is as indicated
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
82 ** elsewhere herein. All Rights Reserved.
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
83 **
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
84 ** Additional Notice Provisions: This software was created using the
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
85 ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
86 ** not been independently verified as being compliant with the OpenGL(R)
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
87 ** version 1.2.1 Specification.
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
88 */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
89
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
90 #ifndef APIENTRY
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
91 #define APIENTRY
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
92 #endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
93
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
94 /*************************************************************/
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
95
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
96 /* Header file version number, required by OpenGL ABI for Linux */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
97 #define GL_GLEXT_VERSION 6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
98
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
99 #ifndef GL_VERSION_1_2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
100 #define GL_CONSTANT_COLOR 0x8001
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
101 #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
102 #define GL_CONSTANT_ALPHA 0x8003
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
103 #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
104 #define GL_BLEND_COLOR 0x8005
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
105 #define GL_FUNC_ADD 0x8006
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
106 #define GL_MIN 0x8007
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
107 #define GL_MAX 0x8008
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
108 #define GL_BLEND_EQUATION 0x8009
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
109 #define GL_FUNC_SUBTRACT 0x800A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
110 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
111 #define GL_CONVOLUTION_1D 0x8010
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
112 #define GL_CONVOLUTION_2D 0x8011
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
113 #define GL_SEPARABLE_2D 0x8012
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
114 #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
115 #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
116 #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
117 #define GL_REDUCE 0x8016
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
118 #define GL_CONVOLUTION_FORMAT 0x8017
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
119 #define GL_CONVOLUTION_WIDTH 0x8018
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
120 #define GL_CONVOLUTION_HEIGHT 0x8019
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
121 #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
122 #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
123 #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
124 #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
125 #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
126 #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
127 #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
128 #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
129 #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
130 #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
131 #define GL_HISTOGRAM 0x8024
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
132 #define GL_PROXY_HISTOGRAM 0x8025
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
133 #define GL_HISTOGRAM_WIDTH 0x8026
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
134 #define GL_HISTOGRAM_FORMAT 0x8027
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
135 #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
136 #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
137 #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
138 #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
139 #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
140 #define GL_HISTOGRAM_SINK 0x802D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
141 #define GL_MINMAX 0x802E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
142 #define GL_MINMAX_FORMAT 0x802F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
143 #define GL_MINMAX_SINK 0x8030
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
144 #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
145 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
146 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
147 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
148 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
149 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
150 #define GL_RESCALE_NORMAL 0x803A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
151 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
152 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
153 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
154 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
155 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
156 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
157 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
158 #define GL_COLOR_MATRIX 0x80B1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
159 #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
160 #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
161 #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
162 #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
163 #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
164 #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
165 #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
166 #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
167 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
168 #define GL_COLOR_TABLE 0x80D0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
169 #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
170 #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
171 #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
172 #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
173 #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
174 #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
175 #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
176 #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
177 #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
178 #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
179 #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
180 #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
181 #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
182 #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
183 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
184 #define GL_CLAMP_TO_EDGE 0x812F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
185 #define GL_TEXTURE_MIN_LOD 0x813A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
186 #define GL_TEXTURE_MAX_LOD 0x813B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
187 #define GL_TEXTURE_BASE_LEVEL 0x813C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
188 #define GL_TEXTURE_MAX_LEVEL 0x813D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
189 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
190
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
191 #ifndef GL_ARB_multitexture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
192 #define GL_TEXTURE0_ARB 0x84C0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
193 #define GL_TEXTURE1_ARB 0x84C1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
194 #define GL_TEXTURE2_ARB 0x84C2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
195 #define GL_TEXTURE3_ARB 0x84C3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
196 #define GL_TEXTURE4_ARB 0x84C4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
197 #define GL_TEXTURE5_ARB 0x84C5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
198 #define GL_TEXTURE6_ARB 0x84C6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
199 #define GL_TEXTURE7_ARB 0x84C7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
200 #define GL_TEXTURE8_ARB 0x84C8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
201 #define GL_TEXTURE9_ARB 0x84C9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
202 #define GL_TEXTURE10_ARB 0x84CA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
203 #define GL_TEXTURE11_ARB 0x84CB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
204 #define GL_TEXTURE12_ARB 0x84CC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
205 #define GL_TEXTURE13_ARB 0x84CD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
206 #define GL_TEXTURE14_ARB 0x84CE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
207 #define GL_TEXTURE15_ARB 0x84CF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
208 #define GL_TEXTURE16_ARB 0x84D0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
209 #define GL_TEXTURE17_ARB 0x84D1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
210 #define GL_TEXTURE18_ARB 0x84D2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
211 #define GL_TEXTURE19_ARB 0x84D3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
212 #define GL_TEXTURE20_ARB 0x84D4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
213 #define GL_TEXTURE21_ARB 0x84D5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
214 #define GL_TEXTURE22_ARB 0x84D6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
215 #define GL_TEXTURE23_ARB 0x84D7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
216 #define GL_TEXTURE24_ARB 0x84D8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
217 #define GL_TEXTURE25_ARB 0x84D9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
218 #define GL_TEXTURE26_ARB 0x84DA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
219 #define GL_TEXTURE27_ARB 0x84DB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
220 #define GL_TEXTURE28_ARB 0x84DC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
221 #define GL_TEXTURE29_ARB 0x84DD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
222 #define GL_TEXTURE30_ARB 0x84DE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
223 #define GL_TEXTURE31_ARB 0x84DF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
224 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
225 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
226 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
227 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
228
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
229 #ifndef GL_ARB_transpose_matrix
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
230 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
231 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
232 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
233 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
234 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
235
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
236 #ifndef GL_ARB_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
237 #define GL_MULTISAMPLE_ARB 0x809D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
238 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
239 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
240 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
241 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
242 #define GL_SAMPLES_ARB 0x80A9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
243 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
244 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
245 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
246 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
247
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
248 #ifndef GL_ARB_texture_cube_map
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
249 #define GL_NORMAL_MAP_ARB 0x8511
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
250 #define GL_REFLECTION_MAP_ARB 0x8512
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
251 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
252 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
253 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
254 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
255 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
256 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
257 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
258 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
259 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
260 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
261 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
262
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
263 #ifndef GL_ARB_texture_compression
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
264 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
265 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
266 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
267 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
268 #define GL_COMPRESSED_RGB_ARB 0x84ED
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
269 #define GL_COMPRESSED_RGBA_ARB 0x84EE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
270 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
271 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
272 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
273 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
274 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
275 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
276
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
277 #ifndef GL_EXT_abgr
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
278 #define GL_ABGR_EXT 0x8000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
279 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
280
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
281 #ifndef GL_EXT_blend_color
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
282 #define GL_CONSTANT_COLOR_EXT 0x8001
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
283 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
284 #define GL_CONSTANT_ALPHA_EXT 0x8003
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
285 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
286 #define GL_BLEND_COLOR_EXT 0x8005
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
287 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
288
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
289 #ifndef GL_EXT_polygon_offset
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
290 #define GL_POLYGON_OFFSET_EXT 0x8037
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
291 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
292 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
293 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
294
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
295 #ifndef GL_EXT_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
296 #define GL_ALPHA4_EXT 0x803B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
297 #define GL_ALPHA8_EXT 0x803C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
298 #define GL_ALPHA12_EXT 0x803D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
299 #define GL_ALPHA16_EXT 0x803E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
300 #define GL_LUMINANCE4_EXT 0x803F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
301 #define GL_LUMINANCE8_EXT 0x8040
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
302 #define GL_LUMINANCE12_EXT 0x8041
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
303 #define GL_LUMINANCE16_EXT 0x8042
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
304 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
305 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
306 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
307 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
308 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
309 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
310 #define GL_INTENSITY_EXT 0x8049
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
311 #define GL_INTENSITY4_EXT 0x804A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
312 #define GL_INTENSITY8_EXT 0x804B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
313 #define GL_INTENSITY12_EXT 0x804C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
314 #define GL_INTENSITY16_EXT 0x804D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
315 #define GL_RGB2_EXT 0x804E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
316 #define GL_RGB4_EXT 0x804F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
317 #define GL_RGB5_EXT 0x8050
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
318 #define GL_RGB8_EXT 0x8051
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
319 #define GL_RGB10_EXT 0x8052
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
320 #define GL_RGB12_EXT 0x8053
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
321 #define GL_RGB16_EXT 0x8054
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
322 #define GL_RGBA2_EXT 0x8055
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
323 #define GL_RGBA4_EXT 0x8056
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
324 #define GL_RGB5_A1_EXT 0x8057
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
325 #define GL_RGBA8_EXT 0x8058
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
326 #define GL_RGB10_A2_EXT 0x8059
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
327 #define GL_RGBA12_EXT 0x805A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
328 #define GL_RGBA16_EXT 0x805B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
329 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
330 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
331 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
332 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
333 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
334 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
335 #define GL_REPLACE_EXT 0x8062
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
336 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
337 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
338 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
339 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
340
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
341 #ifndef GL_EXT_texture3D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
342 #define GL_PACK_SKIP_IMAGES 0x806B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
343 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
344 #define GL_PACK_IMAGE_HEIGHT 0x806C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
345 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
346 #define GL_UNPACK_SKIP_IMAGES 0x806D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
347 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
348 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
349 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
350 #define GL_TEXTURE_3D 0x806F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
351 #define GL_TEXTURE_3D_EXT 0x806F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
352 #define GL_PROXY_TEXTURE_3D 0x8070
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
353 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
354 #define GL_TEXTURE_DEPTH 0x8071
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
355 #define GL_TEXTURE_DEPTH_EXT 0x8071
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
356 #define GL_TEXTURE_WRAP_R 0x8072
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
357 #define GL_TEXTURE_WRAP_R_EXT 0x8072
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
358 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
359 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
360 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
361
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
362 #ifndef GL_SGIS_texture_filter4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
363 #define GL_FILTER4_SGIS 0x8146
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
364 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
365 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
366
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
367 #ifndef GL_EXT_subtexture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
368 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
369
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
370 #ifndef GL_EXT_copy_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
371 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
372
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
373 #ifndef GL_EXT_histogram
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
374 #define GL_HISTOGRAM_EXT 0x8024
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
375 #define GL_PROXY_HISTOGRAM_EXT 0x8025
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
376 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
377 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
378 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
379 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
380 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
381 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
382 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
383 #define GL_HISTOGRAM_SINK_EXT 0x802D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
384 #define GL_MINMAX_EXT 0x802E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
385 #define GL_MINMAX_FORMAT_EXT 0x802F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
386 #define GL_MINMAX_SINK_EXT 0x8030
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
387 #define GL_TABLE_TOO_LARGE_EXT 0x8031
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
388 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
389
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
390 #ifndef GL_EXT_convolution
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
391 #define GL_CONVOLUTION_1D_EXT 0x8010
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
392 #define GL_CONVOLUTION_2D_EXT 0x8011
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
393 #define GL_SEPARABLE_2D_EXT 0x8012
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
394 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
395 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
396 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
397 #define GL_REDUCE_EXT 0x8016
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
398 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
399 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
400 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
401 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
402 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
403 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
404 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
405 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
406 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
407 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
408 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
409 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
410 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
411 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
412
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
413 #ifndef GL_SGI_color_matrix
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
414 #define GL_COLOR_MATRIX_SGI 0x80B1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
415 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
416 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
417 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
418 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
419 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
420 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
421 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
422 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
423 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
424 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
425 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
426
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
427 #ifndef GL_SGI_color_table
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
428 #define GL_COLOR_TABLE_SGI 0x80D0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
429 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
430 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
431 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
432 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
433 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
434 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
435 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
436 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
437 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
438 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
439 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
440 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
441 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
442 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
443 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
444 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
445
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
446 #ifndef GL_SGIS_pixel_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
447 #define GL_PIXEL_TEXTURE_SGIS 0x8353
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
448 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
449 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
450 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
451 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
452
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
453 #ifndef GL_SGIX_pixel_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
454 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
455 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
456 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
457
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
458 #ifndef GL_SGIS_texture4D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
459 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
460 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
461 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
462 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
463 #define GL_TEXTURE_4D_SGIS 0x8134
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
464 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
465 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
466 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
467 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
468 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
469 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
470
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
471 #ifndef GL_SGI_texture_color_table
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
472 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
473 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
474 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
475
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
476 #ifndef GL_EXT_cmyka
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
477 #define GL_CMYK_EXT 0x800C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
478 #define GL_CMYKA_EXT 0x800D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
479 #define GL_PACK_CMYK_HINT_EXT 0x800E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
480 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
481 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
482
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
483 #ifndef GL_EXT_texture_object
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
484 #define GL_TEXTURE_PRIORITY_EXT 0x8066
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
485 #define GL_TEXTURE_RESIDENT_EXT 0x8067
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
486 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
487 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
488 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
489 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
490
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
491 #ifndef GL_SGIS_detail_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
492 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
493 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
494 #define GL_LINEAR_DETAIL_SGIS 0x8097
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
495 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
496 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
497 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
498 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
499 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
500 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
501
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
502 #ifndef GL_SGIS_sharpen_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
503 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
504 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
505 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
506 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
507 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
508
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
509 #ifndef GL_EXT_packed_pixels
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
510 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
511 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
512 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
513 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
514 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
515 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
516
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
517 #ifndef GL_SGIS_texture_lod
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
518 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
519 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
520 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
521 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
522 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
523
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
524 #ifndef GL_SGIS_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
525 #define GL_MULTISAMPLE_SGIS 0x809D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
526 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
527 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
528 #define GL_SAMPLE_MASK_SGIS 0x80A0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
529 #define GL_1PASS_SGIS 0x80A1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
530 #define GL_2PASS_0_SGIS 0x80A2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
531 #define GL_2PASS_1_SGIS 0x80A3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
532 #define GL_4PASS_0_SGIS 0x80A4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
533 #define GL_4PASS_1_SGIS 0x80A5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
534 #define GL_4PASS_2_SGIS 0x80A6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
535 #define GL_4PASS_3_SGIS 0x80A7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
536 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
537 #define GL_SAMPLES_SGIS 0x80A9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
538 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
539 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
540 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
541 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
542
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
543 #ifndef GL_EXT_rescale_normal
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
544 #define GL_RESCALE_NORMAL_EXT 0x803A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
545 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
546
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
547 #ifndef GL_EXT_vertex_array
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
548 #define GL_VERTEX_ARRAY_EXT 0x8074
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
549 #define GL_NORMAL_ARRAY_EXT 0x8075
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
550 #define GL_COLOR_ARRAY_EXT 0x8076
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
551 #define GL_INDEX_ARRAY_EXT 0x8077
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
552 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
553 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
554 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
555 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
556 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
557 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
558 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
559 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
560 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
561 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
562 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
563 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
564 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
565 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
566 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
567 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
568 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
569 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
570 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
571 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
572 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
573 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
574 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
575 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
576 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
577 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
578 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
579 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
580 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
581
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
582 #ifndef GL_EXT_misc_attribute
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
583 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
584
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
585 #ifndef GL_SGIS_generate_mipmap
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
586 #define GL_GENERATE_MIPMAP_SGIS 0x8191
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
587 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
588 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
589
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
590 #ifndef GL_SGIX_clipmap
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
591 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
592 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
593 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
594 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
595 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
596 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
597 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
598 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
599 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
600 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
601 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
602 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
603 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
604
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
605 #ifndef GL_SGIX_shadow
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
606 #define GL_TEXTURE_COMPARE_SGIX 0x819A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
607 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
608 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
609 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
610 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
611
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
612 #ifndef GL_SGIS_texture_edge_clamp
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
613 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
614 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
615
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
616 #ifndef GL_SGIS_texture_border_clamp
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
617 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
618 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
619
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
620 #ifndef GL_EXT_blend_minmax
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
621 #define GL_FUNC_ADD_EXT 0x8006
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
622 #define GL_MIN_EXT 0x8007
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
623 #define GL_MAX_EXT 0x8008
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
624 #define GL_BLEND_EQUATION_EXT 0x8009
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
625 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
626
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
627 #ifndef GL_EXT_blend_subtract
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
628 #define GL_FUNC_SUBTRACT_EXT 0x800A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
629 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
630 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
631
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
632 #ifndef GL_EXT_blend_logic_op
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
633 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
634
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
635 #ifndef GL_SGIX_interlace
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
636 #define GL_INTERLACE_SGIX 0x8094
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
637 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
638
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
639 #ifndef GL_SGIX_pixel_tiles
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
640 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
641 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
642 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
643 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
644 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
645 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
646 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
647 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
648 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
649
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
650 #ifndef GL_SGIS_texture_select
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
651 #define GL_DUAL_ALPHA4_SGIS 0x8110
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
652 #define GL_DUAL_ALPHA8_SGIS 0x8111
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
653 #define GL_DUAL_ALPHA12_SGIS 0x8112
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
654 #define GL_DUAL_ALPHA16_SGIS 0x8113
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
655 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
656 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
657 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
658 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
659 #define GL_DUAL_INTENSITY4_SGIS 0x8118
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
660 #define GL_DUAL_INTENSITY8_SGIS 0x8119
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
661 #define GL_DUAL_INTENSITY12_SGIS 0x811A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
662 #define GL_DUAL_INTENSITY16_SGIS 0x811B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
663 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
664 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
665 #define GL_QUAD_ALPHA4_SGIS 0x811E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
666 #define GL_QUAD_ALPHA8_SGIS 0x811F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
667 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
668 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
669 #define GL_QUAD_INTENSITY4_SGIS 0x8122
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
670 #define GL_QUAD_INTENSITY8_SGIS 0x8123
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
671 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
672 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
673 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
674
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
675 #ifndef GL_SGIX_sprite
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
676 #define GL_SPRITE_SGIX 0x8148
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
677 #define GL_SPRITE_MODE_SGIX 0x8149
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
678 #define GL_SPRITE_AXIS_SGIX 0x814A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
679 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
680 #define GL_SPRITE_AXIAL_SGIX 0x814C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
681 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
682 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
683 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
684
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
685 #ifndef GL_SGIX_texture_multi_buffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
686 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
687 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
688
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
689 #ifndef GL_SGIS_point_parameters
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
690 #define GL_POINT_SIZE_MIN_EXT 0x8126
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
691 #define GL_POINT_SIZE_MIN_SGIS 0x8126
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
692 #define GL_POINT_SIZE_MAX_EXT 0x8127
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
693 #define GL_POINT_SIZE_MAX_SGIS 0x8127
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
694 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
695 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
696 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
697 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
698 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
699
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
700 #ifndef GL_SGIX_instruments
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
701 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
702 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
703 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
704
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
705 #ifndef GL_SGIX_texture_scale_bias
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
706 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
707 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
708 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
709 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
710 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
711
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
712 #ifndef GL_SGIX_framezoom
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
713 #define GL_FRAMEZOOM_SGIX 0x818B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
714 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
715 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
716 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
717
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
718 #ifndef GL_SGIX_tag_sample_buffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
719 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
720
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
721 #ifndef GL_SGIX_reference_plane
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
722 #define GL_REFERENCE_PLANE_SGIX 0x817D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
723 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
724 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
725
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
726 #ifndef GL_SGIX_flush_raster
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
727 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
728
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
729 #ifndef GL_SGIX_depth_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
730 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
731 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
732 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
733 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
734
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
735 #ifndef GL_SGIS_fog_function
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
736 #define GL_FOG_FUNC_SGIS 0x812A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
737 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
738 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
739 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
740
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
741 #ifndef GL_SGIX_fog_offset
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
742 #define GL_FOG_OFFSET_SGIX 0x8198
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
743 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
744 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
745
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
746 #ifndef GL_HP_image_transform
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
747 #define GL_IMAGE_SCALE_X_HP 0x8155
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
748 #define GL_IMAGE_SCALE_Y_HP 0x8156
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
749 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
750 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
751 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
752 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
753 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
754 #define GL_IMAGE_MAG_FILTER_HP 0x815C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
755 #define GL_IMAGE_MIN_FILTER_HP 0x815D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
756 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
757 #define GL_CUBIC_HP 0x815F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
758 #define GL_AVERAGE_HP 0x8160
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
759 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
760 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
761 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
762 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
763
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
764 #ifndef GL_HP_convolution_border_modes
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
765 #define GL_IGNORE_BORDER_HP 0x8150
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
766 #define GL_CONSTANT_BORDER_HP 0x8151
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
767 #define GL_REPLICATE_BORDER_HP 0x8153
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
768 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
769 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
770
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
771 #ifndef GL_INGR_palette_buffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
772 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
773
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
774 #ifndef GL_SGIX_texture_add_env
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
775 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
776 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
777
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
778 #ifndef GL_EXT_color_subtable
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
779 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
780
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
781 #ifndef GL_PGI_vertex_hints
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
782 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
783 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
784 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
785 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
786 #define GL_COLOR3_BIT_PGI 0x00010000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
787 #define GL_COLOR4_BIT_PGI 0x00020000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
788 #define GL_EDGEFLAG_BIT_PGI 0x00040000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
789 #define GL_INDEX_BIT_PGI 0x00080000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
790 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
791 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
792 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
793 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
794 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
795 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
796 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
797 #define GL_NORMAL_BIT_PGI 0x08000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
798 #define GL_TEXCOORD1_BIT_PGI 0x10000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
799 #define GL_TEXCOORD2_BIT_PGI 0x20000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
800 #define GL_TEXCOORD3_BIT_PGI 0x40000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
801 #define GL_TEXCOORD4_BIT_PGI 0x80000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
802 #define GL_VERTEX23_BIT_PGI 0x00000004
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
803 #define GL_VERTEX4_BIT_PGI 0x00000008
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
804 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
805
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
806 #ifndef GL_PGI_misc_hints
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
807 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
808 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
809 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
810 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
811 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
812 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
813 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
814 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
815 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
816 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
817 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
818 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
819 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
820 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
821 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
822 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
823 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
824 #define GL_CLIP_FAR_HINT_PGI 0x1A221
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
825 #define GL_WIDE_LINE_HINT_PGI 0x1A222
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
826 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
827 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
828
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
829 #ifndef GL_EXT_paletted_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
830 #define GL_COLOR_INDEX1_EXT 0x80E2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
831 #define GL_COLOR_INDEX2_EXT 0x80E3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
832 #define GL_COLOR_INDEX4_EXT 0x80E4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
833 #define GL_COLOR_INDEX8_EXT 0x80E5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
834 #define GL_COLOR_INDEX12_EXT 0x80E6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
835 #define GL_COLOR_INDEX16_EXT 0x80E7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
836 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
837 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
838
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
839 #ifndef GL_EXT_clip_volume_hint
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
840 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
841 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
842
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
843 #ifndef GL_SGIX_list_priority
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
844 #define GL_LIST_PRIORITY_SGIX 0x8182
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
845 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
846
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
847 #ifndef GL_SGIX_ir_instrument1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
848 #define GL_IR_INSTRUMENT1_SGIX 0x817F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
849 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
850
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
851 #ifndef GL_SGIX_calligraphic_fragment
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
852 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
853 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
854
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
855 #ifndef GL_SGIX_texture_lod_bias
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
856 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
857 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
858 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
859 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
860
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
861 #ifndef GL_SGIX_shadow_ambient
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
862 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
863 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
864
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
865 #ifndef GL_EXT_index_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
866 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
867
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
868 #ifndef GL_EXT_index_material
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
869 #define GL_INDEX_MATERIAL_EXT 0x81B8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
870 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
871 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
872 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
873
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
874 #ifndef GL_EXT_index_func
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
875 #define GL_INDEX_TEST_EXT 0x81B5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
876 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
877 #define GL_INDEX_TEST_REF_EXT 0x81B7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
878 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
879
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
880 #ifndef GL_EXT_index_array_formats
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
881 #define GL_IUI_V2F_EXT 0x81AD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
882 #define GL_IUI_V3F_EXT 0x81AE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
883 #define GL_IUI_N3F_V2F_EXT 0x81AF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
884 #define GL_IUI_N3F_V3F_EXT 0x81B0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
885 #define GL_T2F_IUI_V2F_EXT 0x81B1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
886 #define GL_T2F_IUI_V3F_EXT 0x81B2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
887 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
888 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
889 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
890
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
891 #ifndef GL_EXT_compiled_vertex_array
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
892 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
893 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
894 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
895
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
896 #ifndef GL_EXT_cull_vertex
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
897 #define GL_CULL_VERTEX_EXT 0x81AA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
898 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
899 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
900 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
901
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
902 #ifndef GL_SGIX_ycrcb
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
903 #define GL_YCRCB_422_SGIX 0x81BB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
904 #define GL_YCRCB_444_SGIX 0x81BC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
905 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
906
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
907 #ifndef GL_SGIX_fragment_lighting
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
908 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
909 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
910 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
911 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
912 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
913 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
914 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
915 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
916 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
917 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
918 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
919 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
920 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
921 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
922 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
923 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
924 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
925 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
926 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
927 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
928 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
929
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
930 #ifndef GL_IBM_rasterpos_clip
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
931 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
932 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
933
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
934 #ifndef GL_HP_texture_lighting
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
935 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
936 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
937 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
938 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
939
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
940 #ifndef GL_EXT_draw_range_elements
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
941 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
942 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
943 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
944
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
945 #ifndef GL_WIN_phong_shading
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
946 #define GL_PHONG_WIN 0x80EA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
947 #define GL_PHONG_HINT_WIN 0x80EB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
948 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
949
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
950 #ifndef GL_WIN_specular_fog
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
951 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
952 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
953
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
954 #ifndef GL_EXT_light_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
955 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
956 #define GL_FRAGMENT_NORMAL_EXT 0x834A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
957 #define GL_FRAGMENT_COLOR_EXT 0x834C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
958 #define GL_ATTENUATION_EXT 0x834D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
959 #define GL_SHADOW_ATTENUATION_EXT 0x834E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
960 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
961 #define GL_TEXTURE_LIGHT_EXT 0x8350
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
962 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
963 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
964 /* reuse GL_FRAGMENT_DEPTH_EXT */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
965 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
966
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
967 #ifndef GL_SGIX_blend_alpha_minmax
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
968 #define GL_ALPHA_MIN_SGIX 0x8320
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
969 #define GL_ALPHA_MAX_SGIX 0x8321
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
970 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
971
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
972 #ifndef GL_EXT_bgra
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
973 #define GL_BGR_EXT 0x80E0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
974 #define GL_BGRA_EXT 0x80E1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
975 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
976
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
977 #ifndef GL_INTEL_texture_scissor
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
978 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
979
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
980 #ifndef GL_INTEL_parallel_arrays
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
981 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
982 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
983 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
984 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
985 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
986 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
987
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
988 #ifndef GL_HP_occlusion_test
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
989 #define GL_OCCLUSION_TEST_HP 0x8165
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
990 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
991 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
992
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
993 #ifndef GL_EXT_pixel_transform
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
994 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
995 #define GL_PIXEL_MAG_FILTER_EXT 0x8331
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
996 #define GL_PIXEL_MIN_FILTER_EXT 0x8332
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
997 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
998 #define GL_CUBIC_EXT 0x8334
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
999 #define GL_AVERAGE_EXT 0x8335
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1000 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1001 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1002 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1003 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1004
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1005 #ifndef GL_EXT_pixel_transform_color_table
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1006 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1007
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1008 #ifndef GL_EXT_shared_texture_palette
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1009 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1010 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1011
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1012 #ifndef GL_EXT_separate_specular_color
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1013 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1014 #define GL_SINGLE_COLOR_EXT 0x81F9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1015 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1016 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1017
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1018 #ifndef GL_EXT_secondary_color
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1019 #define GL_COLOR_SUM_EXT 0x8458
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1020 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1021 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1022 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1023 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1024 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1025 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1026 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1027
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1028 #ifndef GL_EXT_texture_perturb_normal
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1029 #define GL_PERTURB_EXT 0x85AE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1030 #define GL_TEXTURE_NORMAL_EXT 0x85AF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1031 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1032
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1033 #ifndef GL_EXT_multi_draw_arrays
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1034 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1035
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1036 #ifndef GL_EXT_fog_coord
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1037 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1038 #define GL_FOG_COORDINATE_EXT 0x8451
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1039 #define GL_FRAGMENT_DEPTH_EXT 0x8452
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1040 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1041 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1042 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1043 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1044 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1045 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1046
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1047 #ifndef GL_REND_screen_coordinates
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1048 #define GL_SCREEN_COORDINATES_REND 0x8490
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1049 #define GL_INVERTED_SCREEN_W_REND 0x8491
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1050 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1051
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1052 #ifndef GL_EXT_coordinate_frame
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1053 #define GL_TANGENT_ARRAY_EXT 0x8439
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1054 #define GL_BINORMAL_ARRAY_EXT 0x843A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1055 #define GL_CURRENT_TANGENT_EXT 0x843B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1056 #define GL_CURRENT_BINORMAL_EXT 0x843C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1057 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1058 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1059 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1060 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1061 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1062 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1063 #define GL_MAP1_TANGENT_EXT 0x8444
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1064 #define GL_MAP2_TANGENT_EXT 0x8445
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1065 #define GL_MAP1_BINORMAL_EXT 0x8446
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1066 #define GL_MAP2_BINORMAL_EXT 0x8447
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1067 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1068
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1069 #ifndef GL_EXT_texture_env_combine
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1070 #define GL_COMBINE_EXT 0x8570
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1071 #define GL_COMBINE_RGB_EXT 0x8571
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1072 #define GL_COMBINE_ALPHA_EXT 0x8572
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1073 #define GL_RGB_SCALE_EXT 0x8573
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1074 #define GL_ADD_SIGNED_EXT 0x8574
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1075 #define GL_INTERPOLATE_EXT 0x8575
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1076 #define GL_CONSTANT_EXT 0x8576
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1077 #define GL_PRIMARY_COLOR_EXT 0x8577
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1078 #define GL_PREVIOUS_EXT 0x8578
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1079 #define GL_SOURCE0_RGB_EXT 0x8580
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1080 #define GL_SOURCE1_RGB_EXT 0x8581
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1081 #define GL_SOURCE2_RGB_EXT 0x8582
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1082 #define GL_SOURCE3_RGB_EXT 0x8583
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1083 #define GL_SOURCE4_RGB_EXT 0x8584
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1084 #define GL_SOURCE5_RGB_EXT 0x8585
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1085 #define GL_SOURCE6_RGB_EXT 0x8586
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1086 #define GL_SOURCE7_RGB_EXT 0x8587
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1087 #define GL_SOURCE0_ALPHA_EXT 0x8588
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1088 #define GL_SOURCE1_ALPHA_EXT 0x8589
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1089 #define GL_SOURCE2_ALPHA_EXT 0x858A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1090 #define GL_SOURCE3_ALPHA_EXT 0x858B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1091 #define GL_SOURCE4_ALPHA_EXT 0x858C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1092 #define GL_SOURCE5_ALPHA_EXT 0x858D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1093 #define GL_SOURCE6_ALPHA_EXT 0x858E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1094 #define GL_SOURCE7_ALPHA_EXT 0x858F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1095 #define GL_OPERAND0_RGB_EXT 0x8590
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1096 #define GL_OPERAND1_RGB_EXT 0x8591
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1097 #define GL_OPERAND2_RGB_EXT 0x8592
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1098 #define GL_OPERAND3_RGB_EXT 0x8593
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1099 #define GL_OPERAND4_RGB_EXT 0x8594
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1100 #define GL_OPERAND5_RGB_EXT 0x8595
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1101 #define GL_OPERAND6_RGB_EXT 0x8596
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1102 #define GL_OPERAND7_RGB_EXT 0x8597
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1103 #define GL_OPERAND0_ALPHA_EXT 0x8598
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1104 #define GL_OPERAND1_ALPHA_EXT 0x8599
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1105 #define GL_OPERAND2_ALPHA_EXT 0x859A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1106 #define GL_OPERAND3_ALPHA_EXT 0x859B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1107 #define GL_OPERAND4_ALPHA_EXT 0x859C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1108 #define GL_OPERAND5_ALPHA_EXT 0x859D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1109 #define GL_OPERAND6_ALPHA_EXT 0x859E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1110 #define GL_OPERAND7_ALPHA_EXT 0x859F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1111 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1112
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1113 #ifndef GL_APPLE_specular_vector
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1114 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1115 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1116
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1117 #ifndef GL_APPLE_transform_hint
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1118 #define GL_TRANSFORM_HINT_APPLE 0x85B1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1119 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1120
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1121 #ifndef GL_SGIX_fog_scale
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1122 #define GL_FOG_SCALE_SGIX 0x81FC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1123 #define GL_FOG_SCALE_VALUE_SGIX 0x81FD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1124 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1125
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1126 #ifndef GL_SUNX_constant_data
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1127 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1128 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1129 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1130
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1131 #ifndef GL_SUN_global_alpha
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1132 #define GL_GLOBAL_ALPHA_SUN 0x81D9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1133 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1134 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1135
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1136 #ifndef GL_SUN_triangle_list
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1137 #define GL_RESTART_SUN 0x01
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1138 #define GL_REPLACE_MIDDLE_SUN 0x02
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1139 #define GL_REPLACE_OLDEST_SUN 0x03
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1140 #define GL_TRIANGLE_LIST_SUN 0x81D7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1141 #define GL_REPLACEMENT_CODE_SUN 0x81D8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1142 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1143 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1144 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1145 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1146 #define GL_R1UI_V3F_SUN 0x85C4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1147 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1148 #define GL_R1UI_C3F_V3F_SUN 0x85C6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1149 #define GL_R1UI_N3F_V3F_SUN 0x85C7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1150 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1151 #define GL_R1UI_T2F_V3F_SUN 0x85C9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1152 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1153 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1154 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1155
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1156 #ifndef GL_SUN_vertex
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1157 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1158
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1159 #ifndef GL_EXT_blend_func_separate
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1160 #define GL_BLEND_DST_RGB_EXT 0x80C8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1161 #define GL_BLEND_SRC_RGB_EXT 0x80C9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1162 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1163 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1164 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1165
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1166 #ifndef GL_INGR_color_clamp
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1167 #define GL_RED_MIN_CLAMP_INGR 0x8560
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1168 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1169 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1170 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1171 #define GL_RED_MAX_CLAMP_INGR 0x8564
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1172 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1173 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1174 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1175 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1176
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1177 #ifndef GL_INGR_interlace_read
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1178 #define GL_INTERLACE_READ_INGR 0x8568
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1179 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1180
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1181 #ifndef GL_EXT_stencil_wrap
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1182 #define GL_INCR_WRAP_EXT 0x8507
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1183 #define GL_DECR_WRAP_EXT 0x8508
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1184 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1185
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1186 #ifndef GL_EXT_422_pixels
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1187 #define GL_422_EXT 0x80CC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1188 #define GL_422_REV_EXT 0x80CD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1189 #define GL_422_AVERAGE_EXT 0x80CE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1190 #define GL_422_REV_AVERAGE_EXT 0x80CF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1191 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1192
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1193 #ifndef GL_NV_texgen_reflection
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1194 #define GL_NORMAL_MAP_NV 0x8511
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1195 #define GL_REFLECTION_MAP_NV 0x8512
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1196 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1197
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1198 #ifndef GL_EXT_texture_cube_map
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1199 #define GL_NORMAL_MAP_EXT 0x8511
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1200 #define GL_REFLECTION_MAP_EXT 0x8512
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1201 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1202 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1203 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1204 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1205 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1206 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1207 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1208 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1209 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1210 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1211 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1212
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1213 #ifndef GL_SUN_convolution_border_modes
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1214 #define GL_WRAP_BORDER_SUN 0x81D4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1215 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1216
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1217 #ifndef GL_EXT_texture_env_add
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1218 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1219
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1220 #ifndef GL_EXT_texture_lod_bias
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1221 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1222 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1223 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1224 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1225
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1226 #ifndef GL_EXT_texture_filter_anisotropic
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1227 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1228 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1229 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1230
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1231 #ifndef GL_EXT_vertex_weighting
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1232 #define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1233 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1234 #define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1235 #define GL_MODELVIEW_MATRIX1_EXT 0x8506
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1236 #define GL_VERTEX_WEIGHTING_EXT 0x8509
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1237 #define GL_MODELVIEW0_EXT GL_MODELVIEW
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1238 #define GL_MODELVIEW1_EXT 0x850A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1239 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1240 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1241 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1242 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1243 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1244 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1245 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1246
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1247 #ifndef GL_NV_light_max_exponent
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1248 #define GL_MAX_SHININESS_NV 0x8504
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1249 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1250 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1251
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1252 #ifndef GL_NV_vertex_array_range
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1253 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1254 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1255 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1256 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1257 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1258 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1259
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1260 #ifndef GL_NV_register_combiners
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1261 #define GL_REGISTER_COMBINERS_NV 0x8522
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1262 #define GL_VARIABLE_A_NV 0x8523
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1263 #define GL_VARIABLE_B_NV 0x8524
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1264 #define GL_VARIABLE_C_NV 0x8525
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1265 #define GL_VARIABLE_D_NV 0x8526
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1266 #define GL_VARIABLE_E_NV 0x8527
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1267 #define GL_VARIABLE_F_NV 0x8528
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1268 #define GL_VARIABLE_G_NV 0x8529
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1269 #define GL_CONSTANT_COLOR0_NV 0x852A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1270 #define GL_CONSTANT_COLOR1_NV 0x852B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1271 #define GL_PRIMARY_COLOR_NV 0x852C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1272 #define GL_SECONDARY_COLOR_NV 0x852D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1273 #define GL_SPARE0_NV 0x852E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1274 #define GL_SPARE1_NV 0x852F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1275 #define GL_DISCARD_NV 0x8530
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1276 #define GL_E_TIMES_F_NV 0x8531
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1277 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1278 #define GL_UNSIGNED_IDENTITY_NV 0x8536
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1279 #define GL_UNSIGNED_INVERT_NV 0x8537
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1280 #define GL_EXPAND_NORMAL_NV 0x8538
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1281 #define GL_EXPAND_NEGATE_NV 0x8539
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1282 #define GL_HALF_BIAS_NORMAL_NV 0x853A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1283 #define GL_HALF_BIAS_NEGATE_NV 0x853B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1284 #define GL_SIGNED_IDENTITY_NV 0x853C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1285 #define GL_SIGNED_NEGATE_NV 0x853D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1286 #define GL_SCALE_BY_TWO_NV 0x853E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1287 #define GL_SCALE_BY_FOUR_NV 0x853F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1288 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1289 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1290 #define GL_COMBINER_INPUT_NV 0x8542
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1291 #define GL_COMBINER_MAPPING_NV 0x8543
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1292 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1293 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1294 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1295 #define GL_COMBINER_MUX_SUM_NV 0x8547
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1296 #define GL_COMBINER_SCALE_NV 0x8548
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1297 #define GL_COMBINER_BIAS_NV 0x8549
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1298 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1299 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1300 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1301 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1302 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1303 #define GL_COLOR_SUM_CLAMP_NV 0x854F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1304 #define GL_COMBINER0_NV 0x8550
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1305 #define GL_COMBINER1_NV 0x8551
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1306 #define GL_COMBINER2_NV 0x8552
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1307 #define GL_COMBINER3_NV 0x8553
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1308 #define GL_COMBINER4_NV 0x8554
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1309 #define GL_COMBINER5_NV 0x8555
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1310 #define GL_COMBINER6_NV 0x8556
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1311 #define GL_COMBINER7_NV 0x8557
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1312 /* reuse GL_TEXTURE0_ARB */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1313 /* reuse GL_TEXTURE1_ARB */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1314 /* reuse GL_ZERO */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1315 /* reuse GL_NONE */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1316 /* reuse GL_FOG */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1317 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1318
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1319 #ifndef GL_NV_fog_distance
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1320 #define GL_FOG_DISTANCE_MODE_NV 0x855A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1321 #define GL_EYE_RADIAL_NV 0x855B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1322 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1323 /* reuse GL_EYE_PLANE */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1324 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1325
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1326 #ifndef GL_NV_texgen_emboss
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1327 #define GL_EMBOSS_LIGHT_NV 0x855D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1328 #define GL_EMBOSS_CONSTANT_NV 0x855E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1329 #define GL_EMBOSS_MAP_NV 0x855F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1330 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1331
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1332 #ifndef GL_NV_blend_square
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1333 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1334
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1335 #ifndef GL_NV_texture_env_combine4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1336 #define GL_COMBINE4_NV 0x8503
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1337 #define GL_SOURCE3_RGB_NV 0x8583
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1338 #define GL_SOURCE3_ALPHA_NV 0x858B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1339 #define GL_OPERAND3_RGB_NV 0x8593
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1340 #define GL_OPERAND3_ALPHA_NV 0x859B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1341 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1342
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1343 #ifndef GL_MESA_resize_buffers
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1344 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1345
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1346 #ifndef GL_MESA_window_pos
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1347 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1348
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1349 #ifndef GL_EXT_texture_compression_s3tc
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1350 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1351 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1352 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1353 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1354 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1355
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1356 #ifndef GL_IBM_cull_vertex
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1357 #define GL_CULL_VERTEX_IBM 103050
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1358 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1359
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1360 #ifndef GL_IBM_multimode_draw_arrays
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1361 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1362
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1363 #ifndef GL_IBM_vertex_array_lists
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1364 #define GL_VERTEX_ARRAY_LIST_IBM 103070
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1365 #define GL_NORMAL_ARRAY_LIST_IBM 103071
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1366 #define GL_COLOR_ARRAY_LIST_IBM 103072
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1367 #define GL_INDEX_ARRAY_LIST_IBM 103073
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1368 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1369 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1370 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1371 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1372 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1373 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1374 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1375 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1376 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1377 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1378 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1379 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1380 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1381
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1382 #ifndef GL_SGIX_subsample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1383 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1384 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1385 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1386 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1387 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1388 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1389
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1390 #ifndef GL_SGIX_ycrcb_subsample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1391 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1392
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1393 #ifndef GL_SGIX_ycrcba
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1394 #define GL_YCRCB_SGIX 0x8318
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1395 #define GL_YCRCBA_SGIX 0x8319
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1396 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1397
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1398 #ifndef GL_SGI_depth_pass_instrument
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1399 #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1400 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1401 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1402 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1403
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1404 #ifndef GL_3DFX_texture_compression_FXT1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1405 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1406 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1407 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1408
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1409 #ifndef GL_3DFX_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1410 #define GL_MULTISAMPLE_3DFX 0x86B2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1411 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1412 #define GL_SAMPLES_3DFX 0x86B4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1413 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1414 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1415
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1416 #ifndef GL_3DFX_tbuffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1417 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1418
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1419 #ifndef GL_EXT_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1420 #define GL_MULTISAMPLE_EXT 0x809D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1421 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1422 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1423 #define GL_SAMPLE_MASK_EXT 0x80A0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1424 #define GL_1PASS_EXT 0x80A1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1425 #define GL_2PASS_0_EXT 0x80A2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1426 #define GL_2PASS_1_EXT 0x80A3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1427 #define GL_4PASS_0_EXT 0x80A4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1428 #define GL_4PASS_1_EXT 0x80A5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1429 #define GL_4PASS_2_EXT 0x80A6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1430 #define GL_4PASS_3_EXT 0x80A7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1431 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1432 #define GL_SAMPLES_EXT 0x80A9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1433 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1434 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1435 #define GL_SAMPLE_PATTERN_EXT 0x80AC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1436 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1437
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1438 #ifndef GL_SGIX_vertex_preclip
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1439 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1440 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1441 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1442
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1443 #ifndef GL_SGIX_convolution_accuracy
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1444 #define GL_CONVOLUTION_HINT_SGIX 0x8316
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1445 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1446
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1447 #ifndef GL_SGIX_resample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1448 #define GL_PACK_RESAMPLE_SGIX 0x842C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1449 #define GL_UNPACK_RESAMPLE_SGIX 0x842D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1450 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1451 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1452 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1453 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1454
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1455 #ifndef GL_SGIS_point_line_texgen
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1456 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1457 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1458 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1459 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1460 #define GL_EYE_POINT_SGIS 0x81F4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1461 #define GL_OBJECT_POINT_SGIS 0x81F5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1462 #define GL_EYE_LINE_SGIS 0x81F6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1463 #define GL_OBJECT_LINE_SGIS 0x81F7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1464 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1465
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1466 #ifndef GL_SGIS_texture_color_mask
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1467 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1468 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1469
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1470
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1471 /*************************************************************/
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1472
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1473 #ifndef GL_VERSION_1_2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1474 #define GL_VERSION_1_2 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1475 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1476 extern void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1477 extern void APIENTRY glBlendEquation (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1478 extern void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1479 extern void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1480 extern void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1481 extern void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1482 extern void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1483 extern void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1484 extern void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1485 extern void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1486 extern void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1487 extern void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1488 extern void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1489 extern void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1490 extern void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1491 extern void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1492 extern void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1493 extern void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1494 extern void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1495 extern void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1496 extern void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1497 extern void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1498 extern void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1499 extern void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1500 extern void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1501 extern void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1502 extern void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1503 extern void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1504 extern void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1505 extern void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1506 extern void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1507 extern void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1508 extern void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1509 extern void APIENTRY glResetHistogram (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1510 extern void APIENTRY glResetMinmax (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1511 extern void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1512 extern void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1513 extern void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1514 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1515 typedef void (APIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1516 typedef void (APIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1517 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1518 typedef void (APIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1519 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1520 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1521 typedef void (APIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1522 typedef void (APIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1523 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1524 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1525 typedef void (APIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1526 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1527 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1528 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1529 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1530 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1531 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1532 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1533 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1534 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1535 typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1536 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1537 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1538 typedef void (APIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1539 typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1540 typedef void (APIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1541 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1542 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1543 typedef void (APIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1544 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1545 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1546 typedef void (APIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1547 typedef void (APIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1548 typedef void (APIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1549 typedef void (APIENTRY * PFNGLRESETMINMAXPROC) (GLenum target);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1550 typedef void (APIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1551 typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1552 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1553 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1554
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1555 #ifndef GL_ARB_multitexture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1556 #define GL_ARB_multitexture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1557 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1558 extern void APIENTRY glActiveTextureARB (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1559 extern void APIENTRY glClientActiveTextureARB (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1560 extern void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1561 extern void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1562 extern void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1563 extern void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1564 extern void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1565 extern void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1566 extern void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1567 extern void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1568 extern void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1569 extern void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1570 extern void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1571 extern void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1572 extern void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1573 extern void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1574 extern void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1575 extern void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1576 extern void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1577 extern void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1578 extern void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1579 extern void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1580 extern void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1581 extern void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1582 extern void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1583 extern void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1584 extern void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1585 extern void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1586 extern void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1587 extern void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1588 extern void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1589 extern void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1590 extern void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1591 extern void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1592 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1593 typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1594 typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1595 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1596 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1597 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1598 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1599 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1600 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1601 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1602 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1603 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1604 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1605 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1606 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1607 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1608 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1609 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1610 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1611 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1612 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1613 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1614 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1615 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1616 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1617 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1618 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1619 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1620 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1621 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1622 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1623 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1624 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1625 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1626 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1627 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1628
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1629 #ifndef GL_ARB_transpose_matrix
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1630 #define GL_ARB_transpose_matrix 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1631 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1632 extern void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1633 extern void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1634 extern void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1635 extern void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1636 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1637 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1638 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1639 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1640 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1641 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1642
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1643 #ifndef GL_ARB_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1644 #define GL_ARB_multisample 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1645 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1646 extern void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1647 extern void APIENTRY glSamplePassARB (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1648 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1649 typedef void (APIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1650 typedef void (APIENTRY * PFNGLSAMPLEPASSARBPROC) (GLenum pass);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1651 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1652
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1653 #ifndef GL_ARB_texture_env_add
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1654 #define GL_ARB_texture_env_add 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1655 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1656
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1657 #ifndef GL_ARB_texture_cube_map
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1658 #define GL_ARB_texture_cube_map 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1659 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1660
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1661 #ifndef GL_ARB_texture_compression
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1662 #define GL_ARB_texture_compression 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1663 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1664 extern void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1665 extern void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1666 extern void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1667 extern void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1668 extern void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1669 extern void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1670 extern void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, void *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1671 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1672 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1673 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1674 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1675 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1676 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1677 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1678 typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1679 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1680
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1681 #ifndef GL_EXT_abgr
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1682 #define GL_EXT_abgr 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1683 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1684
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1685 #ifndef GL_EXT_blend_color
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1686 #define GL_EXT_blend_color 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1687 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1688 extern void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1689 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1690 typedef void (APIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1691 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1692
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1693 #ifndef GL_EXT_polygon_offset
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1694 #define GL_EXT_polygon_offset 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1695 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1696 extern void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1697 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1698 typedef void (APIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1699 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1700
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1701 #ifndef GL_EXT_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1702 #define GL_EXT_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1703 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1704
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1705 #ifndef GL_EXT_texture3D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1706 #define GL_EXT_texture3D 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1707 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1708 extern void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1709 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1710 typedef void (APIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1711 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1712
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1713 #ifndef GL_EXT_subtexture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1714 /*#define GL_EXT_subtexture 1*/
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1715 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1716 extern void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1717 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1718 typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1719 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1720
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1721 #ifndef GL_SGIS_texture_filter4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1722 #define GL_SGIS_texture_filter4 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1723 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1724 extern void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1725 extern void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1726 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1727 typedef void (APIENTRY * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1728 typedef void (APIENTRY * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1729 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1730
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1731 #ifndef GL_EXT_subtexture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1732 #define GL_EXT_subtexture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1733 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1734 extern void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1735 extern void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1736 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1737 typedef void (APIENTRY * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1738 typedef void (APIENTRY * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1739 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1740
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1741 #ifndef GL_EXT_copy_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1742 #define GL_EXT_copy_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1743 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1744 extern void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1745 extern void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1746 extern void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1747 extern void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1748 extern void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1749 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1750 typedef void (APIENTRY * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1751 typedef void (APIENTRY * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1752 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1753 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1754 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1755 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1756
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1757 #ifndef GL_EXT_histogram
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1758 #define GL_EXT_histogram 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1759 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1760 extern void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1761 extern void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1762 extern void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1763 extern void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1764 extern void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1765 extern void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1766 extern void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1767 extern void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1768 extern void APIENTRY glResetHistogramEXT (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1769 extern void APIENTRY glResetMinmaxEXT (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1770 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1771 typedef void (APIENTRY * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1772 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1773 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1774 typedef void (APIENTRY * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1775 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1776 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1777 typedef void (APIENTRY * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1778 typedef void (APIENTRY * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1779 typedef void (APIENTRY * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1780 typedef void (APIENTRY * PFNGLRESETMINMAXEXTPROC) (GLenum target);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1781 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1782
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1783 #ifndef GL_EXT_convolution
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1784 #define GL_EXT_convolution 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1785 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1786 extern void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1787 extern void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1788 extern void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1789 extern void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1790 extern void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1791 extern void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1792 extern void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1793 extern void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1794 extern void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1795 extern void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1796 extern void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1797 extern void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1798 extern void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1799 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1800 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1801 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1802 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1803 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1804 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1805 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1806 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1807 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1808 typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1809 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1810 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1811 typedef void (APIENTRY * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1812 typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1813 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1814
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1815 #ifndef GL_EXT_color_matrix
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1816 #define GL_EXT_color_matrix 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1817 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1818
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1819 #ifndef GL_SGI_color_table
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1820 #define GL_SGI_color_table 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1821 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1822 extern void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1823 extern void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1824 extern void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1825 extern void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1826 extern void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1827 extern void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1828 extern void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1829 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1830 typedef void (APIENTRY * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1831 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1832 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1833 typedef void (APIENTRY * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1834 typedef void (APIENTRY * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1835 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1836 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1837 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1838
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1839 #ifndef GL_SGIX_pixel_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1840 #define GL_SGIX_pixel_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1841 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1842 extern void APIENTRY glPixelTexGenSGIX (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1843 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1844 typedef void (APIENTRY * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1845 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1846
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1847 #ifndef GL_SGIS_pixel_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1848 #define GL_SGIS_pixel_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1849 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1850 extern void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1851 extern void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1852 extern void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1853 extern void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1854 extern void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1855 extern void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1856 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1857 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1858 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1859 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1860 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1861 typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1862 typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1863 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1864
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1865 #ifndef GL_SGIS_texture4D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1866 #define GL_SGIS_texture4D 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1867 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1868 extern void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1869 extern void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1870 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1871 typedef void (APIENTRY * PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1872 typedef void (APIENTRY * PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1873 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1874
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1875 #ifndef GL_SGI_texture_color_table
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1876 #define GL_SGI_texture_color_table 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1877 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1878
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1879 #ifndef GL_EXT_cmyka
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1880 #define GL_EXT_cmyka 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1881 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1882
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1883 #ifndef GL_EXT_texture_object
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1884 #define GL_EXT_texture_object 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1885 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1886 extern GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1887 extern void APIENTRY glBindTextureEXT (GLenum, GLuint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1888 extern void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1889 extern void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1890 extern GLboolean APIENTRY glIsTextureEXT (GLuint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1891 extern void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1892 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1893 typedef GLboolean (APIENTRY * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1894 typedef void (APIENTRY * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1895 typedef void (APIENTRY * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1896 typedef void (APIENTRY * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1897 typedef GLboolean (APIENTRY * PFNGLISTEXTUREEXTPROC) (GLuint texture);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1898 typedef void (APIENTRY * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1899 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1900
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1901 #ifndef GL_SGIS_detail_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1902 #define GL_SGIS_detail_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1903 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1904 extern void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1905 extern void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1906 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1907 typedef void (APIENTRY * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1908 typedef void (APIENTRY * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1909 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1910
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1911 #ifndef GL_SGIS_sharpen_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1912 #define GL_SGIS_sharpen_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1913 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1914 extern void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1915 extern void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1916 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1917 typedef void (APIENTRY * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1918 typedef void (APIENTRY * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1919 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1920
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1921 #ifndef GL_EXT_packed_pixels
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1922 #define GL_EXT_packed_pixels 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1923 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1924
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1925 #ifndef GL_SGIS_texture_lod
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1926 #define GL_SGIS_texture_lod 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1927 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1928
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1929 #ifndef GL_SGIS_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1930 #define GL_SGIS_multisample 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1931 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1932 extern void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1933 extern void APIENTRY glSamplePatternSGIS (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1934 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1935 typedef void (APIENTRY * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1936 typedef void (APIENTRY * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1937 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1938
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1939 #ifndef GL_EXT_rescale_normal
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1940 #define GL_EXT_rescale_normal 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1941 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1942
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1943 #ifndef GL_EXT_vertex_array
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1944 #define GL_EXT_vertex_array 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1945 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1946 extern void APIENTRY glArrayElementEXT (GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1947 extern void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1948 extern void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1949 extern void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1950 extern void APIENTRY glGetPointervEXT (GLenum, GLvoid* *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1951 extern void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1952 extern void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1953 extern void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1954 extern void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1955 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1956 typedef void (APIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1957 typedef void (APIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1958 typedef void (APIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1959 typedef void (APIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1960 typedef void (APIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1961 typedef void (APIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1962 typedef void (APIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1963 typedef void (APIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1964 typedef void (APIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1965 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1966
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1967 #ifndef GL_EXT_misc_attribute
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1968 #define GL_EXT_misc_attribute 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1969 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1970
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1971 #ifndef GL_SGIS_generate_mipmap
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1972 #define GL_SGIS_generate_mipmap 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1973 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1974
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1975 #ifndef GL_SGIX_clipmap
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1976 #define GL_SGIX_clipmap 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1977 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1978
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1979 #ifndef GL_SGIX_shadow
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1980 #define GL_SGIX_shadow 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1981 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1982
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1983 #ifndef GL_SGIS_texture_edge_clamp
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1984 #define GL_SGIS_texture_edge_clamp 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1985 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1986
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1987 #ifndef GL_SGIS_texture_border_clamp
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1988 #define GL_SGIS_texture_border_clamp 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1989 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1990
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1991 #ifndef GL_EXT_blend_minmax
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1992 #define GL_EXT_blend_minmax 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1993 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1994 extern void APIENTRY glBlendEquationEXT (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1995 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1996 typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1997 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1998
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
1999 #ifndef GL_EXT_blend_subtract
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2000 #define GL_EXT_blend_subtract 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2001 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2002
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2003 #ifndef GL_EXT_blend_logic_op
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2004 #define GL_EXT_blend_logic_op 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2005 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2006
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2007 #ifndef GL_SGIX_interlace
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2008 #define GL_SGIX_interlace 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2009 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2010
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2011 #ifndef GL_SGIX_pixel_tiles
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2012 #define GL_SGIX_pixel_tiles 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2013 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2014
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2015 #ifndef GL_SGIX_texture_select
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2016 #define GL_SGIX_texture_select 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2017 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2018
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2019 #ifndef GL_SGIX_sprite
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2020 #define GL_SGIX_sprite 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2021 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2022 extern void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2023 extern void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2024 extern void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2025 extern void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2026 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2027 typedef void (APIENTRY * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2028 typedef void (APIENTRY * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2029 typedef void (APIENTRY * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2030 typedef void (APIENTRY * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2031 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2032
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2033 #ifndef GL_SGIX_texture_multi_buffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2034 #define GL_SGIX_texture_multi_buffer 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2035 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2036
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2037 #ifndef GL_EXT_point_parameters
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2038 #define GL_EXT_point_parameters 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2039 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2040 extern void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2041 extern void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2042 extern void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2043 extern void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2044 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2045 typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2046 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2047 typedef void (APIENTRY * PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2048 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2049 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2050
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2051 #ifndef GL_SGIX_instruments
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2052 #define GL_SGIX_instruments 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2053 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2054 extern GLint APIENTRY glGetInstrumentsSGIX (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2055 extern void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2056 extern GLint APIENTRY glPollInstrumentsSGIX (GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2057 extern void APIENTRY glReadInstrumentsSGIX (GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2058 extern void APIENTRY glStartInstrumentsSGIX (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2059 extern void APIENTRY glStopInstrumentsSGIX (GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2060 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2061 typedef GLint (APIENTRY * PFNGLGETINSTRUMENTSSGIXPROC) (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2062 typedef void (APIENTRY * PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2063 typedef GLint (APIENTRY * PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2064 typedef void (APIENTRY * PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2065 typedef void (APIENTRY * PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2066 typedef void (APIENTRY * PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2067 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2068
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2069 #ifndef GL_SGIX_texture_scale_bias
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2070 #define GL_SGIX_texture_scale_bias 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2071 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2072
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2073 #ifndef GL_SGIX_framezoom
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2074 #define GL_SGIX_framezoom 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2075 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2076 extern void APIENTRY glFrameZoomSGIX (GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2077 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2078 typedef void (APIENTRY * PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2079 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2080
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2081 #ifndef GL_SGIX_tag_sample_buffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2082 #define GL_SGIX_tag_sample_buffer 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2083 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2084 extern void APIENTRY glTagSampleBufferSGIX (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2085 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2086 typedef void (APIENTRY * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2087 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2088
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2089 #ifndef GL_SGIX_reference_plane
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2090 #define GL_SGIX_reference_plane 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2091 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2092 extern void APIENTRY glReferencePlaneSGIX (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2093 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2094 typedef void (APIENTRY * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2095 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2096
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2097 #ifndef GL_SGIX_flush_raster
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2098 #define GL_SGIX_flush_raster 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2099 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2100 extern void APIENTRY glFlushRasterSGIX (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2101 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2102 typedef void (APIENTRY * PFNGLFLUSHRASTERSGIXPROC) (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2103 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2104
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2105 #ifndef GL_SGIX_depth_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2106 #define GL_SGIX_depth_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2107 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2108
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2109 #ifndef GL_SGIS_fog_function
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2110 #define GL_SGIS_fog_function 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2111 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2112 extern void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2113 extern void APIENTRY glGetFogFuncSGIS (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2114 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2115 typedef void (APIENTRY * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2116 typedef void (APIENTRY * PFNGLGETFOGFUNCSGISPROC) (const GLfloat *points);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2117 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2118
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2119 #ifndef GL_SGIX_fog_offset
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2120 #define GL_SGIX_fog_offset 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2121 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2122
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2123 #ifndef GL_HP_image_transform
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2124 #define GL_HP_image_transform 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2125 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2126 extern void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2127 extern void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2128 extern void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2129 extern void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2130 extern void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2131 extern void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2132 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2133 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2134 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2135 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2136 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2137 typedef void (APIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2138 typedef void (APIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2139 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2140
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2141 #ifndef GL_HP_convolution_border_modes
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2142 #define GL_HP_convolution_border_modes 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2143 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2144
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2145 #ifndef GL_SGIX_texture_add_env
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2146 #define GL_SGIX_texture_add_env 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2147 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2148
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2149 #ifndef GL_EXT_color_subtable
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2150 #define GL_EXT_color_subtable 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2151 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2152 extern void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2153 extern void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2154 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2155 typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2156 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2157 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2158
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2159 #ifndef GL_PGI_vertex_hints
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2160 #define GL_PGI_vertex_hints 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2161 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2162
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2163 #ifndef GL_PGI_misc_hints
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2164 #define GL_PGI_misc_hints 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2165 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2166 extern void APIENTRY glHintPGI (GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2167 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2168 typedef void (APIENTRY * PFNGLHINTPGIPROC) (GLenum target, GLint mode);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2169 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2170
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2171 #ifndef GL_EXT_paletted_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2172 #define GL_EXT_paletted_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2173 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2174 extern void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2175 extern void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2176 extern void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2177 extern void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2178 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2179 typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2180 typedef void (APIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2181 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2182 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2183 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2184
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2185 #ifndef GL_EXT_clip_volume_hint
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2186 #define GL_EXT_clip_volume_hint 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2187 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2188
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2189 #ifndef GL_SGIX_list_priority
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2190 #define GL_SGIX_list_priority 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2191 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2192 extern void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2193 extern void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2194 extern void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2195 extern void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2196 extern void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2197 extern void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2198 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2199 typedef void (APIENTRY * PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2200 typedef void (APIENTRY * PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2201 typedef void (APIENTRY * PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2202 typedef void (APIENTRY * PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2203 typedef void (APIENTRY * PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2204 typedef void (APIENTRY * PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2205 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2206
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2207 #ifndef GL_SGIX_ir_instrument1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2208 #define GL_SGIX_ir_instrument1 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2209 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2210
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2211 #ifndef GL_SGIX_calligraphic_fragment
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2212 #define GL_SGIX_calligraphic_fragment 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2213 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2214
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2215 #ifndef GL_SGIX_texture_lod_bias
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2216 #define GL_SGIX_texture_lod_bias 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2217 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2218
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2219 #ifndef GL_SGIX_shadow_ambient
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2220 #define GL_SGIX_shadow_ambient 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2221 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2222
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2223 #ifndef GL_EXT_index_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2224 #define GL_EXT_index_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2225 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2226
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2227 #ifndef GL_EXT_index_material
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2228 #define GL_EXT_index_material 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2229 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2230 extern void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2231 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2232 typedef void (APIENTRY * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2233 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2234
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2235 #ifndef GL_EXT_index_func
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2236 #define GL_EXT_index_func 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2237 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2238 extern void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2239 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2240 typedef void (APIENTRY * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2241 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2242
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2243 #ifndef GL_EXT_index_array_formats
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2244 #define GL_EXT_index_array_formats 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2245 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2246
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2247 #ifndef GL_EXT_compiled_vertex_array
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2248 #define GL_EXT_compiled_vertex_array 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2249 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2250 extern void APIENTRY glLockArraysEXT (GLint, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2251 extern void APIENTRY glUnlockArraysEXT (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2252 #endif /* GL_GLEXT_PROTOTYPES */
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2253 typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2254 typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void);
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2255 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2256
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2257 #ifndef GL_EXT_cull_vertex
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2258 #define GL_EXT_cull_vertex 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2259 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2260 extern void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2261 extern void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2262 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2263 typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2264 typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2265 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2266
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2267 #ifndef GL_SGIX_ycrcb
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2268 #define GL_SGIX_ycrcb 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2269 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2270
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2271 #ifndef GL_SGIX_fragment_lighting
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2272 #define GL_SGIX_fragment_lighting 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2273 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2274 extern void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2275 extern void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2276 extern void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2277 extern void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2278 extern void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2279 extern void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2280 extern void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2281 extern void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2282 extern void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2283 extern void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2284 extern void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2285 extern void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2286 extern void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2287 extern void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2288 extern void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2289 extern void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2290 extern void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2291 extern void APIENTRY glLightEnviSGIX (GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2292 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2293 typedef void (APIENTRY * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2294 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2295 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2296 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2297 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2298 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2299 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2300 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2301 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2302 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2303 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2304 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2305 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2306 typedef void (APIENTRY * PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2307 typedef void (APIENTRY * PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2308 typedef void (APIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2309 typedef void (APIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2310 typedef void (APIENTRY * PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2311 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2313 #ifndef GL_IBM_rasterpos_clip
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2314 #define GL_IBM_rasterpos_clip 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2315 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2316
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2317 #ifndef GL_HP_texture_lighting
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2318 #define GL_HP_texture_lighting 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2319 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2320
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2321 #ifndef GL_EXT_draw_range_elements
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2322 #define GL_EXT_draw_range_elements 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2323 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2324 extern void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2325 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2326 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2327 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2328
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2329 #ifndef GL_WIN_phong_shading
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2330 #define GL_WIN_phong_shading 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2331 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2332
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2333 #ifndef GL_WIN_specular_fog
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2334 #define GL_WIN_specular_fog 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2335 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2336
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2337 #ifndef GL_EXT_light_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2338 #define GL_EXT_light_texture 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2339 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2340 extern void APIENTRY glApplyTextureEXT (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2341 extern void APIENTRY glTextureLightEXT (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2342 extern void APIENTRY glTextureMaterialEXT (GLenum, GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2343 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2344 typedef void (APIENTRY * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2345 typedef void (APIENTRY * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2346 typedef void (APIENTRY * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2347 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2348
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2349 #ifndef GL_SGIX_blend_alpha_minmax
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2350 #define GL_SGIX_blend_alpha_minmax 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2351 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2352
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2353 #ifndef GL_EXT_bgra
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2354 #define GL_EXT_bgra 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2355 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2356
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2357 #ifndef GL_INTEL_parallel_arrays
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2358 #define GL_INTEL_parallel_arrays 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2359 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2360 extern void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2361 extern void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2362 extern void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2363 extern void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2364 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2365 typedef void (APIENTRY * PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2366 typedef void (APIENTRY * PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2367 typedef void (APIENTRY * PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2368 typedef void (APIENTRY * PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2369 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2370
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2371 #ifndef GL_HP_occlusion_test
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2372 #define GL_HP_occlusion_test 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2373 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2374
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2375 #ifndef GL_EXT_pixel_transform
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2376 #define GL_EXT_pixel_transform 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2377 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2378 extern void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2379 extern void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2380 extern void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2381 extern void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2382 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2383 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2384 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2385 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2386 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2387 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2388
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2389 #ifndef GL_EXT_pixel_transform_color_table
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2390 #define GL_EXT_pixel_transform_color_table 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2391 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2392
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2393 #ifndef GL_EXT_shared_texture_palette
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2394 #define GL_EXT_shared_texture_palette 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2395 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2396
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2397 #ifndef GL_EXT_separate_specular_color
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2398 #define GL_EXT_separate_specular_color 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2399 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2400
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2401 #ifndef GL_EXT_secondary_color
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2402 #define GL_EXT_secondary_color 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2403 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2404 extern void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2405 extern void APIENTRY glSecondaryColor3bvEXT (const GLbyte *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2406 extern void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2407 extern void APIENTRY glSecondaryColor3dvEXT (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2408 extern void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2409 extern void APIENTRY glSecondaryColor3fvEXT (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2410 extern void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2411 extern void APIENTRY glSecondaryColor3ivEXT (const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2412 extern void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2413 extern void APIENTRY glSecondaryColor3svEXT (const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2414 extern void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2415 extern void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2416 extern void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2417 extern void APIENTRY glSecondaryColor3uivEXT (const GLuint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2418 extern void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2419 extern void APIENTRY glSecondaryColor3usvEXT (const GLushort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2420 extern void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2421 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2422 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2423 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2424 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2425 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2426 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2427 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2428 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2429 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2430 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2431 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2432 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2433 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2434 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2435 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2436 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2437 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2438 typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2439 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2440
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2441 #ifndef GL_EXT_texture_perturb_normal
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2442 #define GL_EXT_texture_perturb_normal 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2443 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2444 extern void APIENTRY glTextureNormalEXT (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2445 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2446 typedef void (APIENTRY * PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2447 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2448
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2449 #ifndef GL_EXT_multi_draw_arrays
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2450 #define GL_EXT_multi_draw_arrays 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2451 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2452 extern void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2453 extern void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2454 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2455 typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2456 typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2457 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2458
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2459 #ifndef GL_EXT_fog_coord
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2460 #define GL_EXT_fog_coord 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2461 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2462 extern void APIENTRY glFogCoordfEXT (GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2463 extern void APIENTRY glFogCoordfvEXT (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2464 extern void APIENTRY glFogCoorddEXT (GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2465 extern void APIENTRY glFogCoorddvEXT (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2466 extern void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2467 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2468 typedef void (APIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2469 typedef void (APIENTRY * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2470 typedef void (APIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2471 typedef void (APIENTRY * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2472 typedef void (APIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2473 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2474
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2475 #ifndef GL_REND_screen_coordinates
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2476 #define GL_REND_screen_coordinates 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2477 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2478
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2479 #ifndef GL_EXT_coordinate_frame
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2480 #define GL_EXT_coordinate_frame 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2481 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2482 extern void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2483 extern void APIENTRY glTangent3bvEXT (const GLbyte *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2484 extern void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2485 extern void APIENTRY glTangent3dvEXT (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2486 extern void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2487 extern void APIENTRY glTangent3fvEXT (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2488 extern void APIENTRY glTangent3iEXT (GLint, GLint, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2489 extern void APIENTRY glTangent3ivEXT (const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2490 extern void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2491 extern void APIENTRY glTangent3svEXT (const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2492 extern void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2493 extern void APIENTRY glBinormal3bvEXT (const GLbyte *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2494 extern void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2495 extern void APIENTRY glBinormal3dvEXT (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2496 extern void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2497 extern void APIENTRY glBinormal3fvEXT (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2498 extern void APIENTRY glBinormal3iEXT (GLint, GLint, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2499 extern void APIENTRY glBinormal3ivEXT (const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2500 extern void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2501 extern void APIENTRY glBinormal3svEXT (const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2502 extern void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2503 extern void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2504 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2505 typedef void (APIENTRY * PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2506 typedef void (APIENTRY * PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2507 typedef void (APIENTRY * PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2508 typedef void (APIENTRY * PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2509 typedef void (APIENTRY * PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2510 typedef void (APIENTRY * PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2511 typedef void (APIENTRY * PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2512 typedef void (APIENTRY * PFNGLTANGENT3IVEXTPROC) (const GLint *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2513 typedef void (APIENTRY * PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2514 typedef void (APIENTRY * PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2515 typedef void (APIENTRY * PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2516 typedef void (APIENTRY * PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2517 typedef void (APIENTRY * PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2518 typedef void (APIENTRY * PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2519 typedef void (APIENTRY * PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2520 typedef void (APIENTRY * PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2521 typedef void (APIENTRY * PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2522 typedef void (APIENTRY * PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2523 typedef void (APIENTRY * PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2524 typedef void (APIENTRY * PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2525 typedef void (APIENTRY * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2526 typedef void (APIENTRY * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2527 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2528
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2529 #ifndef GL_EXT_texture_env_combine
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2530 #define GL_EXT_texture_env_combine 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2531 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2532
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2533 #ifndef GL_APPLE_specular_vector
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2534 #define GL_APPLE_specular_vector 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2535 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2536
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2537 #ifndef GL_APPLE_transform_hint
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2538 #define GL_APPLE_transform_hint 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2539 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2540
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2541 #ifndef GL_SGIX_fog_scale
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2542 #define GL_SGIX_fog_scale 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2543 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2544
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2545 #ifndef GL_SUNX_constant_data
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2546 #define GL_SUNX_constant_data 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2547 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2548 extern void APIENTRY glFinishTextureSUNX (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2549 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2550 typedef void (APIENTRY * PFNGLFINISHTEXTURESUNXPROC) (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2551 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2552
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2553 #ifndef GL_SUN_global_alpha
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2554 #define GL_SUN_global_alpha 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2555 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2556 extern void APIENTRY glGlobalAlphaFactorbSUN (GLbyte);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2557 extern void APIENTRY glGlobalAlphaFactorsSUN (GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2558 extern void APIENTRY glGlobalAlphaFactoriSUN (GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2559 extern void APIENTRY glGlobalAlphaFactorfSUN (GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2560 extern void APIENTRY glGlobalAlphaFactordSUN (GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2561 extern void APIENTRY glGlobalAlphaFactorubSUN (GLubyte);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2562 extern void APIENTRY glGlobalAlphaFactorusSUN (GLushort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2563 extern void APIENTRY glGlobalAlphaFactoruiSUN (GLuint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2564 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2565 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2566 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2567 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2568 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2569 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2570 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2571 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2572 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2573 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2574
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2575 #ifndef GL_SUN_triangle_list
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2576 #define GL_SUN_triangle_list 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2577 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2578 extern void APIENTRY glReplacementCodeuiSUN (GLuint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2579 extern void APIENTRY glReplacementCodeusSUN (GLushort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2580 extern void APIENTRY glReplacementCodeubSUN (GLubyte);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2581 extern void APIENTRY glReplacementCodeuivSUN (const GLuint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2582 extern void APIENTRY glReplacementCodeusvSUN (const GLushort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2583 extern void APIENTRY glReplacementCodeubvSUN (const GLubyte *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2584 extern void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2585 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2586 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2587 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2588 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2589 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2590 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2591 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2592 typedef void (APIENTRY * PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2593 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2594
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2595 #ifndef GL_SUN_vertex
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2596 #define GL_SUN_vertex 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2597 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2598 extern void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2599 extern void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2600 extern void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2601 extern void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2602 extern void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2603 extern void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2604 extern void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2605 extern void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2606 extern void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2607 extern void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2608 extern void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2609 extern void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2610 extern void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2611 extern void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2612 extern void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2613 extern void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2614 extern void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2615 extern void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2616 extern void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2617 extern void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2618 extern void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2619 extern void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2620 extern void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2621 extern void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2622 extern void APIENTRY glReplacementCodeuiVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2623 extern void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLenum *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2624 extern void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLenum, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2625 extern void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLenum *, const GLubyte *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2626 extern void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2627 extern void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2628 extern void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2629 extern void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2630 extern void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2631 extern void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2632 extern void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2633 extern void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2634 extern void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2635 extern void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2636 extern void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2637 extern void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2638 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2639 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2640 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2641 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2642 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2643 typedef void (APIENTRY * PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2644 typedef void (APIENTRY * PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2645 typedef void (APIENTRY * PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2646 typedef void (APIENTRY * PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2647 typedef void (APIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2648 typedef void (APIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2649 typedef void (APIENTRY * PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2650 typedef void (APIENTRY * PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2651 typedef void (APIENTRY * PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2652 typedef void (APIENTRY * PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2653 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2654 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2655 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2656 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2657 typedef void (APIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2658 typedef void (APIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2659 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2660 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2661 typedef void (APIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2662 typedef void (APIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2663 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLenum rc, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2664 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2665 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLenum rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2666 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLenum *rc, const GLubyte *c, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2667 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLenum rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2668 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *c, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2669 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2670 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *n, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2671 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2672 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2673 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLenum rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2674 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *tc, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2675 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2676 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2677 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2678 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2679 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2680
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2681 #ifndef GL_EXT_blend_func_separate
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2682 #define GL_EXT_blend_func_separate 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2683 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2684 extern void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2685 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2686 typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2687 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2688
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2689 #ifndef GL_INGR_color_clamp
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2690 #define GL_INGR_color_clamp 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2691 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2692
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2693 #ifndef GL_INGR_interlace_read
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2694 #define GL_INGR_interlace_read 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2695 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2696
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2697 #ifndef GL_EXT_stencil_wrap
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2698 #define GL_EXT_stencil_wrap 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2699 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2700
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2701 #ifndef GL_EXT_422_pixels
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2702 #define GL_EXT_422_pixels 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2703 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2704
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2705 #ifndef GL_NV_texgen_reflection
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2706 #define GL_NV_texgen_reflection 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2707 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2708
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2709 #ifndef GL_SUN_convolution_border_modes
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2710 #define GL_SUN_convolution_border_modes 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2711 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2712
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2713 #ifndef GL_EXT_texture_env_add
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2714 #define GL_EXT_texture_env_add 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2715 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2716
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2717 #ifndef GL_EXT_texture_lod_bias
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2718 #define GL_EXT_texture_lod_bias 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2719 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2720
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2721 #ifndef GL_EXT_texture_filter_anisotropic
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2722 #define GL_EXT_texture_filter_anisotropic 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2723 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2724
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2725 #ifndef GL_EXT_vertex_weighting
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2726 #define GL_EXT_vertex_weighting 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2727 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2728 extern void APIENTRY glVertexWeightfEXT (GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2729 extern void APIENTRY glVertexWeightfvEXT (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2730 extern void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2731 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2732 typedef void (APIENTRY * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2733 typedef void (APIENTRY * PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2734 typedef void (APIENTRY * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2735 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2736
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2737 #ifndef GL_NV_light_max_exponent
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2738 #define GL_NV_light_max_exponent 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2739 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2740
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2741 #ifndef GL_NV_vertex_array_range
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2742 #define GL_NV_vertex_array_range 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2743 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2744 extern void APIENTRY glFlushVertexArrayRangeNV (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2745 extern void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2746 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2747 typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2748 typedef void (APIENTRY * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei size, const GLvoid *pointer);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2749 #endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2750
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2751 #ifndef GL_NV_register_combiners
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2752 #define GL_NV_register_combiners 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2753 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2754 extern void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2755 extern void APIENTRY glCombinerParameterfNV (GLenum, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2756 extern void APIENTRY glCombinerParameterivNV (GLenum, const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2757 extern void APIENTRY glCombinerParameteriNV (GLenum, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2758 extern void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2759 extern void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2760 extern void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2761 extern void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2762 extern void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2763 #ifdef VMS
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2764 #define glGetCombinerOutputParameterfvNV glGetCombinerOutputParameterfvN
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2765 #define glGetCombinerOutputParameterivNV glGetCombinerOutputParameterivN
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2766 #define glGetFinalCombinerInputParameterfvNV glGetFinalCombinerInputParafvNV
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2767 #define glGetFinalCombinerInputParameterivNV glGetFinalCombinerInputParaivNV
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2768 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2769 extern void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2770 extern void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2771 extern void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2772 extern void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2773 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2774 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2775 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2776 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2777 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2778 typedef void (APIENTRY * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2779 typedef void (APIENTRY * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2780 typedef void (APIENTRY * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2781 typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2782 typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2783 typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2784 typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2785 typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2786 typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2787 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2788
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2789 #ifndef GL_NV_fog_distance
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2790 #define GL_NV_fog_distance 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2791 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2792
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2793 #ifndef GL_NV_texgen_emboss
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2794 #define GL_NV_texgen_emboss 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2795 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2796
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2797 #ifndef GL_NV_blend_square
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2798 #define GL_NV_blend_square 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2799 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2800
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2801 #ifndef GL_NV_texture_env_combine4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2802 #define GL_NV_texture_env_combine4 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2803 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2804
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2805 #ifndef GL_MESA_resize_buffers
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2806 #define GL_MESA_resize_buffers 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2807 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2808 extern void APIENTRY glResizeBuffersMESA (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2809 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2810 typedef void (APIENTRY * PFNGLRESIZEBUFFERSMESAPROC) (void);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2811 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2812
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2813 #ifndef GL_MESA_window_pos
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2814 #define GL_MESA_window_pos 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2815 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2816 extern void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2817 extern void APIENTRY glWindowPos2dvMESA (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2818 extern void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2819 extern void APIENTRY glWindowPos2fvMESA (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2820 extern void APIENTRY glWindowPos2iMESA (GLint, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2821 extern void APIENTRY glWindowPos2ivMESA (const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2822 extern void APIENTRY glWindowPos2sMESA (GLshort, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2823 extern void APIENTRY glWindowPos2svMESA (const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2824 extern void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2825 extern void APIENTRY glWindowPos3dvMESA (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2826 extern void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2827 extern void APIENTRY glWindowPos3fvMESA (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2828 extern void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2829 extern void APIENTRY glWindowPos3ivMESA (const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2830 extern void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2831 extern void APIENTRY glWindowPos3svMESA (const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2832 extern void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2833 extern void APIENTRY glWindowPos4dvMESA (const GLdouble *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2834 extern void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2835 extern void APIENTRY glWindowPos4fvMESA (const GLfloat *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2836 extern void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2837 extern void APIENTRY glWindowPos4ivMESA (const GLint *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2838 extern void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2839 extern void APIENTRY glWindowPos4svMESA (const GLshort *);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2840 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2841 typedef void (APIENTRY * PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2842 typedef void (APIENTRY * PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2843 typedef void (APIENTRY * PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2844 typedef void (APIENTRY * PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2845 typedef void (APIENTRY * PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2846 typedef void (APIENTRY * PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2847 typedef void (APIENTRY * PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2848 typedef void (APIENTRY * PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2849 typedef void (APIENTRY * PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2850 typedef void (APIENTRY * PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2851 typedef void (APIENTRY * PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2852 typedef void (APIENTRY * PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2853 typedef void (APIENTRY * PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2854 typedef void (APIENTRY * PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2855 typedef void (APIENTRY * PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2856 typedef void (APIENTRY * PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2857 typedef void (APIENTRY * PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2858 typedef void (APIENTRY * PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2859 typedef void (APIENTRY * PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2860 typedef void (APIENTRY * PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2861 typedef void (APIENTRY * PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2862 typedef void (APIENTRY * PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2863 typedef void (APIENTRY * PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2864 typedef void (APIENTRY * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2865 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2866
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2867 #ifndef GL_IBM_cull_vertex
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2868 #define GL_IBM_cull_vertex 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2869 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2870
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2871 #ifndef GL_IBM_multimode_draw_arrays
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2872 #define GL_IBM_multimode_draw_arrays 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2873 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2874 extern void APIENTRY glMultiModeDrawArraysIBM (GLenum, const GLint *, const GLsizei *, GLsizei, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2875 extern void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* *, GLsizei, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2876 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2877 typedef void (APIENTRY * PFNGLMULTIMODEDRAWARRAYSIBMPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2878 typedef void (APIENTRY * PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, GLint modestride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2879 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2880
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2881 #ifndef GL_IBM_vertex_array_lists
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2882 #define GL_IBM_vertex_array_lists 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2883 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2884 extern void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2885 extern void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2886 extern void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2887 extern void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2888 extern void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2889 extern void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2890 extern void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2891 extern void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2892 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2893 typedef void (APIENTRY * PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2894 typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2895 typedef void (APIENTRY * PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2896 typedef void (APIENTRY * PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2897 typedef void (APIENTRY * PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2898 typedef void (APIENTRY * PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2899 typedef void (APIENTRY * PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2900 typedef void (APIENTRY * PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2901 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2902
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2903 #ifndef GL_SGIX_subsample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2904 #define GL_SGIX_subsample 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2905 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2906
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2907 #ifndef GL_SGIX_ycrcba
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2908 #define GL_SGIX_ycrcba 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2909 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2910
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2911 #ifndef GL_SGIX_ycrcb_subsample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2912 #define GL_SGIX_ycrcb_subsample 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2913 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2914
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2915 #ifndef GL_SGIX_depth_pass_instrument
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2916 #define GL_SGIX_depth_pass_instrument 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2917 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2918
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2919 #ifndef GL_3DFX_texture_compression_FXT1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2920 #define GL_3DFX_texture_compression_FXT1 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2921 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2922
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2923 #ifndef GL_3DFX_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2924 #define GL_3DFX_multisample 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2925 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2926
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2927 #ifndef GL_3DFX_tbuffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2928 #define GL_3DFX_tbuffer 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2929 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2930 extern void APIENTRY glTbufferMask3DFX (GLuint);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2931 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2932 typedef void (APIENTRY * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2933 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2934
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2935 #ifndef GL_EXT_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2936 #define GL_EXT_multisample 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2937 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2938 extern void APIENTRY glSampleMaskEXT (GLclampf, GLboolean);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2939 extern void APIENTRY glSamplePatternEXT (GLenum);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2940 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2941 typedef void (APIENTRY * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2942 typedef void (APIENTRY * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2943 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2944
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2945 #ifndef GL_SGI_vertex_preclip
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2946 #define GL_SGI_vertex_preclip 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2947 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2948
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2949 #ifndef GL_SGIX_convolution_accuracy
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2950 #define GL_SGIX_convolution_accuracy 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2951 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2952
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2953 #ifndef GL_SGIX_resample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2954 #define GL_SGIX_resample 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2955 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2956
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2957 #ifndef GL_SGIS_point_line_texgen
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2958 #define GL_SGIS_point_line_texgen 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2959 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2960
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2961 #ifndef GL_SGIS_texture_color_mask
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2962 #define GL_SGIS_texture_color_mask 1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2963 #ifdef GL_GLEXT_PROTOTYPES
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2964 extern void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2965 #endif /* GL_GLEXT_PROTOTYPES */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2966 typedef void (APIENTRY * PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2967 #endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
2968
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2969
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2970 #ifdef __cplusplus
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2971 }
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2972 #endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2973
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2974 #endif /* __glext_h_ */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2975 #endif /* NO_SDL_GLEXT */