include/SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 14 Dec 2001 12:37:47 +0000
changeset 251 b8688cfdc232
parent 242 4bcb29d3769c
child 297 f6ffac90895c
permissions -rw-r--r--
Updated the headers with the correct e-mail address
slouken@214
     1
/*
slouken@214
     2
    SDL - Simple DirectMedia Layer
slouken@214
     3
    Copyright (C) 1997, 1998, 1999, 2000, 2001  Sam Lantinga
slouken@214
     4
slouken@214
     5
    This library is free software; you can redistribute it and/or
slouken@214
     6
    modify it under the terms of the GNU Library General Public
slouken@214
     7
    License as published by the Free Software Foundation; either
slouken@214
     8
    version 2 of the License, or (at your option) any later version.
slouken@214
     9
slouken@214
    10
    This library is distributed in the hope that it will be useful,
slouken@214
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@214
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@214
    13
    Library General Public License for more details.
slouken@214
    14
slouken@214
    15
    You should have received a copy of the GNU Library General Public
slouken@214
    16
    License along with this library; if not, write to the Free
slouken@214
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
slouken@214
    18
slouken@214
    19
    Sam Lantinga
slouken@251
    20
    slouken@libsdl.org
slouken@214
    21
*/
slouken@214
    22
slouken@214
    23
#ifdef SAVE_RCSID
slouken@214
    24
static char rcsid =
slouken@214
    25
 "@(#) $Id$";
slouken@214
    26
#endif
slouken@214
    27
slouken@214
    28
/* This is a simple file to encapsulate the OpenGL API headers */
slouken@214
    29
slouken@214
    30
#ifdef WIN32
slouken@214
    31
#define WIN32_LEAN_AND_MEAN
slouken@214
    32
#include <windows.h>
slouken@214
    33
#endif
slouken@214
    34
#if defined(__APPLE__) && defined(__MACH__)
slouken@214
    35
#include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
slouken@214
    36
#include <OpenGL/glu.h>	/* Header File For The GLU Library */
slouken@214
    37
#else
slouken@214
    38
#ifndef NO_SDL_GLEXT
slouken@214
    39
#define __glext_h_  /* Don't let gl.h include glext.h */
slouken@214
    40
#endif
slouken@214
    41
#include <GL/gl.h>	/* Header File For The OpenGL Library */
slouken@214
    42
#include <GL/glu.h>	/* Header File For The GLU Library */
slouken@214
    43
#ifndef NO_SDL_GLEXT
slouken@214
    44
#undef __glext_h_
slouken@214
    45
#endif
slouken@214
    46
#endif
slouken@214
    47
slouken@214
    48
/* This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials.
slouken@214
    49
   It is included here because glext.h is not available on some systems.
slouken@214
    50
   If you don't want this version included, simply define "NO_SDL_GLEXT"
slouken@214
    51
 */
slouken@214
    52
#ifndef NO_SDL_GLEXT
slouken@242
    53
#if !defined(__glext_h_) && !defined(GL_GLEXT_LEGACY)
slouken@214
    54
#define __glext_h_
slouken@214
    55
slouken@214
    56
#ifdef __cplusplus
slouken@214
    57
extern "C" {
slouken@214
    58
#endif
slouken@214
    59
slouken@214
    60
#ifndef APIENTRY
slouken@214
    61
#define APIENTRY
slouken@214
    62
#endif
slouken@214
    63
slouken@214
    64
/*
slouken@214
    65
** Copyright 1992-1999 Silicon Graphics, Inc.
slouken@214
    66
** All Rights Reserved.
slouken@214
    67
**
slouken@214
    68
** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
slouken@214
    69
** the contents of this file may not be disclosed to third parties, copied or
slouken@214
    70
** duplicated in any form, in whole or in part, without the prior written
slouken@214
    71
** permission of Silicon Graphics, Inc.
slouken@214
    72
**
slouken@214
    73
** RESTRICTED RIGHTS LEGEND:
slouken@214
    74
** Use, duplication or disclosure by the Government is subject to restrictions
slouken@214
    75
** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
slouken@214
    76
** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
slouken@214
    77
** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
slouken@214
    78
** rights reserved under the Copyright Laws of the United States.
slouken@214
    79
*/
slouken@214
    80
slouken@214
    81
#define GL_ARB_multitexture                 1
slouken@214
    82
#define GL_EXT_abgr                         1
slouken@214
    83
#define GL_EXT_bgra                         1
slouken@214
    84
#define GL_EXT_clip_volume_hint             1
slouken@214
    85
#define GL_EXT_compiled_vertex_array        1
slouken@214
    86
#define GL_EXT_cull_vertex                  1
slouken@214
    87
#define GL_EXT_packed_pixels                1
slouken@214
    88
#define GL_EXT_point_parameters             1
slouken@214
    89
#define GL_EXT_stencil_wrap                 1
slouken@214
    90
#define GL_EXT_texture_env_add              1
slouken@214
    91
#define GL_EXT_texture_env_combine          1
slouken@214
    92
#define GL_EXT_vertex_array                 1
slouken@214
    93
#define GL_NV_texgen_reflection             1
slouken@214
    94
#define GL_NV_texture_env_combine4          1
slouken@214
    95
#define GL_WIN_swap_hint                    1
slouken@214
    96
slouken@214
    97
/* EXT_abgr */
slouken@214
    98
#define GL_ABGR_EXT                         0x8000
slouken@214
    99
slouken@214
   100
/* EXT_packed_pixels */
slouken@214
   101
#define GL_UNSIGNED_BYTE_3_3_2_EXT          0x8032
slouken@214
   102
#define GL_UNSIGNED_SHORT_4_4_4_4_EXT       0x8033
slouken@214
   103
#define GL_UNSIGNED_SHORT_5_5_5_1_EXT       0x8034
slouken@214
   104
#define GL_UNSIGNED_INT_8_8_8_8_EXT         0x8035
slouken@214
   105
#define GL_UNSIGNED_INT_10_10_10_2_EXT      0x8036
slouken@214
   106
slouken@214
   107
/* EXT_vertex_array */
slouken@214
   108
#define GL_VERTEX_ARRAY_EXT                 0x8074
slouken@214
   109
#define GL_NORMAL_ARRAY_EXT                 0x8075
slouken@214
   110
#define GL_COLOR_ARRAY_EXT                  0x8076
slouken@214
   111
#define GL_INDEX_ARRAY_EXT                  0x8077
slouken@214
   112
#define GL_TEXTURE_COORD_ARRAY_EXT          0x8078
slouken@214
   113
#define GL_EDGE_FLAG_ARRAY_EXT              0x8079
slouken@214
   114
#define GL_VERTEX_ARRAY_SIZE_EXT            0x807A
slouken@214
   115
#define GL_VERTEX_ARRAY_TYPE_EXT            0x807B
slouken@214
   116
#define GL_VERTEX_ARRAY_STRIDE_EXT          0x807C
slouken@214
   117
#define GL_VERTEX_ARRAY_COUNT_EXT           0x807D
slouken@214
   118
#define GL_NORMAL_ARRAY_TYPE_EXT            0x807E
slouken@214
   119
#define GL_NORMAL_ARRAY_STRIDE_EXT          0x807F
slouken@214
   120
#define GL_NORMAL_ARRAY_COUNT_EXT           0x8080
slouken@214
   121
#define GL_COLOR_ARRAY_SIZE_EXT             0x8081
slouken@214
   122
#define GL_COLOR_ARRAY_TYPE_EXT             0x8082
slouken@214
   123
#define GL_COLOR_ARRAY_STRIDE_EXT           0x8083
slouken@214
   124
#define GL_COLOR_ARRAY_COUNT_EXT            0x8084
slouken@214
   125
#define GL_INDEX_ARRAY_TYPE_EXT             0x8085
slouken@214
   126
#define GL_INDEX_ARRAY_STRIDE_EXT           0x8086
slouken@214
   127
#define GL_INDEX_ARRAY_COUNT_EXT            0x8087
slouken@214
   128
#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT     0x8088
slouken@214
   129
#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT     0x8089
slouken@214
   130
#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT   0x808A
slouken@214
   131
#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT    0x808B
slouken@214
   132
#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT       0x808C
slouken@214
   133
#define GL_EDGE_FLAG_ARRAY_COUNT_EXT        0x808D
slouken@214
   134
#define GL_VERTEX_ARRAY_POINTER_EXT         0x808E
slouken@214
   135
#define GL_NORMAL_ARRAY_POINTER_EXT         0x808F
slouken@214
   136
#define GL_COLOR_ARRAY_POINTER_EXT          0x8090
slouken@214
   137
#define GL_INDEX_ARRAY_POINTER_EXT          0x8091
slouken@214
   138
#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT  0x8092
slouken@214
   139
#define GL_EDGE_FLAG_ARRAY_POINTER_EXT      0x8093
slouken@214
   140
slouken@214
   141
/* EXT_bgra */
slouken@214
   142
#define GL_BGR_EXT                          0x80E0
slouken@214
   143
#define GL_BGRA_EXT                         0x80E1
slouken@214
   144
slouken@214
   145
/* EXT_clip_volume_hint */
slouken@214
   146
#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT    0x80F0
slouken@214
   147
slouken@214
   148
/* EXT_point_parameters */
slouken@214
   149
#define GL_POINT_SIZE_MIN_EXT               0x8126
slouken@214
   150
#define GL_POINT_SIZE_MAX_EXT               0x8127
slouken@214
   151
#define GL_POINT_FADE_THRESHOLD_SIZE_EXT    0x8128
slouken@214
   152
#define GL_DISTANCE_ATTENUATION_EXT         0x8129
slouken@214
   153
slouken@214
   154
/* EXT_compiled_vertex_array */
slouken@214
   155
#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT     0x81A8
slouken@214
   156
#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT     0x81A9
slouken@214
   157
slouken@214
   158
/* EXT_cull_vertex */
slouken@214
   159
#define GL_CULL_VERTEX_EXT                  0x81AA
slouken@214
   160
#define GL_CULL_VERTEX_EYE_POSITION_EXT     0x81AB
slouken@214
   161
#define GL_CULL_VERTEX_OBJECT_POSITION_EXT  0x81AC
slouken@214
   162
slouken@214
   163
/* ARB_multitexture */
slouken@214
   164
#define GL_ACTIVE_TEXTURE_ARB               0x84E0
slouken@214
   165
#define GL_CLIENT_ACTIVE_TEXTURE_ARB        0x84E1
slouken@214
   166
#define GL_MAX_TEXTURE_UNITS_ARB            0x84E2
slouken@214
   167
#define GL_TEXTURE0_ARB                     0x84C0
slouken@214
   168
#define GL_TEXTURE1_ARB                     0x84C1
slouken@214
   169
#define GL_TEXTURE2_ARB                     0x84C2
slouken@214
   170
#define GL_TEXTURE3_ARB                     0x84C3
slouken@214
   171
#define GL_TEXTURE4_ARB                     0x84C4
slouken@214
   172
#define GL_TEXTURE5_ARB                     0x84C5
slouken@214
   173
#define GL_TEXTURE6_ARB                     0x84C6
slouken@214
   174
#define GL_TEXTURE7_ARB                     0x84C7
slouken@214
   175
#define GL_TEXTURE8_ARB                     0x84C8
slouken@214
   176
#define GL_TEXTURE9_ARB                     0x84C9
slouken@214
   177
#define GL_TEXTURE10_ARB                    0x84CA
slouken@214
   178
#define GL_TEXTURE11_ARB                    0x84CB
slouken@214
   179
#define GL_TEXTURE12_ARB                    0x84CC
slouken@214
   180
#define GL_TEXTURE13_ARB                    0x84CD
slouken@214
   181
#define GL_TEXTURE14_ARB                    0x84CE
slouken@214
   182
#define GL_TEXTURE15_ARB                    0x84CF
slouken@214
   183
#define GL_TEXTURE16_ARB                    0x84D0
slouken@214
   184
#define GL_TEXTURE17_ARB                    0x84D1
slouken@214
   185
#define GL_TEXTURE18_ARB                    0x84D2
slouken@214
   186
#define GL_TEXTURE19_ARB                    0x84D3
slouken@214
   187
#define GL_TEXTURE20_ARB                    0x84D4
slouken@214
   188
#define GL_TEXTURE21_ARB                    0x84D5
slouken@214
   189
#define GL_TEXTURE22_ARB                    0x84D6
slouken@214
   190
#define GL_TEXTURE23_ARB                    0x84D7
slouken@214
   191
#define GL_TEXTURE24_ARB                    0x84D8
slouken@214
   192
#define GL_TEXTURE25_ARB                    0x84D9
slouken@214
   193
#define GL_TEXTURE26_ARB                    0x84DA
slouken@214
   194
#define GL_TEXTURE27_ARB                    0x84DB
slouken@214
   195
#define GL_TEXTURE28_ARB                    0x84DC
slouken@214
   196
#define GL_TEXTURE29_ARB                    0x84DD
slouken@214
   197
#define GL_TEXTURE30_ARB                    0x84DE
slouken@214
   198
#define GL_TEXTURE31_ARB                    0x84DF
slouken@214
   199
slouken@214
   200
/* EXT_stencil_wrap */
slouken@214
   201
#define GL_INCR_WRAP_EXT                    0x8507
slouken@214
   202
#define GL_DECR_WRAP_EXT                    0x8508
slouken@214
   203
slouken@214
   204
/* NV_texgen_reflection */
slouken@214
   205
#define GL_NORMAL_MAP_NV                    0x8511
slouken@214
   206
#define GL_REFLECTION_MAP_NV                0x8512
slouken@214
   207
slouken@214
   208
/* EXT_texture_env_combine */
slouken@214
   209
#define GL_COMBINE_EXT                      0x8570
slouken@214
   210
#define GL_COMBINE_RGB_EXT                  0x8571
slouken@214
   211
#define GL_COMBINE_ALPHA_EXT                0x8572
slouken@214
   212
#define GL_RGB_SCALE_EXT                    0x8573
slouken@214
   213
#define GL_ADD_SIGNED_EXT                   0x8574
slouken@214
   214
#define GL_INTERPOLATE_EXT                  0x8575
slouken@214
   215
#define GL_CONSTANT_EXT                     0x8576
slouken@214
   216
#define GL_PRIMARY_COLOR_EXT                0x8577
slouken@214
   217
#define GL_PREVIOUS_EXT                     0x8578
slouken@214
   218
#define GL_SOURCE0_RGB_EXT                  0x8580
slouken@214
   219
#define GL_SOURCE1_RGB_EXT                  0x8581
slouken@214
   220
#define GL_SOURCE2_RGB_EXT                  0x8582
slouken@214
   221
#define GL_SOURCE0_ALPHA_EXT                0x8588
slouken@214
   222
#define GL_SOURCE1_ALPHA_EXT                0x8589
slouken@214
   223
#define GL_SOURCE2_ALPHA_EXT                0x858A
slouken@214
   224
#define GL_OPERAND0_RGB_EXT                 0x8590
slouken@214
   225
#define GL_OPERAND1_RGB_EXT                 0x8591
slouken@214
   226
#define GL_OPERAND2_RGB_EXT                 0x8592
slouken@214
   227
#define GL_OPERAND0_ALPHA_EXT               0x8598
slouken@214
   228
#define GL_OPERAND1_ALPHA_EXT               0x8599
slouken@214
   229
#define GL_OPERAND2_ALPHA_EXT               0x859A
slouken@214
   230
slouken@214
   231
/* NV_texture_env_combine4 */
slouken@214
   232
#define GL_COMBINE4_NV                      0x8503
slouken@214
   233
#define GL_SOURCE3_RGB_NV                   0x8583
slouken@214
   234
#define GL_SOURCE3_ALPHA_NV                 0x858B
slouken@214
   235
#define GL_OPERAND3_RGB_NV                  0x8593
slouken@214
   236
#define GL_OPERAND3_ALPHA_NV                0x859B
slouken@214
   237
slouken@214
   238
/*************************************************************/
slouken@214
   239
slouken@214
   240
/* EXT_vertex_array */
slouken@214
   241
typedef void (APIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i);
slouken@214
   242
typedef void (APIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
slouken@214
   243
typedef void (APIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
slouken@214
   244
typedef void (APIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
slouken@214
   245
typedef void (APIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
slouken@214
   246
typedef void (APIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
slouken@214
   247
typedef void (APIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
slouken@214
   248
typedef void (APIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
slouken@214
   249
typedef void (APIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
slouken@214
   250
slouken@214
   251
/* ARB_multitexture */
slouken@214
   252
typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
slouken@214
   253
typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
slouken@214
   254
typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
slouken@214
   255
typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
slouken@214
   256
typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
slouken@214
   257
typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
slouken@214
   258
typedef void (APIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
slouken@214
   259
typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
slouken@214
   260
typedef void (APIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
slouken@214
   261
typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
slouken@214
   262
typedef void (APIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
slouken@214
   263
typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
slouken@214
   264
typedef void (APIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
slouken@214
   265
typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
slouken@214
   266
typedef void (APIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
slouken@214
   267
typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
slouken@214
   268
typedef void (APIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
slouken@214
   269
typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
slouken@214
   270
typedef void (APIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
slouken@214
   271
typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
slouken@214
   272
typedef void (APIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
slouken@214
   273
typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
slouken@214
   274
typedef void (APIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
slouken@214
   275
typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
slouken@214
   276
typedef void (APIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
slouken@214
   277
typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
slouken@214
   278
typedef void (APIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
slouken@214
   279
typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
slouken@214
   280
typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
slouken@214
   281
typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
slouken@214
   282
typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
slouken@214
   283
typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
slouken@214
   284
typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum target);
slouken@214
   285
typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum target);
slouken@214
   286
slouken@214
   287
/* EXT_compiled_vertex_array */
slouken@214
   288
typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
slouken@214
   289
typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void);
slouken@214
   290
slouken@214
   291
/* EXT_cull_vertex */
slouken@214
   292
typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble* params);
slouken@214
   293
typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat* params);
slouken@214
   294
slouken@214
   295
/* WIN_swap_hint */
slouken@214
   296
typedef void (APIENTRY * PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
slouken@214
   297
slouken@214
   298
/* EXT_point_parameter */
slouken@214
   299
typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
slouken@214
   300
typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
slouken@214
   301
slouken@214
   302
#ifdef __cplusplus
slouken@214
   303
}
slouken@214
   304
#endif
slouken@214
   305
slouken@214
   306
#endif /* __glext_h_ */
slouken@214
   307
#endif /* NO_SDL_GLEXT */