svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22205:22290
[blender-staging.git] / extern / glew / src / glew.c
1 /*
2 ** The OpenGL Extension Wrangler Library
3 ** Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
4 ** Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
5 ** Copyright (C) 2002, Lev Povalahev
6 ** All rights reserved.
7 ** 
8 ** Redistribution and use in source and binary forms, with or without 
9 ** modification, are permitted provided that the following conditions are met:
10 ** 
11 ** * Redistributions of source code must retain the above copyright notice, 
12 **   this list of conditions and the following disclaimer.
13 ** * Redistributions in binary form must reproduce the above copyright notice, 
14 **   this list of conditions and the following disclaimer in the documentation 
15 **   and/or other materials provided with the distribution.
16 ** * The name of the author may be used to endorse or promote products 
17 **   derived from this software without specific prior written permission.
18 **
19 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
20 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
21 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
23 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
24 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
25 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 ** THE POSSIBILITY OF SUCH DAMAGE.
30 */
31
32 #include <GL/glew.h>
33 #if defined(_WIN32)
34 #  include <GL/wglew.h>
35 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
36 #  include <GL/glxew.h>
37 #endif
38
39 /*
40  * Define glewGetContext and related helper macros.
41  */
42 #ifdef GLEW_MX
43 #  define glewGetContext() ctx
44 #  ifdef _WIN32
45 #    define GLEW_CONTEXT_ARG_DEF_INIT GLEWContext* ctx
46 #    define GLEW_CONTEXT_ARG_VAR_INIT ctx
47 #    define wglewGetContext() ctx
48 #    define WGLEW_CONTEXT_ARG_DEF_INIT WGLEWContext* ctx
49 #    define WGLEW_CONTEXT_ARG_DEF_LIST WGLEWContext* ctx
50 #  else /* _WIN32 */
51 #    define GLEW_CONTEXT_ARG_DEF_INIT void
52 #    define GLEW_CONTEXT_ARG_VAR_INIT
53 #    define glxewGetContext() ctx
54 #    define GLXEW_CONTEXT_ARG_DEF_INIT void
55 #    define GLXEW_CONTEXT_ARG_DEF_LIST GLXEWContext* ctx
56 #  endif /* _WIN32 */
57 #  define GLEW_CONTEXT_ARG_DEF_LIST GLEWContext* ctx
58 #else /* GLEW_MX */
59 #  define GLEW_CONTEXT_ARG_DEF_INIT void
60 #  define GLEW_CONTEXT_ARG_VAR_INIT
61 #  define GLEW_CONTEXT_ARG_DEF_LIST void
62 #  define WGLEW_CONTEXT_ARG_DEF_INIT void
63 #  define WGLEW_CONTEXT_ARG_DEF_LIST void
64 #  define GLXEW_CONTEXT_ARG_DEF_INIT void
65 #  define GLXEW_CONTEXT_ARG_DEF_LIST void
66 #endif /* GLEW_MX */
67
68 #if defined(__APPLE__)
69 #include <mach-o/dyld.h>
70 #include <stdlib.h>
71 #include <string.h>
72
73 void* NSGLGetProcAddress (const GLubyte *name)
74 {
75   NSSymbol symbol;
76   char* symbolName;
77   /* prepend a '_' for the Unix C symbol mangling convention */
78   symbolName = malloc(strlen((const char*)name) + 2);
79   strcpy(symbolName+1, (const char*)name);
80   symbolName[0] = '_';
81   symbol = NULL;
82   if (NSIsSymbolNameDefined(symbolName))
83     symbol = NSLookupAndBindSymbol(symbolName);
84   free(symbolName);
85   return symbol ? NSAddressOfSymbol(symbol) : NULL;
86 }
87 #endif /* __APPLE__ */
88
89 #if defined(__sgi) || defined (__sun)
90 #include <dlfcn.h>
91 #include <stdio.h>
92 #include <stdlib.h>
93
94 void* dlGetProcAddress (const GLubyte* name)
95 {
96   static void* h = NULL;
97   static void* gpa;
98
99   if (h == NULL)
100   {
101     if ((h = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL)) == NULL) return NULL;
102     gpa = dlsym(h, "glXGetProcAddress");
103   }
104
105   if (gpa != NULL)
106     return ((void*(*)(const GLubyte*))gpa)(name);
107   else
108     return dlsym(h, (const char*)name);
109 }
110 #endif /* __sgi || __sun */
111
112 /*
113  * Define glewGetProcAddress.
114  */
115 #if defined(_WIN32)
116 #  define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name)
117 #else
118 #  if defined(__APPLE__)
119 #    define glewGetProcAddress(name) NSGLGetProcAddress(name)
120 #  else
121 #    if defined(__sgi) || defined(__sun)
122 #      define glewGetProcAddress(name) dlGetProcAddress(name)
123 #    else /* __linux */
124 #      define glewGetProcAddress(name) (*glXGetProcAddressARB)(name)
125 #    endif
126 #  endif
127 #endif
128
129 /*
130  * GLEW, just like OpenGL or GLU, does not rely on the standard C library.
131  * These functions implement the functionality required in this file.
132  */
133
134 static GLuint _glewStrLen (const GLubyte* s)
135 {
136   GLuint i=0;
137   if (s == NULL) return 0;
138   while (s[i] != '\0') i++;
139   return i;
140 }
141
142 static GLuint _glewStrCLen (const GLubyte* s, GLubyte c)
143 {
144   GLuint i=0;
145   if (s == NULL) return 0;
146   while (s[i] != '\0' && s[i] != c) i++;
147   return s[i] == c ? i : 0;
148 }
149
150 static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n)
151 {
152   GLuint i=0;
153   if(a == NULL || b == NULL)
154     return (a == NULL && b == NULL && n == 0) ? GL_TRUE : GL_FALSE;
155   while (i < n && a[i] != '\0' && b[i] != '\0' && a[i] == b[i]) i++;
156   return i == n ? GL_TRUE : GL_FALSE;
157 }
158
159 static GLboolean _glewStrSame1 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
160 {
161   while (*na > 0 && (**a == ' ' || **a == '\n' || **a == '\r' || **a == '\t'))
162   {
163     (*a)++;
164     (*na)--;
165   }
166   if(*na >= nb)
167   {
168     GLuint i=0;
169     while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
170         if(i == nb)
171         {
172                 *a = *a + nb;
173                 *na = *na - nb;
174                 return GL_TRUE;
175         }
176   }
177   return GL_FALSE;
178 }
179
180 static GLboolean _glewStrSame2 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
181 {
182   if(*na >= nb)
183   {
184     GLuint i=0;
185     while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
186         if(i == nb)
187         {
188                 *a = *a + nb;
189                 *na = *na - nb;
190                 return GL_TRUE;
191         }
192   }
193   return GL_FALSE;
194 }
195
196 static GLboolean _glewStrSame3 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
197 {
198   if(*na >= nb)
199   {
200     GLuint i=0;
201     while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
202     if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t'))
203     {
204       *a = *a + nb;
205       *na = *na - nb;
206       return GL_TRUE;
207     }
208   }
209   return GL_FALSE;
210 }
211
212 #if !defined(_WIN32) || !defined(GLEW_MX)
213
214 PFNGLCOPYTEXSUBIMAGE3DPROC __glewCopyTexSubImage3D = NULL;
215 PFNGLDRAWRANGEELEMENTSPROC __glewDrawRangeElements = NULL;
216 PFNGLTEXIMAGE3DPROC __glewTexImage3D = NULL;
217 PFNGLTEXSUBIMAGE3DPROC __glewTexSubImage3D = NULL;
218
219 PFNGLACTIVETEXTUREPROC __glewActiveTexture = NULL;
220 PFNGLCLIENTACTIVETEXTUREPROC __glewClientActiveTexture = NULL;
221 PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D = NULL;
222 PFNGLCOMPRESSEDTEXIMAGE2DPROC __glewCompressedTexImage2D = NULL;
223 PFNGLCOMPRESSEDTEXIMAGE3DPROC __glewCompressedTexImage3D = NULL;
224 PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D = NULL;
225 PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC __glewCompressedTexSubImage2D = NULL;
226 PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC __glewCompressedTexSubImage3D = NULL;
227 PFNGLGETCOMPRESSEDTEXIMAGEPROC __glewGetCompressedTexImage = NULL;
228 PFNGLLOADTRANSPOSEMATRIXDPROC __glewLoadTransposeMatrixd = NULL;
229 PFNGLLOADTRANSPOSEMATRIXFPROC __glewLoadTransposeMatrixf = NULL;
230 PFNGLMULTTRANSPOSEMATRIXDPROC __glewMultTransposeMatrixd = NULL;
231 PFNGLMULTTRANSPOSEMATRIXFPROC __glewMultTransposeMatrixf = NULL;
232 PFNGLMULTITEXCOORD1DPROC __glewMultiTexCoord1d = NULL;
233 PFNGLMULTITEXCOORD1DVPROC __glewMultiTexCoord1dv = NULL;
234 PFNGLMULTITEXCOORD1FPROC __glewMultiTexCoord1f = NULL;
235 PFNGLMULTITEXCOORD1FVPROC __glewMultiTexCoord1fv = NULL;
236 PFNGLMULTITEXCOORD1IPROC __glewMultiTexCoord1i = NULL;
237 PFNGLMULTITEXCOORD1IVPROC __glewMultiTexCoord1iv = NULL;
238 PFNGLMULTITEXCOORD1SPROC __glewMultiTexCoord1s = NULL;
239 PFNGLMULTITEXCOORD1SVPROC __glewMultiTexCoord1sv = NULL;
240 PFNGLMULTITEXCOORD2DPROC __glewMultiTexCoord2d = NULL;
241 PFNGLMULTITEXCOORD2DVPROC __glewMultiTexCoord2dv = NULL;
242 PFNGLMULTITEXCOORD2FPROC __glewMultiTexCoord2f = NULL;
243 PFNGLMULTITEXCOORD2FVPROC __glewMultiTexCoord2fv = NULL;
244 PFNGLMULTITEXCOORD2IPROC __glewMultiTexCoord2i = NULL;
245 PFNGLMULTITEXCOORD2IVPROC __glewMultiTexCoord2iv = NULL;
246 PFNGLMULTITEXCOORD2SPROC __glewMultiTexCoord2s = NULL;
247 PFNGLMULTITEXCOORD2SVPROC __glewMultiTexCoord2sv = NULL;
248 PFNGLMULTITEXCOORD3DPROC __glewMultiTexCoord3d = NULL;
249 PFNGLMULTITEXCOORD3DVPROC __glewMultiTexCoord3dv = NULL;
250 PFNGLMULTITEXCOORD3FPROC __glewMultiTexCoord3f = NULL;
251 PFNGLMULTITEXCOORD3FVPROC __glewMultiTexCoord3fv = NULL;
252 PFNGLMULTITEXCOORD3IPROC __glewMultiTexCoord3i = NULL;
253 PFNGLMULTITEXCOORD3IVPROC __glewMultiTexCoord3iv = NULL;
254 PFNGLMULTITEXCOORD3SPROC __glewMultiTexCoord3s = NULL;
255 PFNGLMULTITEXCOORD3SVPROC __glewMultiTexCoord3sv = NULL;
256 PFNGLMULTITEXCOORD4DPROC __glewMultiTexCoord4d = NULL;
257 PFNGLMULTITEXCOORD4DVPROC __glewMultiTexCoord4dv = NULL;
258 PFNGLMULTITEXCOORD4FPROC __glewMultiTexCoord4f = NULL;
259 PFNGLMULTITEXCOORD4FVPROC __glewMultiTexCoord4fv = NULL;
260 PFNGLMULTITEXCOORD4IPROC __glewMultiTexCoord4i = NULL;
261 PFNGLMULTITEXCOORD4IVPROC __glewMultiTexCoord4iv = NULL;
262 PFNGLMULTITEXCOORD4SPROC __glewMultiTexCoord4s = NULL;
263 PFNGLMULTITEXCOORD4SVPROC __glewMultiTexCoord4sv = NULL;
264 PFNGLSAMPLECOVERAGEPROC __glewSampleCoverage = NULL;
265
266 PFNGLBLENDCOLORPROC __glewBlendColor = NULL;
267 PFNGLBLENDEQUATIONPROC __glewBlendEquation = NULL;
268 PFNGLBLENDFUNCSEPARATEPROC __glewBlendFuncSeparate = NULL;
269 PFNGLFOGCOORDPOINTERPROC __glewFogCoordPointer = NULL;
270 PFNGLFOGCOORDDPROC __glewFogCoordd = NULL;
271 PFNGLFOGCOORDDVPROC __glewFogCoorddv = NULL;
272 PFNGLFOGCOORDFPROC __glewFogCoordf = NULL;
273 PFNGLFOGCOORDFVPROC __glewFogCoordfv = NULL;
274 PFNGLMULTIDRAWARRAYSPROC __glewMultiDrawArrays = NULL;
275 PFNGLMULTIDRAWELEMENTSPROC __glewMultiDrawElements = NULL;
276 PFNGLPOINTPARAMETERFPROC __glewPointParameterf = NULL;
277 PFNGLPOINTPARAMETERFVPROC __glewPointParameterfv = NULL;
278 PFNGLSECONDARYCOLOR3BPROC __glewSecondaryColor3b = NULL;
279 PFNGLSECONDARYCOLOR3BVPROC __glewSecondaryColor3bv = NULL;
280 PFNGLSECONDARYCOLOR3DPROC __glewSecondaryColor3d = NULL;
281 PFNGLSECONDARYCOLOR3DVPROC __glewSecondaryColor3dv = NULL;
282 PFNGLSECONDARYCOLOR3FPROC __glewSecondaryColor3f = NULL;
283 PFNGLSECONDARYCOLOR3FVPROC __glewSecondaryColor3fv = NULL;
284 PFNGLSECONDARYCOLOR3IPROC __glewSecondaryColor3i = NULL;
285 PFNGLSECONDARYCOLOR3IVPROC __glewSecondaryColor3iv = NULL;
286 PFNGLSECONDARYCOLOR3SPROC __glewSecondaryColor3s = NULL;
287 PFNGLSECONDARYCOLOR3SVPROC __glewSecondaryColor3sv = NULL;
288 PFNGLSECONDARYCOLOR3UBPROC __glewSecondaryColor3ub = NULL;
289 PFNGLSECONDARYCOLOR3UBVPROC __glewSecondaryColor3ubv = NULL;
290 PFNGLSECONDARYCOLOR3UIPROC __glewSecondaryColor3ui = NULL;
291 PFNGLSECONDARYCOLOR3UIVPROC __glewSecondaryColor3uiv = NULL;
292 PFNGLSECONDARYCOLOR3USPROC __glewSecondaryColor3us = NULL;
293 PFNGLSECONDARYCOLOR3USVPROC __glewSecondaryColor3usv = NULL;
294 PFNGLSECONDARYCOLORPOINTERPROC __glewSecondaryColorPointer = NULL;
295 PFNGLWINDOWPOS2DPROC __glewWindowPos2d = NULL;
296 PFNGLWINDOWPOS2DVPROC __glewWindowPos2dv = NULL;
297 PFNGLWINDOWPOS2FPROC __glewWindowPos2f = NULL;
298 PFNGLWINDOWPOS2FVPROC __glewWindowPos2fv = NULL;
299 PFNGLWINDOWPOS2IPROC __glewWindowPos2i = NULL;
300 PFNGLWINDOWPOS2IVPROC __glewWindowPos2iv = NULL;
301 PFNGLWINDOWPOS2SPROC __glewWindowPos2s = NULL;
302 PFNGLWINDOWPOS2SVPROC __glewWindowPos2sv = NULL;
303 PFNGLWINDOWPOS3DPROC __glewWindowPos3d = NULL;
304 PFNGLWINDOWPOS3DVPROC __glewWindowPos3dv = NULL;
305 PFNGLWINDOWPOS3FPROC __glewWindowPos3f = NULL;
306 PFNGLWINDOWPOS3FVPROC __glewWindowPos3fv = NULL;
307 PFNGLWINDOWPOS3IPROC __glewWindowPos3i = NULL;
308 PFNGLWINDOWPOS3IVPROC __glewWindowPos3iv = NULL;
309 PFNGLWINDOWPOS3SPROC __glewWindowPos3s = NULL;
310 PFNGLWINDOWPOS3SVPROC __glewWindowPos3sv = NULL;
311
312 PFNGLBEGINQUERYPROC __glewBeginQuery = NULL;
313 PFNGLBINDBUFFERPROC __glewBindBuffer = NULL;
314 PFNGLBUFFERDATAPROC __glewBufferData = NULL;
315 PFNGLBUFFERSUBDATAPROC __glewBufferSubData = NULL;
316 PFNGLDELETEBUFFERSPROC __glewDeleteBuffers = NULL;
317 PFNGLDELETEQUERIESPROC __glewDeleteQueries = NULL;
318 PFNGLENDQUERYPROC __glewEndQuery = NULL;
319 PFNGLGENBUFFERSPROC __glewGenBuffers = NULL;
320 PFNGLGENQUERIESPROC __glewGenQueries = NULL;
321 PFNGLGETBUFFERPARAMETERIVPROC __glewGetBufferParameteriv = NULL;
322 PFNGLGETBUFFERPOINTERVPROC __glewGetBufferPointerv = NULL;
323 PFNGLGETBUFFERSUBDATAPROC __glewGetBufferSubData = NULL;
324 PFNGLGETQUERYOBJECTIVPROC __glewGetQueryObjectiv = NULL;
325 PFNGLGETQUERYOBJECTUIVPROC __glewGetQueryObjectuiv = NULL;
326 PFNGLGETQUERYIVPROC __glewGetQueryiv = NULL;
327 PFNGLISBUFFERPROC __glewIsBuffer = NULL;
328 PFNGLISQUERYPROC __glewIsQuery = NULL;
329 PFNGLMAPBUFFERPROC __glewMapBuffer = NULL;
330 PFNGLUNMAPBUFFERPROC __glewUnmapBuffer = NULL;
331
332 PFNGLATTACHSHADERPROC __glewAttachShader = NULL;
333 PFNGLBINDATTRIBLOCATIONPROC __glewBindAttribLocation = NULL;
334 PFNGLBLENDEQUATIONSEPARATEPROC __glewBlendEquationSeparate = NULL;
335 PFNGLCOMPILESHADERPROC __glewCompileShader = NULL;
336 PFNGLCREATEPROGRAMPROC __glewCreateProgram = NULL;
337 PFNGLCREATESHADERPROC __glewCreateShader = NULL;
338 PFNGLDELETEPROGRAMPROC __glewDeleteProgram = NULL;
339 PFNGLDELETESHADERPROC __glewDeleteShader = NULL;
340 PFNGLDETACHSHADERPROC __glewDetachShader = NULL;
341 PFNGLDISABLEVERTEXATTRIBARRAYPROC __glewDisableVertexAttribArray = NULL;
342 PFNGLDRAWBUFFERSPROC __glewDrawBuffers = NULL;
343 PFNGLENABLEVERTEXATTRIBARRAYPROC __glewEnableVertexAttribArray = NULL;
344 PFNGLGETACTIVEATTRIBPROC __glewGetActiveAttrib = NULL;
345 PFNGLGETACTIVEUNIFORMPROC __glewGetActiveUniform = NULL;
346 PFNGLGETATTACHEDSHADERSPROC __glewGetAttachedShaders = NULL;
347 PFNGLGETATTRIBLOCATIONPROC __glewGetAttribLocation = NULL;
348 PFNGLGETPROGRAMINFOLOGPROC __glewGetProgramInfoLog = NULL;
349 PFNGLGETPROGRAMIVPROC __glewGetProgramiv = NULL;
350 PFNGLGETSHADERINFOLOGPROC __glewGetShaderInfoLog = NULL;
351 PFNGLGETSHADERSOURCEPROC __glewGetShaderSource = NULL;
352 PFNGLGETSHADERIVPROC __glewGetShaderiv = NULL;
353 PFNGLGETUNIFORMLOCATIONPROC __glewGetUniformLocation = NULL;
354 PFNGLGETUNIFORMFVPROC __glewGetUniformfv = NULL;
355 PFNGLGETUNIFORMIVPROC __glewGetUniformiv = NULL;
356 PFNGLGETVERTEXATTRIBPOINTERVPROC __glewGetVertexAttribPointerv = NULL;
357 PFNGLGETVERTEXATTRIBDVPROC __glewGetVertexAttribdv = NULL;
358 PFNGLGETVERTEXATTRIBFVPROC __glewGetVertexAttribfv = NULL;
359 PFNGLGETVERTEXATTRIBIVPROC __glewGetVertexAttribiv = NULL;
360 PFNGLISPROGRAMPROC __glewIsProgram = NULL;
361 PFNGLISSHADERPROC __glewIsShader = NULL;
362 PFNGLLINKPROGRAMPROC __glewLinkProgram = NULL;
363 PFNGLSHADERSOURCEPROC __glewShaderSource = NULL;
364 PFNGLSTENCILFUNCSEPARATEPROC __glewStencilFuncSeparate = NULL;
365 PFNGLSTENCILMASKSEPARATEPROC __glewStencilMaskSeparate = NULL;
366 PFNGLSTENCILOPSEPARATEPROC __glewStencilOpSeparate = NULL;
367 PFNGLUNIFORM1FPROC __glewUniform1f = NULL;
368 PFNGLUNIFORM1FVPROC __glewUniform1fv = NULL;
369 PFNGLUNIFORM1IPROC __glewUniform1i = NULL;
370 PFNGLUNIFORM1IVPROC __glewUniform1iv = NULL;
371 PFNGLUNIFORM2FPROC __glewUniform2f = NULL;
372 PFNGLUNIFORM2FVPROC __glewUniform2fv = NULL;
373 PFNGLUNIFORM2IPROC __glewUniform2i = NULL;
374 PFNGLUNIFORM2IVPROC __glewUniform2iv = NULL;
375 PFNGLUNIFORM3FPROC __glewUniform3f = NULL;
376 PFNGLUNIFORM3FVPROC __glewUniform3fv = NULL;
377 PFNGLUNIFORM3IPROC __glewUniform3i = NULL;
378 PFNGLUNIFORM3IVPROC __glewUniform3iv = NULL;
379 PFNGLUNIFORM4FPROC __glewUniform4f = NULL;
380 PFNGLUNIFORM4FVPROC __glewUniform4fv = NULL;
381 PFNGLUNIFORM4IPROC __glewUniform4i = NULL;
382 PFNGLUNIFORM4IVPROC __glewUniform4iv = NULL;
383 PFNGLUNIFORMMATRIX2FVPROC __glewUniformMatrix2fv = NULL;
384 PFNGLUNIFORMMATRIX3FVPROC __glewUniformMatrix3fv = NULL;
385 PFNGLUNIFORMMATRIX4FVPROC __glewUniformMatrix4fv = NULL;
386 PFNGLUSEPROGRAMPROC __glewUseProgram = NULL;
387 PFNGLVALIDATEPROGRAMPROC __glewValidateProgram = NULL;
388 PFNGLVERTEXATTRIB1DPROC __glewVertexAttrib1d = NULL;
389 PFNGLVERTEXATTRIB1DVPROC __glewVertexAttrib1dv = NULL;
390 PFNGLVERTEXATTRIB1FPROC __glewVertexAttrib1f = NULL;
391 PFNGLVERTEXATTRIB1FVPROC __glewVertexAttrib1fv = NULL;
392 PFNGLVERTEXATTRIB1SPROC __glewVertexAttrib1s = NULL;
393 PFNGLVERTEXATTRIB1SVPROC __glewVertexAttrib1sv = NULL;
394 PFNGLVERTEXATTRIB2DPROC __glewVertexAttrib2d = NULL;
395 PFNGLVERTEXATTRIB2DVPROC __glewVertexAttrib2dv = NULL;
396 PFNGLVERTEXATTRIB2FPROC __glewVertexAttrib2f = NULL;
397 PFNGLVERTEXATTRIB2FVPROC __glewVertexAttrib2fv = NULL;
398 PFNGLVERTEXATTRIB2SPROC __glewVertexAttrib2s = NULL;
399 PFNGLVERTEXATTRIB2SVPROC __glewVertexAttrib2sv = NULL;
400 PFNGLVERTEXATTRIB3DPROC __glewVertexAttrib3d = NULL;
401 PFNGLVERTEXATTRIB3DVPROC __glewVertexAttrib3dv = NULL;
402 PFNGLVERTEXATTRIB3FPROC __glewVertexAttrib3f = NULL;
403 PFNGLVERTEXATTRIB3FVPROC __glewVertexAttrib3fv = NULL;
404 PFNGLVERTEXATTRIB3SPROC __glewVertexAttrib3s = NULL;
405 PFNGLVERTEXATTRIB3SVPROC __glewVertexAttrib3sv = NULL;
406 PFNGLVERTEXATTRIB4NBVPROC __glewVertexAttrib4Nbv = NULL;
407 PFNGLVERTEXATTRIB4NIVPROC __glewVertexAttrib4Niv = NULL;
408 PFNGLVERTEXATTRIB4NSVPROC __glewVertexAttrib4Nsv = NULL;
409 PFNGLVERTEXATTRIB4NUBPROC __glewVertexAttrib4Nub = NULL;
410 PFNGLVERTEXATTRIB4NUBVPROC __glewVertexAttrib4Nubv = NULL;
411 PFNGLVERTEXATTRIB4NUIVPROC __glewVertexAttrib4Nuiv = NULL;
412 PFNGLVERTEXATTRIB4NUSVPROC __glewVertexAttrib4Nusv = NULL;
413 PFNGLVERTEXATTRIB4BVPROC __glewVertexAttrib4bv = NULL;
414 PFNGLVERTEXATTRIB4DPROC __glewVertexAttrib4d = NULL;
415 PFNGLVERTEXATTRIB4DVPROC __glewVertexAttrib4dv = NULL;
416 PFNGLVERTEXATTRIB4FPROC __glewVertexAttrib4f = NULL;
417 PFNGLVERTEXATTRIB4FVPROC __glewVertexAttrib4fv = NULL;
418 PFNGLVERTEXATTRIB4IVPROC __glewVertexAttrib4iv = NULL;
419 PFNGLVERTEXATTRIB4SPROC __glewVertexAttrib4s = NULL;
420 PFNGLVERTEXATTRIB4SVPROC __glewVertexAttrib4sv = NULL;
421 PFNGLVERTEXATTRIB4UBVPROC __glewVertexAttrib4ubv = NULL;
422 PFNGLVERTEXATTRIB4UIVPROC __glewVertexAttrib4uiv = NULL;
423 PFNGLVERTEXATTRIB4USVPROC __glewVertexAttrib4usv = NULL;
424 PFNGLVERTEXATTRIBPOINTERPROC __glewVertexAttribPointer = NULL;
425
426 PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL;
427
428 PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE = NULL;
429 PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE = NULL;
430 PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE = NULL;
431 PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC __glewMultiDrawElementArrayAPPLE = NULL;
432 PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC __glewMultiDrawRangeElementArrayAPPLE = NULL;
433
434 PFNGLDELETEFENCESAPPLEPROC __glewDeleteFencesAPPLE = NULL;
435 PFNGLFINISHFENCEAPPLEPROC __glewFinishFenceAPPLE = NULL;
436 PFNGLFINISHOBJECTAPPLEPROC __glewFinishObjectAPPLE = NULL;
437 PFNGLGENFENCESAPPLEPROC __glewGenFencesAPPLE = NULL;
438 PFNGLISFENCEAPPLEPROC __glewIsFenceAPPLE = NULL;
439 PFNGLSETFENCEAPPLEPROC __glewSetFenceAPPLE = NULL;
440 PFNGLTESTFENCEAPPLEPROC __glewTestFenceAPPLE = NULL;
441 PFNGLTESTOBJECTAPPLEPROC __glewTestObjectAPPLE = NULL;
442
443 PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE = NULL;
444 PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE = NULL;
445
446 PFNGLBINDVERTEXARRAYAPPLEPROC __glewBindVertexArrayAPPLE = NULL;
447 PFNGLDELETEVERTEXARRAYSAPPLEPROC __glewDeleteVertexArraysAPPLE = NULL;
448 PFNGLGENVERTEXARRAYSAPPLEPROC __glewGenVertexArraysAPPLE = NULL;
449 PFNGLISVERTEXARRAYAPPLEPROC __glewIsVertexArrayAPPLE = NULL;
450
451 PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __glewFlushVertexArrayRangeAPPLE = NULL;
452 PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE = NULL;
453 PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE = NULL;
454
455 PFNGLCLAMPCOLORARBPROC __glewClampColorARB = NULL;
456
457 PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB = NULL;
458
459 PFNGLCOLORSUBTABLEPROC __glewColorSubTable = NULL;
460 PFNGLCOLORTABLEPROC __glewColorTable = NULL;
461 PFNGLCOLORTABLEPARAMETERFVPROC __glewColorTableParameterfv = NULL;
462 PFNGLCOLORTABLEPARAMETERIVPROC __glewColorTableParameteriv = NULL;
463 PFNGLCONVOLUTIONFILTER1DPROC __glewConvolutionFilter1D = NULL;
464 PFNGLCONVOLUTIONFILTER2DPROC __glewConvolutionFilter2D = NULL;
465 PFNGLCONVOLUTIONPARAMETERFPROC __glewConvolutionParameterf = NULL;
466 PFNGLCONVOLUTIONPARAMETERFVPROC __glewConvolutionParameterfv = NULL;
467 PFNGLCONVOLUTIONPARAMETERIPROC __glewConvolutionParameteri = NULL;
468 PFNGLCONVOLUTIONPARAMETERIVPROC __glewConvolutionParameteriv = NULL;
469 PFNGLCOPYCOLORSUBTABLEPROC __glewCopyColorSubTable = NULL;
470 PFNGLCOPYCOLORTABLEPROC __glewCopyColorTable = NULL;
471 PFNGLCOPYCONVOLUTIONFILTER1DPROC __glewCopyConvolutionFilter1D = NULL;
472 PFNGLCOPYCONVOLUTIONFILTER2DPROC __glewCopyConvolutionFilter2D = NULL;
473 PFNGLGETCOLORTABLEPROC __glewGetColorTable = NULL;
474 PFNGLGETCOLORTABLEPARAMETERFVPROC __glewGetColorTableParameterfv = NULL;
475 PFNGLGETCOLORTABLEPARAMETERIVPROC __glewGetColorTableParameteriv = NULL;
476 PFNGLGETCONVOLUTIONFILTERPROC __glewGetConvolutionFilter = NULL;
477 PFNGLGETCONVOLUTIONPARAMETERFVPROC __glewGetConvolutionParameterfv = NULL;
478 PFNGLGETCONVOLUTIONPARAMETERIVPROC __glewGetConvolutionParameteriv = NULL;
479 PFNGLGETHISTOGRAMPROC __glewGetHistogram = NULL;
480 PFNGLGETHISTOGRAMPARAMETERFVPROC __glewGetHistogramParameterfv = NULL;
481 PFNGLGETHISTOGRAMPARAMETERIVPROC __glewGetHistogramParameteriv = NULL;
482 PFNGLGETMINMAXPROC __glewGetMinmax = NULL;
483 PFNGLGETMINMAXPARAMETERFVPROC __glewGetMinmaxParameterfv = NULL;
484 PFNGLGETMINMAXPARAMETERIVPROC __glewGetMinmaxParameteriv = NULL;
485 PFNGLGETSEPARABLEFILTERPROC __glewGetSeparableFilter = NULL;
486 PFNGLHISTOGRAMPROC __glewHistogram = NULL;
487 PFNGLMINMAXPROC __glewMinmax = NULL;
488 PFNGLRESETHISTOGRAMPROC __glewResetHistogram = NULL;
489 PFNGLRESETMINMAXPROC __glewResetMinmax = NULL;
490 PFNGLSEPARABLEFILTER2DPROC __glewSeparableFilter2D = NULL;
491
492 PFNGLCURRENTPALETTEMATRIXARBPROC __glewCurrentPaletteMatrixARB = NULL;
493 PFNGLMATRIXINDEXPOINTERARBPROC __glewMatrixIndexPointerARB = NULL;
494 PFNGLMATRIXINDEXUBVARBPROC __glewMatrixIndexubvARB = NULL;
495 PFNGLMATRIXINDEXUIVARBPROC __glewMatrixIndexuivARB = NULL;
496 PFNGLMATRIXINDEXUSVARBPROC __glewMatrixIndexusvARB = NULL;
497
498 PFNGLSAMPLECOVERAGEARBPROC __glewSampleCoverageARB = NULL;
499
500 PFNGLACTIVETEXTUREARBPROC __glewActiveTextureARB = NULL;
501 PFNGLCLIENTACTIVETEXTUREARBPROC __glewClientActiveTextureARB = NULL;
502 PFNGLMULTITEXCOORD1DARBPROC __glewMultiTexCoord1dARB = NULL;
503 PFNGLMULTITEXCOORD1DVARBPROC __glewMultiTexCoord1dvARB = NULL;
504 PFNGLMULTITEXCOORD1FARBPROC __glewMultiTexCoord1fARB = NULL;
505 PFNGLMULTITEXCOORD1FVARBPROC __glewMultiTexCoord1fvARB = NULL;
506 PFNGLMULTITEXCOORD1IARBPROC __glewMultiTexCoord1iARB = NULL;
507 PFNGLMULTITEXCOORD1IVARBPROC __glewMultiTexCoord1ivARB = NULL;
508 PFNGLMULTITEXCOORD1SARBPROC __glewMultiTexCoord1sARB = NULL;
509 PFNGLMULTITEXCOORD1SVARBPROC __glewMultiTexCoord1svARB = NULL;
510 PFNGLMULTITEXCOORD2DARBPROC __glewMultiTexCoord2dARB = NULL;
511 PFNGLMULTITEXCOORD2DVARBPROC __glewMultiTexCoord2dvARB = NULL;
512 PFNGLMULTITEXCOORD2FARBPROC __glewMultiTexCoord2fARB = NULL;
513 PFNGLMULTITEXCOORD2FVARBPROC __glewMultiTexCoord2fvARB = NULL;
514 PFNGLMULTITEXCOORD2IARBPROC __glewMultiTexCoord2iARB = NULL;
515 PFNGLMULTITEXCOORD2IVARBPROC __glewMultiTexCoord2ivARB = NULL;
516 PFNGLMULTITEXCOORD2SARBPROC __glewMultiTexCoord2sARB = NULL;
517 PFNGLMULTITEXCOORD2SVARBPROC __glewMultiTexCoord2svARB = NULL;
518 PFNGLMULTITEXCOORD3DARBPROC __glewMultiTexCoord3dARB = NULL;
519 PFNGLMULTITEXCOORD3DVARBPROC __glewMultiTexCoord3dvARB = NULL;
520 PFNGLMULTITEXCOORD3FARBPROC __glewMultiTexCoord3fARB = NULL;
521 PFNGLMULTITEXCOORD3FVARBPROC __glewMultiTexCoord3fvARB = NULL;
522 PFNGLMULTITEXCOORD3IARBPROC __glewMultiTexCoord3iARB = NULL;
523 PFNGLMULTITEXCOORD3IVARBPROC __glewMultiTexCoord3ivARB = NULL;
524 PFNGLMULTITEXCOORD3SARBPROC __glewMultiTexCoord3sARB = NULL;
525 PFNGLMULTITEXCOORD3SVARBPROC __glewMultiTexCoord3svARB = NULL;
526 PFNGLMULTITEXCOORD4DARBPROC __glewMultiTexCoord4dARB = NULL;
527 PFNGLMULTITEXCOORD4DVARBPROC __glewMultiTexCoord4dvARB = NULL;
528 PFNGLMULTITEXCOORD4FARBPROC __glewMultiTexCoord4fARB = NULL;
529 PFNGLMULTITEXCOORD4FVARBPROC __glewMultiTexCoord4fvARB = NULL;
530 PFNGLMULTITEXCOORD4IARBPROC __glewMultiTexCoord4iARB = NULL;
531 PFNGLMULTITEXCOORD4IVARBPROC __glewMultiTexCoord4ivARB = NULL;
532 PFNGLMULTITEXCOORD4SARBPROC __glewMultiTexCoord4sARB = NULL;
533 PFNGLMULTITEXCOORD4SVARBPROC __glewMultiTexCoord4svARB = NULL;
534
535 PFNGLBEGINQUERYARBPROC __glewBeginQueryARB = NULL;
536 PFNGLDELETEQUERIESARBPROC __glewDeleteQueriesARB = NULL;
537 PFNGLENDQUERYARBPROC __glewEndQueryARB = NULL;
538 PFNGLGENQUERIESARBPROC __glewGenQueriesARB = NULL;
539 PFNGLGETQUERYOBJECTIVARBPROC __glewGetQueryObjectivARB = NULL;
540 PFNGLGETQUERYOBJECTUIVARBPROC __glewGetQueryObjectuivARB = NULL;
541 PFNGLGETQUERYIVARBPROC __glewGetQueryivARB = NULL;
542 PFNGLISQUERYARBPROC __glewIsQueryARB = NULL;
543
544 PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB = NULL;
545 PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB = NULL;
546
547 PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB = NULL;
548 PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB = NULL;
549 PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB = NULL;
550 PFNGLCREATESHADEROBJECTARBPROC __glewCreateShaderObjectARB = NULL;
551 PFNGLDELETEOBJECTARBPROC __glewDeleteObjectARB = NULL;
552 PFNGLDETACHOBJECTARBPROC __glewDetachObjectARB = NULL;
553 PFNGLGETACTIVEUNIFORMARBPROC __glewGetActiveUniformARB = NULL;
554 PFNGLGETATTACHEDOBJECTSARBPROC __glewGetAttachedObjectsARB = NULL;
555 PFNGLGETHANDLEARBPROC __glewGetHandleARB = NULL;
556 PFNGLGETINFOLOGARBPROC __glewGetInfoLogARB = NULL;
557 PFNGLGETOBJECTPARAMETERFVARBPROC __glewGetObjectParameterfvARB = NULL;
558 PFNGLGETOBJECTPARAMETERIVARBPROC __glewGetObjectParameterivARB = NULL;
559 PFNGLGETSHADERSOURCEARBPROC __glewGetShaderSourceARB = NULL;
560 PFNGLGETUNIFORMLOCATIONARBPROC __glewGetUniformLocationARB = NULL;
561 PFNGLGETUNIFORMFVARBPROC __glewGetUniformfvARB = NULL;
562 PFNGLGETUNIFORMIVARBPROC __glewGetUniformivARB = NULL;
563 PFNGLLINKPROGRAMARBPROC __glewLinkProgramARB = NULL;
564 PFNGLSHADERSOURCEARBPROC __glewShaderSourceARB = NULL;
565 PFNGLUNIFORM1FARBPROC __glewUniform1fARB = NULL;
566 PFNGLUNIFORM1FVARBPROC __glewUniform1fvARB = NULL;
567 PFNGLUNIFORM1IARBPROC __glewUniform1iARB = NULL;
568 PFNGLUNIFORM1IVARBPROC __glewUniform1ivARB = NULL;
569 PFNGLUNIFORM2FARBPROC __glewUniform2fARB = NULL;
570 PFNGLUNIFORM2FVARBPROC __glewUniform2fvARB = NULL;
571 PFNGLUNIFORM2IARBPROC __glewUniform2iARB = NULL;
572 PFNGLUNIFORM2IVARBPROC __glewUniform2ivARB = NULL;
573 PFNGLUNIFORM3FARBPROC __glewUniform3fARB = NULL;
574 PFNGLUNIFORM3FVARBPROC __glewUniform3fvARB = NULL;
575 PFNGLUNIFORM3IARBPROC __glewUniform3iARB = NULL;
576 PFNGLUNIFORM3IVARBPROC __glewUniform3ivARB = NULL;
577 PFNGLUNIFORM4FARBPROC __glewUniform4fARB = NULL;
578 PFNGLUNIFORM4FVARBPROC __glewUniform4fvARB = NULL;
579 PFNGLUNIFORM4IARBPROC __glewUniform4iARB = NULL;
580 PFNGLUNIFORM4IVARBPROC __glewUniform4ivARB = NULL;
581 PFNGLUNIFORMMATRIX2FVARBPROC __glewUniformMatrix2fvARB = NULL;
582 PFNGLUNIFORMMATRIX3FVARBPROC __glewUniformMatrix3fvARB = NULL;
583 PFNGLUNIFORMMATRIX4FVARBPROC __glewUniformMatrix4fvARB = NULL;
584 PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB = NULL;
585 PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB = NULL;
586
587 PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB = NULL;
588 PFNGLCOMPRESSEDTEXIMAGE2DARBPROC __glewCompressedTexImage2DARB = NULL;
589 PFNGLCOMPRESSEDTEXIMAGE3DARBPROC __glewCompressedTexImage3DARB = NULL;
590 PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC __glewCompressedTexSubImage1DARB = NULL;
591 PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __glewCompressedTexSubImage2DARB = NULL;
592 PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB = NULL;
593 PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB = NULL;
594
595 PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB = NULL;
596 PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB = NULL;
597 PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB = NULL;
598 PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB = NULL;
599
600 PFNGLVERTEXBLENDARBPROC __glewVertexBlendARB = NULL;
601 PFNGLWEIGHTPOINTERARBPROC __glewWeightPointerARB = NULL;
602 PFNGLWEIGHTBVARBPROC __glewWeightbvARB = NULL;
603 PFNGLWEIGHTDVARBPROC __glewWeightdvARB = NULL;
604 PFNGLWEIGHTFVARBPROC __glewWeightfvARB = NULL;
605 PFNGLWEIGHTIVARBPROC __glewWeightivARB = NULL;
606 PFNGLWEIGHTSVARBPROC __glewWeightsvARB = NULL;
607 PFNGLWEIGHTUBVARBPROC __glewWeightubvARB = NULL;
608 PFNGLWEIGHTUIVARBPROC __glewWeightuivARB = NULL;
609 PFNGLWEIGHTUSVARBPROC __glewWeightusvARB = NULL;
610
611 PFNGLBINDBUFFERARBPROC __glewBindBufferARB = NULL;
612 PFNGLBUFFERDATAARBPROC __glewBufferDataARB = NULL;
613 PFNGLBUFFERSUBDATAARBPROC __glewBufferSubDataARB = NULL;
614 PFNGLDELETEBUFFERSARBPROC __glewDeleteBuffersARB = NULL;
615 PFNGLGENBUFFERSARBPROC __glewGenBuffersARB = NULL;
616 PFNGLGETBUFFERPARAMETERIVARBPROC __glewGetBufferParameterivARB = NULL;
617 PFNGLGETBUFFERPOINTERVARBPROC __glewGetBufferPointervARB = NULL;
618 PFNGLGETBUFFERSUBDATAARBPROC __glewGetBufferSubDataARB = NULL;
619 PFNGLISBUFFERARBPROC __glewIsBufferARB = NULL;
620 PFNGLMAPBUFFERARBPROC __glewMapBufferARB = NULL;
621 PFNGLUNMAPBUFFERARBPROC __glewUnmapBufferARB = NULL;
622
623 PFNGLBINDPROGRAMARBPROC __glewBindProgramARB = NULL;
624 PFNGLDELETEPROGRAMSARBPROC __glewDeleteProgramsARB = NULL;
625 PFNGLDISABLEVERTEXATTRIBARRAYARBPROC __glewDisableVertexAttribArrayARB = NULL;
626 PFNGLENABLEVERTEXATTRIBARRAYARBPROC __glewEnableVertexAttribArrayARB = NULL;
627 PFNGLGENPROGRAMSARBPROC __glewGenProgramsARB = NULL;
628 PFNGLGETPROGRAMENVPARAMETERDVARBPROC __glewGetProgramEnvParameterdvARB = NULL;
629 PFNGLGETPROGRAMENVPARAMETERFVARBPROC __glewGetProgramEnvParameterfvARB = NULL;
630 PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC __glewGetProgramLocalParameterdvARB = NULL;
631 PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC __glewGetProgramLocalParameterfvARB = NULL;
632 PFNGLGETPROGRAMSTRINGARBPROC __glewGetProgramStringARB = NULL;
633 PFNGLGETPROGRAMIVARBPROC __glewGetProgramivARB = NULL;
634 PFNGLGETVERTEXATTRIBPOINTERVARBPROC __glewGetVertexAttribPointervARB = NULL;
635 PFNGLGETVERTEXATTRIBDVARBPROC __glewGetVertexAttribdvARB = NULL;
636 PFNGLGETVERTEXATTRIBFVARBPROC __glewGetVertexAttribfvARB = NULL;
637 PFNGLGETVERTEXATTRIBIVARBPROC __glewGetVertexAttribivARB = NULL;
638 PFNGLISPROGRAMARBPROC __glewIsProgramARB = NULL;
639 PFNGLPROGRAMENVPARAMETER4DARBPROC __glewProgramEnvParameter4dARB = NULL;
640 PFNGLPROGRAMENVPARAMETER4DVARBPROC __glewProgramEnvParameter4dvARB = NULL;
641 PFNGLPROGRAMENVPARAMETER4FARBPROC __glewProgramEnvParameter4fARB = NULL;
642 PFNGLPROGRAMENVPARAMETER4FVARBPROC __glewProgramEnvParameter4fvARB = NULL;
643 PFNGLPROGRAMLOCALPARAMETER4DARBPROC __glewProgramLocalParameter4dARB = NULL;
644 PFNGLPROGRAMLOCALPARAMETER4DVARBPROC __glewProgramLocalParameter4dvARB = NULL;
645 PFNGLPROGRAMLOCALPARAMETER4FARBPROC __glewProgramLocalParameter4fARB = NULL;
646 PFNGLPROGRAMLOCALPARAMETER4FVARBPROC __glewProgramLocalParameter4fvARB = NULL;
647 PFNGLPROGRAMSTRINGARBPROC __glewProgramStringARB = NULL;
648 PFNGLVERTEXATTRIB1DARBPROC __glewVertexAttrib1dARB = NULL;
649 PFNGLVERTEXATTRIB1DVARBPROC __glewVertexAttrib1dvARB = NULL;
650 PFNGLVERTEXATTRIB1FARBPROC __glewVertexAttrib1fARB = NULL;
651 PFNGLVERTEXATTRIB1FVARBPROC __glewVertexAttrib1fvARB = NULL;
652 PFNGLVERTEXATTRIB1SARBPROC __glewVertexAttrib1sARB = NULL;
653 PFNGLVERTEXATTRIB1SVARBPROC __glewVertexAttrib1svARB = NULL;
654 PFNGLVERTEXATTRIB2DARBPROC __glewVertexAttrib2dARB = NULL;
655 PFNGLVERTEXATTRIB2DVARBPROC __glewVertexAttrib2dvARB = NULL;
656 PFNGLVERTEXATTRIB2FARBPROC __glewVertexAttrib2fARB = NULL;
657 PFNGLVERTEXATTRIB2FVARBPROC __glewVertexAttrib2fvARB = NULL;
658 PFNGLVERTEXATTRIB2SARBPROC __glewVertexAttrib2sARB = NULL;
659 PFNGLVERTEXATTRIB2SVARBPROC __glewVertexAttrib2svARB = NULL;
660 PFNGLVERTEXATTRIB3DARBPROC __glewVertexAttrib3dARB = NULL;
661 PFNGLVERTEXATTRIB3DVARBPROC __glewVertexAttrib3dvARB = NULL;
662 PFNGLVERTEXATTRIB3FARBPROC __glewVertexAttrib3fARB = NULL;
663 PFNGLVERTEXATTRIB3FVARBPROC __glewVertexAttrib3fvARB = NULL;
664 PFNGLVERTEXATTRIB3SARBPROC __glewVertexAttrib3sARB = NULL;
665 PFNGLVERTEXATTRIB3SVARBPROC __glewVertexAttrib3svARB = NULL;
666 PFNGLVERTEXATTRIB4NBVARBPROC __glewVertexAttrib4NbvARB = NULL;
667 PFNGLVERTEXATTRIB4NIVARBPROC __glewVertexAttrib4NivARB = NULL;
668 PFNGLVERTEXATTRIB4NSVARBPROC __glewVertexAttrib4NsvARB = NULL;
669 PFNGLVERTEXATTRIB4NUBARBPROC __glewVertexAttrib4NubARB = NULL;
670 PFNGLVERTEXATTRIB4NUBVARBPROC __glewVertexAttrib4NubvARB = NULL;
671 PFNGLVERTEXATTRIB4NUIVARBPROC __glewVertexAttrib4NuivARB = NULL;
672 PFNGLVERTEXATTRIB4NUSVARBPROC __glewVertexAttrib4NusvARB = NULL;
673 PFNGLVERTEXATTRIB4BVARBPROC __glewVertexAttrib4bvARB = NULL;
674 PFNGLVERTEXATTRIB4DARBPROC __glewVertexAttrib4dARB = NULL;
675 PFNGLVERTEXATTRIB4DVARBPROC __glewVertexAttrib4dvARB = NULL;
676 PFNGLVERTEXATTRIB4FARBPROC __glewVertexAttrib4fARB = NULL;
677 PFNGLVERTEXATTRIB4FVARBPROC __glewVertexAttrib4fvARB = NULL;
678 PFNGLVERTEXATTRIB4IVARBPROC __glewVertexAttrib4ivARB = NULL;
679 PFNGLVERTEXATTRIB4SARBPROC __glewVertexAttrib4sARB = NULL;
680 PFNGLVERTEXATTRIB4SVARBPROC __glewVertexAttrib4svARB = NULL;
681 PFNGLVERTEXATTRIB4UBVARBPROC __glewVertexAttrib4ubvARB = NULL;
682 PFNGLVERTEXATTRIB4UIVARBPROC __glewVertexAttrib4uivARB = NULL;
683 PFNGLVERTEXATTRIB4USVARBPROC __glewVertexAttrib4usvARB = NULL;
684 PFNGLVERTEXATTRIBPOINTERARBPROC __glewVertexAttribPointerARB = NULL;
685
686 PFNGLBINDATTRIBLOCATIONARBPROC __glewBindAttribLocationARB = NULL;
687 PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB = NULL;
688 PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB = NULL;
689
690 PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB = NULL;
691 PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB = NULL;
692 PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB = NULL;
693 PFNGLWINDOWPOS2FVARBPROC __glewWindowPos2fvARB = NULL;
694 PFNGLWINDOWPOS2IARBPROC __glewWindowPos2iARB = NULL;
695 PFNGLWINDOWPOS2IVARBPROC __glewWindowPos2ivARB = NULL;
696 PFNGLWINDOWPOS2SARBPROC __glewWindowPos2sARB = NULL;
697 PFNGLWINDOWPOS2SVARBPROC __glewWindowPos2svARB = NULL;
698 PFNGLWINDOWPOS3DARBPROC __glewWindowPos3dARB = NULL;
699 PFNGLWINDOWPOS3DVARBPROC __glewWindowPos3dvARB = NULL;
700 PFNGLWINDOWPOS3FARBPROC __glewWindowPos3fARB = NULL;
701 PFNGLWINDOWPOS3FVARBPROC __glewWindowPos3fvARB = NULL;
702 PFNGLWINDOWPOS3IARBPROC __glewWindowPos3iARB = NULL;
703 PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB = NULL;
704 PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB = NULL;
705 PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB = NULL;
706
707 PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI = NULL;
708
709 PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI = NULL;
710 PFNGLDRAWRANGEELEMENTARRAYATIPROC __glewDrawRangeElementArrayATI = NULL;
711 PFNGLELEMENTPOINTERATIPROC __glewElementPointerATI = NULL;
712
713 PFNGLGETTEXBUMPPARAMETERFVATIPROC __glewGetTexBumpParameterfvATI = NULL;
714 PFNGLGETTEXBUMPPARAMETERIVATIPROC __glewGetTexBumpParameterivATI = NULL;
715 PFNGLTEXBUMPPARAMETERFVATIPROC __glewTexBumpParameterfvATI = NULL;
716 PFNGLTEXBUMPPARAMETERIVATIPROC __glewTexBumpParameterivATI = NULL;
717
718 PFNGLALPHAFRAGMENTOP1ATIPROC __glewAlphaFragmentOp1ATI = NULL;
719 PFNGLALPHAFRAGMENTOP2ATIPROC __glewAlphaFragmentOp2ATI = NULL;
720 PFNGLALPHAFRAGMENTOP3ATIPROC __glewAlphaFragmentOp3ATI = NULL;
721 PFNGLBEGINFRAGMENTSHADERATIPROC __glewBeginFragmentShaderATI = NULL;
722 PFNGLBINDFRAGMENTSHADERATIPROC __glewBindFragmentShaderATI = NULL;
723 PFNGLCOLORFRAGMENTOP1ATIPROC __glewColorFragmentOp1ATI = NULL;
724 PFNGLCOLORFRAGMENTOP2ATIPROC __glewColorFragmentOp2ATI = NULL;
725 PFNGLCOLORFRAGMENTOP3ATIPROC __glewColorFragmentOp3ATI = NULL;
726 PFNGLDELETEFRAGMENTSHADERATIPROC __glewDeleteFragmentShaderATI = NULL;
727 PFNGLENDFRAGMENTSHADERATIPROC __glewEndFragmentShaderATI = NULL;
728 PFNGLGENFRAGMENTSHADERSATIPROC __glewGenFragmentShadersATI = NULL;
729 PFNGLPASSTEXCOORDATIPROC __glewPassTexCoordATI = NULL;
730 PFNGLSAMPLEMAPATIPROC __glewSampleMapATI = NULL;
731 PFNGLSETFRAGMENTSHADERCONSTANTATIPROC __glewSetFragmentShaderConstantATI = NULL;
732
733 PFNGLMAPOBJECTBUFFERATIPROC __glewMapObjectBufferATI = NULL;
734 PFNGLUNMAPOBJECTBUFFERATIPROC __glewUnmapObjectBufferATI = NULL;
735
736 PFNGLPNTRIANGLESFATIPROC __glPNTrianglewesfATI = NULL;
737 PFNGLPNTRIANGLESIATIPROC __glPNTrianglewesiATI = NULL;
738
739 PFNGLSTENCILFUNCSEPARATEATIPROC __glewStencilFuncSeparateATI = NULL;
740 PFNGLSTENCILOPSEPARATEATIPROC __glewStencilOpSeparateATI = NULL;
741
742 PFNGLARRAYOBJECTATIPROC __glewArrayObjectATI = NULL;
743 PFNGLFREEOBJECTBUFFERATIPROC __glewFreeObjectBufferATI = NULL;
744 PFNGLGETARRAYOBJECTFVATIPROC __glewGetArrayObjectfvATI = NULL;
745 PFNGLGETARRAYOBJECTIVATIPROC __glewGetArrayObjectivATI = NULL;
746 PFNGLGETOBJECTBUFFERFVATIPROC __glewGetObjectBufferfvATI = NULL;
747 PFNGLGETOBJECTBUFFERIVATIPROC __glewGetObjectBufferivATI = NULL;
748 PFNGLGETVARIANTARRAYOBJECTFVATIPROC __glewGetVariantArrayObjectfvATI = NULL;
749 PFNGLGETVARIANTARRAYOBJECTIVATIPROC __glewGetVariantArrayObjectivATI = NULL;
750 PFNGLISOBJECTBUFFERATIPROC __glewIsObjectBufferATI = NULL;
751 PFNGLNEWOBJECTBUFFERATIPROC __glewNewObjectBufferATI = NULL;
752 PFNGLUPDATEOBJECTBUFFERATIPROC __glewUpdateObjectBufferATI = NULL;
753 PFNGLVARIANTARRAYOBJECTATIPROC __glewVariantArrayObjectATI = NULL;
754
755 PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC __glewGetVertexAttribArrayObjectfvATI = NULL;
756 PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC __glewGetVertexAttribArrayObjectivATI = NULL;
757 PFNGLVERTEXATTRIBARRAYOBJECTATIPROC __glewVertexAttribArrayObjectATI = NULL;
758
759 PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC __glewClientActiveVertexStreamATI = NULL;
760 PFNGLNORMALSTREAM3BATIPROC __glewNormalStream3bATI = NULL;
761 PFNGLNORMALSTREAM3BVATIPROC __glewNormalStream3bvATI = NULL;
762 PFNGLNORMALSTREAM3DATIPROC __glewNormalStream3dATI = NULL;
763 PFNGLNORMALSTREAM3DVATIPROC __glewNormalStream3dvATI = NULL;
764 PFNGLNORMALSTREAM3FATIPROC __glewNormalStream3fATI = NULL;
765 PFNGLNORMALSTREAM3FVATIPROC __glewNormalStream3fvATI = NULL;
766 PFNGLNORMALSTREAM3IATIPROC __glewNormalStream3iATI = NULL;
767 PFNGLNORMALSTREAM3IVATIPROC __glewNormalStream3ivATI = NULL;
768 PFNGLNORMALSTREAM3SATIPROC __glewNormalStream3sATI = NULL;
769 PFNGLNORMALSTREAM3SVATIPROC __glewNormalStream3svATI = NULL;
770 PFNGLVERTEXBLENDENVFATIPROC __glewVertexBlendEnvfATI = NULL;
771 PFNGLVERTEXBLENDENVIATIPROC __glewVertexBlendEnviATI = NULL;
772 PFNGLVERTEXSTREAM2DATIPROC __glewVertexStream2dATI = NULL;
773 PFNGLVERTEXSTREAM2DVATIPROC __glewVertexStream2dvATI = NULL;
774 PFNGLVERTEXSTREAM2FATIPROC __glewVertexStream2fATI = NULL;
775 PFNGLVERTEXSTREAM2FVATIPROC __glewVertexStream2fvATI = NULL;
776 PFNGLVERTEXSTREAM2IATIPROC __glewVertexStream2iATI = NULL;
777 PFNGLVERTEXSTREAM2IVATIPROC __glewVertexStream2ivATI = NULL;
778 PFNGLVERTEXSTREAM2SATIPROC __glewVertexStream2sATI = NULL;
779 PFNGLVERTEXSTREAM2SVATIPROC __glewVertexStream2svATI = NULL;
780 PFNGLVERTEXSTREAM3DATIPROC __glewVertexStream3dATI = NULL;
781 PFNGLVERTEXSTREAM3DVATIPROC __glewVertexStream3dvATI = NULL;
782 PFNGLVERTEXSTREAM3FATIPROC __glewVertexStream3fATI = NULL;
783 PFNGLVERTEXSTREAM3FVATIPROC __glewVertexStream3fvATI = NULL;
784 PFNGLVERTEXSTREAM3IATIPROC __glewVertexStream3iATI = NULL;
785 PFNGLVERTEXSTREAM3IVATIPROC __glewVertexStream3ivATI = NULL;
786 PFNGLVERTEXSTREAM3SATIPROC __glewVertexStream3sATI = NULL;
787 PFNGLVERTEXSTREAM3SVATIPROC __glewVertexStream3svATI = NULL;
788 PFNGLVERTEXSTREAM4DATIPROC __glewVertexStream4dATI = NULL;
789 PFNGLVERTEXSTREAM4DVATIPROC __glewVertexStream4dvATI = NULL;
790 PFNGLVERTEXSTREAM4FATIPROC __glewVertexStream4fATI = NULL;
791 PFNGLVERTEXSTREAM4FVATIPROC __glewVertexStream4fvATI = NULL;
792 PFNGLVERTEXSTREAM4IATIPROC __glewVertexStream4iATI = NULL;
793 PFNGLVERTEXSTREAM4IVATIPROC __glewVertexStream4ivATI = NULL;
794 PFNGLVERTEXSTREAM4SATIPROC __glewVertexStream4sATI = NULL;
795 PFNGLVERTEXSTREAM4SVATIPROC __glewVertexStream4svATI = NULL;
796
797 PFNGLBLENDCOLOREXTPROC __glewBlendColorEXT = NULL;
798
799 PFNGLBLENDEQUATIONSEPARATEEXTPROC __glewBlendEquationSeparateEXT = NULL;
800
801 PFNGLBLENDFUNCSEPARATEEXTPROC __glewBlendFuncSeparateEXT = NULL;
802
803 PFNGLBLENDEQUATIONEXTPROC __glewBlendEquationEXT = NULL;
804
805 PFNGLCOLORSUBTABLEEXTPROC __glewColorSubTableEXT = NULL;
806 PFNGLCOPYCOLORSUBTABLEEXTPROC __glewCopyColorSubTableEXT = NULL;
807
808 PFNGLLOCKARRAYSEXTPROC __glewLockArraysEXT = NULL;
809 PFNGLUNLOCKARRAYSEXTPROC __glewUnlockArraysEXT = NULL;
810
811 PFNGLCONVOLUTIONFILTER1DEXTPROC __glewConvolutionFilter1DEXT = NULL;
812 PFNGLCONVOLUTIONFILTER2DEXTPROC __glewConvolutionFilter2DEXT = NULL;
813 PFNGLCONVOLUTIONPARAMETERFEXTPROC __glewConvolutionParameterfEXT = NULL;
814 PFNGLCONVOLUTIONPARAMETERFVEXTPROC __glewConvolutionParameterfvEXT = NULL;
815 PFNGLCONVOLUTIONPARAMETERIEXTPROC __glewConvolutionParameteriEXT = NULL;
816 PFNGLCONVOLUTIONPARAMETERIVEXTPROC __glewConvolutionParameterivEXT = NULL;
817 PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC __glewCopyConvolutionFilter1DEXT = NULL;
818 PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC __glewCopyConvolutionFilter2DEXT = NULL;
819 PFNGLGETCONVOLUTIONFILTEREXTPROC __glewGetConvolutionFilterEXT = NULL;
820 PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC __glewGetConvolutionParameterfvEXT = NULL;
821 PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC __glewGetConvolutionParameterivEXT = NULL;
822 PFNGLGETSEPARABLEFILTEREXTPROC __glewGetSeparableFilterEXT = NULL;
823 PFNGLSEPARABLEFILTER2DEXTPROC __glewSeparableFilter2DEXT = NULL;
824
825 PFNGLBINORMALPOINTEREXTPROC __glewBinormalPointerEXT = NULL;
826 PFNGLTANGENTPOINTEREXTPROC __glewTangentPointerEXT = NULL;
827
828 PFNGLCOPYTEXIMAGE1DEXTPROC __glewCopyTexImage1DEXT = NULL;
829 PFNGLCOPYTEXIMAGE2DEXTPROC __glewCopyTexImage2DEXT = NULL;
830 PFNGLCOPYTEXSUBIMAGE1DEXTPROC __glewCopyTexSubImage1DEXT = NULL;
831 PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT = NULL;
832 PFNGLCOPYTEXSUBIMAGE3DEXTPROC __glewCopyTexSubImage3DEXT = NULL;
833
834 PFNGLCULLPARAMETERDVEXTPROC __glewCullParameterdvEXT = NULL;
835 PFNGLCULLPARAMETERFVEXTPROC __glewCullParameterfvEXT = NULL;
836
837 PFNGLDEPTHBOUNDSEXTPROC __glewDepthBoundsEXT = NULL;
838
839 PFNGLDRAWRANGEELEMENTSEXTPROC __glewDrawRangeElementsEXT = NULL;
840
841 PFNGLFOGCOORDPOINTEREXTPROC __glewFogCoordPointerEXT = NULL;
842 PFNGLFOGCOORDDEXTPROC __glewFogCoorddEXT = NULL;
843 PFNGLFOGCOORDDVEXTPROC __glewFogCoorddvEXT = NULL;
844 PFNGLFOGCOORDFEXTPROC __glewFogCoordfEXT = NULL;
845 PFNGLFOGCOORDFVEXTPROC __glewFogCoordfvEXT = NULL;
846
847 PFNGLFRAGMENTCOLORMATERIALEXTPROC __glewFragmentColorMaterialEXT = NULL;
848 PFNGLFRAGMENTLIGHTMODELFEXTPROC __glewFragmentLightModelfEXT = NULL;
849 PFNGLFRAGMENTLIGHTMODELFVEXTPROC __glewFragmentLightModelfvEXT = NULL;
850 PFNGLFRAGMENTLIGHTMODELIEXTPROC __glewFragmentLightModeliEXT = NULL;
851 PFNGLFRAGMENTLIGHTMODELIVEXTPROC __glewFragmentLightModelivEXT = NULL;
852 PFNGLFRAGMENTLIGHTFEXTPROC __glewFragmentLightfEXT = NULL;
853 PFNGLFRAGMENTLIGHTFVEXTPROC __glewFragmentLightfvEXT = NULL;
854 PFNGLFRAGMENTLIGHTIEXTPROC __glewFragmentLightiEXT = NULL;
855 PFNGLFRAGMENTLIGHTIVEXTPROC __glewFragmentLightivEXT = NULL;
856 PFNGLFRAGMENTMATERIALFEXTPROC __glewFragmentMaterialfEXT = NULL;
857 PFNGLFRAGMENTMATERIALFVEXTPROC __glewFragmentMaterialfvEXT = NULL;
858 PFNGLFRAGMENTMATERIALIEXTPROC __glewFragmentMaterialiEXT = NULL;
859 PFNGLFRAGMENTMATERIALIVEXTPROC __glewFragmentMaterialivEXT = NULL;
860 PFNGLGETFRAGMENTLIGHTFVEXTPROC __glewGetFragmentLightfvEXT = NULL;
861 PFNGLGETFRAGMENTLIGHTIVEXTPROC __glewGetFragmentLightivEXT = NULL;
862 PFNGLGETFRAGMENTMATERIALFVEXTPROC __glewGetFragmentMaterialfvEXT = NULL;
863 PFNGLGETFRAGMENTMATERIALIVEXTPROC __glewGetFragmentMaterialivEXT = NULL;
864 PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT = NULL;
865
866 PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT = NULL;
867
868 PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT = NULL;
869
870 PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT = NULL;
871 PFNGLBINDRENDERBUFFEREXTPROC __glewBindRenderbufferEXT = NULL;
872 PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC __glewCheckFramebufferStatusEXT = NULL;
873 PFNGLDELETEFRAMEBUFFERSEXTPROC __glewDeleteFramebuffersEXT = NULL;
874 PFNGLDELETERENDERBUFFERSEXTPROC __glewDeleteRenderbuffersEXT = NULL;
875 PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC __glewFramebufferRenderbufferEXT = NULL;
876 PFNGLFRAMEBUFFERTEXTURE1DEXTPROC __glewFramebufferTexture1DEXT = NULL;
877 PFNGLFRAMEBUFFERTEXTURE2DEXTPROC __glewFramebufferTexture2DEXT = NULL;
878 PFNGLFRAMEBUFFERTEXTURE3DEXTPROC __glewFramebufferTexture3DEXT = NULL;
879 PFNGLGENFRAMEBUFFERSEXTPROC __glewGenFramebuffersEXT = NULL;
880 PFNGLGENRENDERBUFFERSEXTPROC __glewGenRenderbuffersEXT = NULL;
881 PFNGLGENERATEMIPMAPEXTPROC __glewGenerateMipmapEXT = NULL;
882 PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetFramebufferAttachmentParameterivEXT = NULL;
883 PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC __glewGetRenderbufferParameterivEXT = NULL;
884 PFNGLISFRAMEBUFFEREXTPROC __glewIsFramebufferEXT = NULL;
885 PFNGLISRENDERBUFFEREXTPROC __glewIsRenderbufferEXT = NULL;
886 PFNGLRENDERBUFFERSTORAGEEXTPROC __glewRenderbufferStorageEXT = NULL;
887
888 PFNGLGETHISTOGRAMEXTPROC __glewGetHistogramEXT = NULL;
889 PFNGLGETHISTOGRAMPARAMETERFVEXTPROC __glewGetHistogramParameterfvEXT = NULL;
890 PFNGLGETHISTOGRAMPARAMETERIVEXTPROC __glewGetHistogramParameterivEXT = NULL;
891 PFNGLGETMINMAXEXTPROC __glewGetMinmaxEXT = NULL;
892 PFNGLGETMINMAXPARAMETERFVEXTPROC __glewGetMinmaxParameterfvEXT = NULL;
893 PFNGLGETMINMAXPARAMETERIVEXTPROC __glewGetMinmaxParameterivEXT = NULL;
894 PFNGLHISTOGRAMEXTPROC __glewHistogramEXT = NULL;
895 PFNGLMINMAXEXTPROC __glewMinmaxEXT = NULL;
896 PFNGLRESETHISTOGRAMEXTPROC __glewResetHistogramEXT = NULL;
897 PFNGLRESETMINMAXEXTPROC __glewResetMinmaxEXT = NULL;
898
899 PFNGLINDEXFUNCEXTPROC __glewIndexFuncEXT = NULL;
900
901 PFNGLINDEXMATERIALEXTPROC __glewIndexMaterialEXT = NULL;
902
903 PFNGLAPPLYTEXTUREEXTPROC __glewApplyTextureEXT = NULL;
904 PFNGLTEXTURELIGHTEXTPROC __glewTextureLightEXT = NULL;
905 PFNGLTEXTUREMATERIALEXTPROC __glewTextureMaterialEXT = NULL;
906
907 PFNGLMULTIDRAWARRAYSEXTPROC __glewMultiDrawArraysEXT = NULL;
908 PFNGLMULTIDRAWELEMENTSEXTPROC __glewMultiDrawElementsEXT = NULL;
909
910 PFNGLSAMPLEMASKEXTPROC __glewSampleMaskEXT = NULL;
911 PFNGLSAMPLEPATTERNEXTPROC __glewSamplePatternEXT = NULL;
912
913 PFNGLCOLORTABLEEXTPROC __glewColorTableEXT = NULL;
914 PFNGLGETCOLORTABLEEXTPROC __glewGetColorTableEXT = NULL;
915 PFNGLGETCOLORTABLEPARAMETERFVEXTPROC __glewGetColorTableParameterfvEXT = NULL;
916 PFNGLGETCOLORTABLEPARAMETERIVEXTPROC __glewGetColorTableParameterivEXT = NULL;
917
918 PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC __glewGetPixelTransformParameterfvEXT = NULL;
919 PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC __glewGetPixelTransformParameterivEXT = NULL;
920 PFNGLPIXELTRANSFORMPARAMETERFEXTPROC __glewPixelTransformParameterfEXT = NULL;
921 PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC __glewPixelTransformParameterfvEXT = NULL;
922 PFNGLPIXELTRANSFORMPARAMETERIEXTPROC __glewPixelTransformParameteriEXT = NULL;
923 PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC __glewPixelTransformParameterivEXT = NULL;
924
925 PFNGLPOINTPARAMETERFEXTPROC __glewPointParameterfEXT = NULL;
926 PFNGLPOINTPARAMETERFVEXTPROC __glewPointParameterfvEXT = NULL;
927
928 PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL;
929
930 PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT = NULL;
931 PFNGLENDSCENEEXTPROC __glewEndSceneEXT = NULL;
932
933 PFNGLSECONDARYCOLOR3BEXTPROC __glewSecondaryColor3bEXT = NULL;
934 PFNGLSECONDARYCOLOR3BVEXTPROC __glewSecondaryColor3bvEXT = NULL;
935 PFNGLSECONDARYCOLOR3DEXTPROC __glewSecondaryColor3dEXT = NULL;
936 PFNGLSECONDARYCOLOR3DVEXTPROC __glewSecondaryColor3dvEXT = NULL;
937 PFNGLSECONDARYCOLOR3FEXTPROC __glewSecondaryColor3fEXT = NULL;
938 PFNGLSECONDARYCOLOR3FVEXTPROC __glewSecondaryColor3fvEXT = NULL;
939 PFNGLSECONDARYCOLOR3IEXTPROC __glewSecondaryColor3iEXT = NULL;
940 PFNGLSECONDARYCOLOR3IVEXTPROC __glewSecondaryColor3ivEXT = NULL;
941 PFNGLSECONDARYCOLOR3SEXTPROC __glewSecondaryColor3sEXT = NULL;
942 PFNGLSECONDARYCOLOR3SVEXTPROC __glewSecondaryColor3svEXT = NULL;
943 PFNGLSECONDARYCOLOR3UBEXTPROC __glewSecondaryColor3ubEXT = NULL;
944 PFNGLSECONDARYCOLOR3UBVEXTPROC __glewSecondaryColor3ubvEXT = NULL;
945 PFNGLSECONDARYCOLOR3UIEXTPROC __glewSecondaryColor3uiEXT = NULL;
946 PFNGLSECONDARYCOLOR3UIVEXTPROC __glewSecondaryColor3uivEXT = NULL;
947 PFNGLSECONDARYCOLOR3USEXTPROC __glewSecondaryColor3usEXT = NULL;
948 PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT = NULL;
949 PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT = NULL;
950
951 PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT = NULL;
952
953 PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT = NULL;
954 PFNGLTEXSUBIMAGE2DEXTPROC __glewTexSubImage2DEXT = NULL;
955 PFNGLTEXSUBIMAGE3DEXTPROC __glewTexSubImage3DEXT = NULL;
956
957 PFNGLTEXIMAGE3DEXTPROC __glewTexImage3DEXT = NULL;
958
959 PFNGLARETEXTURESRESIDENTEXTPROC __glewAreTexturesResidentEXT = NULL;
960 PFNGLBINDTEXTUREEXTPROC __glewBindTextureEXT = NULL;
961 PFNGLDELETETEXTURESEXTPROC __glewDeleteTexturesEXT = NULL;
962 PFNGLGENTEXTURESEXTPROC __glewGenTexturesEXT = NULL;
963 PFNGLISTEXTUREEXTPROC __glewIsTextureEXT = NULL;
964 PFNGLPRIORITIZETEXTURESEXTPROC __glewPrioritizeTexturesEXT = NULL;
965
966 PFNGLTEXTURENORMALEXTPROC __glewTextureNormalEXT = NULL;
967
968 PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT = NULL;
969 PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT = NULL;
970 PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT = NULL;
971 PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT = NULL;
972 PFNGLGETPOINTERVEXTPROC __glewGetPointervEXT = NULL;
973 PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT = NULL;
974 PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT = NULL;
975 PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL;
976 PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT = NULL;
977
978 PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT = NULL;
979 PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT = NULL;
980 PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT = NULL;
981 PFNGLBINDPARAMETEREXTPROC __glewBindParameterEXT = NULL;
982 PFNGLBINDTEXGENPARAMETEREXTPROC __glewBindTexGenParameterEXT = NULL;
983 PFNGLBINDTEXTUREUNITPARAMETEREXTPROC __glewBindTextureUnitParameterEXT = NULL;
984 PFNGLBINDVERTEXSHADEREXTPROC __glewBindVertexShaderEXT = NULL;
985 PFNGLDELETEVERTEXSHADEREXTPROC __glewDeleteVertexShaderEXT = NULL;
986 PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC __glewDisableVariantClientStateEXT = NULL;
987 PFNGLENABLEVARIANTCLIENTSTATEEXTPROC __glewEnableVariantClientStateEXT = NULL;
988 PFNGLENDVERTEXSHADEREXTPROC __glewEndVertexShaderEXT = NULL;
989 PFNGLEXTRACTCOMPONENTEXTPROC __glewExtractComponentEXT = NULL;
990 PFNGLGENSYMBOLSEXTPROC __glewGenSymbolsEXT = NULL;
991 PFNGLGENVERTEXSHADERSEXTPROC __glewGenVertexShadersEXT = NULL;
992 PFNGLGETINVARIANTBOOLEANVEXTPROC __glewGetInvariantBooleanvEXT = NULL;
993 PFNGLGETINVARIANTFLOATVEXTPROC __glewGetInvariantFloatvEXT = NULL;
994 PFNGLGETINVARIANTINTEGERVEXTPROC __glewGetInvariantIntegervEXT = NULL;
995 PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC __glewGetLocalConstantBooleanvEXT = NULL;
996 PFNGLGETLOCALCONSTANTFLOATVEXTPROC __glewGetLocalConstantFloatvEXT = NULL;
997 PFNGLGETLOCALCONSTANTINTEGERVEXTPROC __glewGetLocalConstantIntegervEXT = NULL;
998 PFNGLGETVARIANTBOOLEANVEXTPROC __glewGetVariantBooleanvEXT = NULL;
999 PFNGLGETVARIANTFLOATVEXTPROC __glewGetVariantFloatvEXT = NULL;
1000 PFNGLGETVARIANTINTEGERVEXTPROC __glewGetVariantIntegervEXT = NULL;
1001 PFNGLGETVARIANTPOINTERVEXTPROC __glewGetVariantPointervEXT = NULL;
1002 PFNGLINSERTCOMPONENTEXTPROC __glewInsertComponentEXT = NULL;
1003 PFNGLISVARIANTENABLEDEXTPROC __glewIsVariantEnabledEXT = NULL;
1004 PFNGLSETINVARIANTEXTPROC __glewSetInvariantEXT = NULL;
1005 PFNGLSETLOCALCONSTANTEXTPROC __glewSetLocalConstantEXT = NULL;
1006 PFNGLSHADEROP1EXTPROC __glewShaderOp1EXT = NULL;
1007 PFNGLSHADEROP2EXTPROC __glewShaderOp2EXT = NULL;
1008 PFNGLSHADEROP3EXTPROC __glewShaderOp3EXT = NULL;
1009 PFNGLSWIZZLEEXTPROC __glewSwizzleEXT = NULL;
1010 PFNGLVARIANTPOINTEREXTPROC __glewVariantPointerEXT = NULL;
1011 PFNGLVARIANTBVEXTPROC __glewVariantbvEXT = NULL;
1012 PFNGLVARIANTDVEXTPROC __glewVariantdvEXT = NULL;
1013 PFNGLVARIANTFVEXTPROC __glewVariantfvEXT = NULL;
1014 PFNGLVARIANTIVEXTPROC __glewVariantivEXT = NULL;
1015 PFNGLVARIANTSVEXTPROC __glewVariantsvEXT = NULL;
1016 PFNGLVARIANTUBVEXTPROC __glewVariantubvEXT = NULL;
1017 PFNGLVARIANTUIVEXTPROC __glewVariantuivEXT = NULL;
1018 PFNGLVARIANTUSVEXTPROC __glewVariantusvEXT = NULL;
1019 PFNGLWRITEMASKEXTPROC __glewWriteMaskEXT = NULL;
1020
1021 PFNGLVERTEXWEIGHTPOINTEREXTPROC __glewVertexWeightPointerEXT = NULL;
1022 PFNGLVERTEXWEIGHTFEXTPROC __glewVertexWeightfEXT = NULL;
1023 PFNGLVERTEXWEIGHTFVEXTPROC __glewVertexWeightfvEXT = NULL;
1024
1025 PFNGLSTRINGMARKERGREMEDYPROC __glewStringMarkerGREMEDY = NULL;
1026
1027 PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC __glewGetImageTransformParameterfvHP = NULL;
1028 PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC __glewGetImageTransformParameterivHP = NULL;
1029 PFNGLIMAGETRANSFORMPARAMETERFHPPROC __glewImageTransformParameterfHP = NULL;
1030 PFNGLIMAGETRANSFORMPARAMETERFVHPPROC __glewImageTransformParameterfvHP = NULL;
1031 PFNGLIMAGETRANSFORMPARAMETERIHPPROC __glewImageTransformParameteriHP = NULL;
1032 PFNGLIMAGETRANSFORMPARAMETERIVHPPROC __glewImageTransformParameterivHP = NULL;
1033
1034 PFNGLMULTIMODEDRAWARRAYSIBMPROC __glewMultiModeDrawArraysIBM = NULL;
1035 PFNGLMULTIMODEDRAWELEMENTSIBMPROC __glewMultiModeDrawElementsIBM = NULL;
1036
1037 PFNGLCOLORPOINTERLISTIBMPROC __glewColorPointerListIBM = NULL;
1038 PFNGLEDGEFLAGPOINTERLISTIBMPROC __glewEdgeFlagPointerListIBM = NULL;
1039 PFNGLFOGCOORDPOINTERLISTIBMPROC __glewFogCoordPointerListIBM = NULL;
1040 PFNGLINDEXPOINTERLISTIBMPROC __glewIndexPointerListIBM = NULL;
1041 PFNGLNORMALPOINTERLISTIBMPROC __glewNormalPointerListIBM = NULL;
1042 PFNGLSECONDARYCOLORPOINTERLISTIBMPROC __glewSecondaryColorPointerListIBM = NULL;
1043 PFNGLTEXCOORDPOINTERLISTIBMPROC __glewTexCoordPointerListIBM = NULL;
1044 PFNGLVERTEXPOINTERLISTIBMPROC __glewVertexPointerListIBM = NULL;
1045
1046 PFNGLCOLORPOINTERVINTELPROC __glewColorPointervINTEL = NULL;
1047 PFNGLNORMALPOINTERVINTELPROC __glewNormalPointervINTEL = NULL;
1048 PFNGLTEXCOORDPOINTERVINTELPROC __glewTexCoordPointervINTEL = NULL;
1049 PFNGLVERTEXPOINTERVINTELPROC __glewVertexPointervINTEL = NULL;
1050
1051 PFNGLTEXSCISSORFUNCINTELPROC __glewTexScissorFuncINTEL = NULL;
1052 PFNGLTEXSCISSORINTELPROC __glewTexScissorINTEL = NULL;
1053
1054 PFNGLBUFFERREGIONENABLEDEXTPROC __glewBufferRegionEnabledEXT = NULL;
1055 PFNGLDELETEBUFFERREGIONEXTPROC __glewDeleteBufferRegionEXT = NULL;
1056 PFNGLDRAWBUFFERREGIONEXTPROC __glewDrawBufferRegionEXT = NULL;
1057 PFNGLNEWBUFFERREGIONEXTPROC __glewNewBufferRegionEXT = NULL;
1058 PFNGLREADBUFFERREGIONEXTPROC __glewReadBufferRegionEXT = NULL;
1059
1060 PFNGLRESIZEBUFFERSMESAPROC __glewResizeBuffersMESA = NULL;
1061
1062 PFNGLWINDOWPOS2DMESAPROC __glewWindowPos2dMESA = NULL;
1063 PFNGLWINDOWPOS2DVMESAPROC __glewWindowPos2dvMESA = NULL;
1064 PFNGLWINDOWPOS2FMESAPROC __glewWindowPos2fMESA = NULL;
1065 PFNGLWINDOWPOS2FVMESAPROC __glewWindowPos2fvMESA = NULL;
1066 PFNGLWINDOWPOS2IMESAPROC __glewWindowPos2iMESA = NULL;
1067 PFNGLWINDOWPOS2IVMESAPROC __glewWindowPos2ivMESA = NULL;
1068 PFNGLWINDOWPOS2SMESAPROC __glewWindowPos2sMESA = NULL;
1069 PFNGLWINDOWPOS2SVMESAPROC __glewWindowPos2svMESA = NULL;
1070 PFNGLWINDOWPOS3DMESAPROC __glewWindowPos3dMESA = NULL;
1071 PFNGLWINDOWPOS3DVMESAPROC __glewWindowPos3dvMESA = NULL;
1072 PFNGLWINDOWPOS3FMESAPROC __glewWindowPos3fMESA = NULL;
1073 PFNGLWINDOWPOS3FVMESAPROC __glewWindowPos3fvMESA = NULL;
1074 PFNGLWINDOWPOS3IMESAPROC __glewWindowPos3iMESA = NULL;
1075 PFNGLWINDOWPOS3IVMESAPROC __glewWindowPos3ivMESA = NULL;
1076 PFNGLWINDOWPOS3SMESAPROC __glewWindowPos3sMESA = NULL;
1077 PFNGLWINDOWPOS3SVMESAPROC __glewWindowPos3svMESA = NULL;
1078 PFNGLWINDOWPOS4DMESAPROC __glewWindowPos4dMESA = NULL;
1079 PFNGLWINDOWPOS4DVMESAPROC __glewWindowPos4dvMESA = NULL;
1080 PFNGLWINDOWPOS4FMESAPROC __glewWindowPos4fMESA = NULL;
1081 PFNGLWINDOWPOS4FVMESAPROC __glewWindowPos4fvMESA = NULL;
1082 PFNGLWINDOWPOS4IMESAPROC __glewWindowPos4iMESA = NULL;
1083 PFNGLWINDOWPOS4IVMESAPROC __glewWindowPos4ivMESA = NULL;
1084 PFNGLWINDOWPOS4SMESAPROC __glewWindowPos4sMESA = NULL;
1085 PFNGLWINDOWPOS4SVMESAPROC __glewWindowPos4svMESA = NULL;
1086
1087 PFNGLEVALMAPSNVPROC __glewEvalMapsNV = NULL;
1088 PFNGLGETMAPATTRIBPARAMETERFVNVPROC __glewGetMapAttribParameterfvNV = NULL;
1089 PFNGLGETMAPATTRIBPARAMETERIVNVPROC __glewGetMapAttribParameterivNV = NULL;
1090 PFNGLGETMAPCONTROLPOINTSNVPROC __glewGetMapControlPointsNV = NULL;
1091 PFNGLGETMAPPARAMETERFVNVPROC __glewGetMapParameterfvNV = NULL;
1092 PFNGLGETMAPPARAMETERIVNVPROC __glewGetMapParameterivNV = NULL;
1093 PFNGLMAPCONTROLPOINTSNVPROC __glewMapControlPointsNV = NULL;
1094 PFNGLMAPPARAMETERFVNVPROC __glewMapParameterfvNV = NULL;
1095 PFNGLMAPPARAMETERIVNVPROC __glewMapParameterivNV = NULL;
1096
1097 PFNGLDELETEFENCESNVPROC __glewDeleteFencesNV = NULL;
1098 PFNGLFINISHFENCENVPROC __glewFinishFenceNV = NULL;
1099 PFNGLGENFENCESNVPROC __glewGenFencesNV = NULL;
1100 PFNGLGETFENCEIVNVPROC __glewGetFenceivNV = NULL;
1101 PFNGLISFENCENVPROC __glewIsFenceNV = NULL;
1102 PFNGLSETFENCENVPROC __glewSetFenceNV = NULL;
1103 PFNGLTESTFENCENVPROC __glewTestFenceNV = NULL;
1104
1105 PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC __glewGetProgramNamedParameterdvNV = NULL;
1106 PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC __glewGetProgramNamedParameterfvNV = NULL;
1107 PFNGLPROGRAMNAMEDPARAMETER4DNVPROC __glewProgramNamedParameter4dNV = NULL;
1108 PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC __glewProgramNamedParameter4dvNV = NULL;
1109 PFNGLPROGRAMNAMEDPARAMETER4FNVPROC __glewProgramNamedParameter4fNV = NULL;
1110 PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC __glewProgramNamedParameter4fvNV = NULL;
1111
1112 PFNGLCOLOR3HNVPROC __glewColor3hNV = NULL;
1113 PFNGLCOLOR3HVNVPROC __glewColor3hvNV = NULL;
1114 PFNGLCOLOR4HNVPROC __glewColor4hNV = NULL;
1115 PFNGLCOLOR4HVNVPROC __glewColor4hvNV = NULL;
1116 PFNGLFOGCOORDHNVPROC __glewFogCoordhNV = NULL;
1117 PFNGLFOGCOORDHVNVPROC __glewFogCoordhvNV = NULL;
1118 PFNGLMULTITEXCOORD1HNVPROC __glewMultiTexCoord1hNV = NULL;
1119 PFNGLMULTITEXCOORD1HVNVPROC __glewMultiTexCoord1hvNV = NULL;
1120 PFNGLMULTITEXCOORD2HNVPROC __glewMultiTexCoord2hNV = NULL;
1121 PFNGLMULTITEXCOORD2HVNVPROC __glewMultiTexCoord2hvNV = NULL;
1122 PFNGLMULTITEXCOORD3HNVPROC __glewMultiTexCoord3hNV = NULL;
1123 PFNGLMULTITEXCOORD3HVNVPROC __glewMultiTexCoord3hvNV = NULL;
1124 PFNGLMULTITEXCOORD4HNVPROC __glewMultiTexCoord4hNV = NULL;
1125 PFNGLMULTITEXCOORD4HVNVPROC __glewMultiTexCoord4hvNV = NULL;
1126 PFNGLNORMAL3HNVPROC __glewNormal3hNV = NULL;
1127 PFNGLNORMAL3HVNVPROC __glewNormal3hvNV = NULL;
1128 PFNGLSECONDARYCOLOR3HNVPROC __glewSecondaryColor3hNV = NULL;
1129 PFNGLSECONDARYCOLOR3HVNVPROC __glewSecondaryColor3hvNV = NULL;
1130 PFNGLTEXCOORD1HNVPROC __glewTexCoord1hNV = NULL;
1131 PFNGLTEXCOORD1HVNVPROC __glewTexCoord1hvNV = NULL;
1132 PFNGLTEXCOORD2HNVPROC __glewTexCoord2hNV = NULL;
1133 PFNGLTEXCOORD2HVNVPROC __glewTexCoord2hvNV = NULL;
1134 PFNGLTEXCOORD3HNVPROC __glewTexCoord3hNV = NULL;
1135 PFNGLTEXCOORD3HVNVPROC __glewTexCoord3hvNV = NULL;
1136 PFNGLTEXCOORD4HNVPROC __glewTexCoord4hNV = NULL;
1137 PFNGLTEXCOORD4HVNVPROC __glewTexCoord4hvNV = NULL;
1138 PFNGLVERTEX2HNVPROC __glewVertex2hNV = NULL;
1139 PFNGLVERTEX2HVNVPROC __glewVertex2hvNV = NULL;
1140 PFNGLVERTEX3HNVPROC __glewVertex3hNV = NULL;
1141 PFNGLVERTEX3HVNVPROC __glewVertex3hvNV = NULL;
1142 PFNGLVERTEX4HNVPROC __glewVertex4hNV = NULL;
1143 PFNGLVERTEX4HVNVPROC __glewVertex4hvNV = NULL;
1144 PFNGLVERTEXATTRIB1HNVPROC __glewVertexAttrib1hNV = NULL;
1145 PFNGLVERTEXATTRIB1HVNVPROC __glewVertexAttrib1hvNV = NULL;
1146 PFNGLVERTEXATTRIB2HNVPROC __glewVertexAttrib2hNV = NULL;
1147 PFNGLVERTEXATTRIB2HVNVPROC __glewVertexAttrib2hvNV = NULL;
1148 PFNGLVERTEXATTRIB3HNVPROC __glewVertexAttrib3hNV = NULL;
1149 PFNGLVERTEXATTRIB3HVNVPROC __glewVertexAttrib3hvNV = NULL;
1150 PFNGLVERTEXATTRIB4HNVPROC __glewVertexAttrib4hNV = NULL;
1151 PFNGLVERTEXATTRIB4HVNVPROC __glewVertexAttrib4hvNV = NULL;
1152 PFNGLVERTEXATTRIBS1HVNVPROC __glewVertexAttribs1hvNV = NULL;
1153 PFNGLVERTEXATTRIBS2HVNVPROC __glewVertexAttribs2hvNV = NULL;
1154 PFNGLVERTEXATTRIBS3HVNVPROC __glewVertexAttribs3hvNV = NULL;
1155 PFNGLVERTEXATTRIBS4HVNVPROC __glewVertexAttribs4hvNV = NULL;
1156 PFNGLVERTEXWEIGHTHNVPROC __glewVertexWeighthNV = NULL;
1157 PFNGLVERTEXWEIGHTHVNVPROC __glewVertexWeighthvNV = NULL;
1158
1159 PFNGLBEGINOCCLUSIONQUERYNVPROC __glewBeginOcclusionQueryNV = NULL;
1160 PFNGLDELETEOCCLUSIONQUERIESNVPROC __glewDeleteOcclusionQueriesNV = NULL;
1161 PFNGLENDOCCLUSIONQUERYNVPROC __glewEndOcclusionQueryNV = NULL;
1162 PFNGLGENOCCLUSIONQUERIESNVPROC __glewGenOcclusionQueriesNV = NULL;
1163 PFNGLGETOCCLUSIONQUERYIVNVPROC __glewGetOcclusionQueryivNV = NULL;
1164 PFNGLGETOCCLUSIONQUERYUIVNVPROC __glewGetOcclusionQueryuivNV = NULL;
1165 PFNGLISOCCLUSIONQUERYNVPROC __glewIsOcclusionQueryNV = NULL;
1166
1167 PFNGLFLUSHPIXELDATARANGENVPROC __glewFlushPixelDataRangeNV = NULL;
1168 PFNGLPIXELDATARANGENVPROC __glewPixelDataRangeNV = NULL;
1169
1170 PFNGLPOINTPARAMETERINVPROC __glewPointParameteriNV = NULL;
1171 PFNGLPOINTPARAMETERIVNVPROC __glewPointParameterivNV = NULL;
1172
1173 PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV = NULL;
1174 PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV = NULL;
1175
1176 PFNGLCOMBINERINPUTNVPROC __glewCombinerInputNV = NULL;
1177 PFNGLCOMBINEROUTPUTNVPROC __glewCombinerOutputNV = NULL;
1178 PFNGLCOMBINERPARAMETERFNVPROC __glewCombinerParameterfNV = NULL;
1179 PFNGLCOMBINERPARAMETERFVNVPROC __glewCombinerParameterfvNV = NULL;
1180 PFNGLCOMBINERPARAMETERINVPROC __glewCombinerParameteriNV = NULL;
1181 PFNGLCOMBINERPARAMETERIVNVPROC __glewCombinerParameterivNV = NULL;
1182 PFNGLFINALCOMBINERINPUTNVPROC __glewFinalCombinerInputNV = NULL;
1183 PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC __glewGetCombinerInputParameterfvNV = NULL;
1184 PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC __glewGetCombinerInputParameterivNV = NULL;
1185 PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC __glewGetCombinerOutputParameterfvNV = NULL;
1186 PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC __glewGetCombinerOutputParameterivNV = NULL;
1187 PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC __glewGetFinalCombinerInputParameterfvNV = NULL;
1188 PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC __glewGetFinalCombinerInputParameterivNV = NULL;
1189
1190 PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV = NULL;
1191 PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV = NULL;
1192
1193 PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL;
1194 PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL;
1195
1196 PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV = NULL;
1197 PFNGLBINDPROGRAMNVPROC __glewBindProgramNV = NULL;
1198 PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV = NULL;
1199 PFNGLEXECUTEPROGRAMNVPROC __glewExecuteProgramNV = NULL;
1200 PFNGLGENPROGRAMSNVPROC __glewGenProgramsNV = NULL;
1201 PFNGLGETPROGRAMPARAMETERDVNVPROC __glewGetProgramParameterdvNV = NULL;
1202 PFNGLGETPROGRAMPARAMETERFVNVPROC __glewGetProgramParameterfvNV = NULL;
1203 PFNGLGETPROGRAMSTRINGNVPROC __glewGetProgramStringNV = NULL;
1204 PFNGLGETPROGRAMIVNVPROC __glewGetProgramivNV = NULL;
1205 PFNGLGETTRACKMATRIXIVNVPROC __glewGetTrackMatrixivNV = NULL;
1206 PFNGLGETVERTEXATTRIBPOINTERVNVPROC __glewGetVertexAttribPointervNV = NULL;
1207 PFNGLGETVERTEXATTRIBDVNVPROC __glewGetVertexAttribdvNV = NULL;
1208 PFNGLGETVERTEXATTRIBFVNVPROC __glewGetVertexAttribfvNV = NULL;
1209 PFNGLGETVERTEXATTRIBIVNVPROC __glewGetVertexAttribivNV = NULL;
1210 PFNGLISPROGRAMNVPROC __glewIsProgramNV = NULL;
1211 PFNGLLOADPROGRAMNVPROC __glewLoadProgramNV = NULL;
1212 PFNGLPROGRAMPARAMETER4DNVPROC __glewProgramParameter4dNV = NULL;
1213 PFNGLPROGRAMPARAMETER4DVNVPROC __glewProgramParameter4dvNV = NULL;
1214 PFNGLPROGRAMPARAMETER4FNVPROC __glewProgramParameter4fNV = NULL;
1215 PFNGLPROGRAMPARAMETER4FVNVPROC __glewProgramParameter4fvNV = NULL;
1216 PFNGLPROGRAMPARAMETERS4DVNVPROC __glewProgramParameters4dvNV = NULL;
1217 PFNGLPROGRAMPARAMETERS4FVNVPROC __glewProgramParameters4fvNV = NULL;
1218 PFNGLREQUESTRESIDENTPROGRAMSNVPROC __glewRequestResidentProgramsNV = NULL;
1219 PFNGLTRACKMATRIXNVPROC __glewTrackMatrixNV = NULL;
1220 PFNGLVERTEXATTRIB1DNVPROC __glewVertexAttrib1dNV = NULL;
1221 PFNGLVERTEXATTRIB1DVNVPROC __glewVertexAttrib1dvNV = NULL;
1222 PFNGLVERTEXATTRIB1FNVPROC __glewVertexAttrib1fNV = NULL;
1223 PFNGLVERTEXATTRIB1FVNVPROC __glewVertexAttrib1fvNV = NULL;
1224 PFNGLVERTEXATTRIB1SNVPROC __glewVertexAttrib1sNV = NULL;
1225 PFNGLVERTEXATTRIB1SVNVPROC __glewVertexAttrib1svNV = NULL;
1226 PFNGLVERTEXATTRIB2DNVPROC __glewVertexAttrib2dNV = NULL;
1227 PFNGLVERTEXATTRIB2DVNVPROC __glewVertexAttrib2dvNV = NULL;
1228 PFNGLVERTEXATTRIB2FNVPROC __glewVertexAttrib2fNV = NULL;
1229 PFNGLVERTEXATTRIB2FVNVPROC __glewVertexAttrib2fvNV = NULL;
1230 PFNGLVERTEXATTRIB2SNVPROC __glewVertexAttrib2sNV = NULL;
1231 PFNGLVERTEXATTRIB2SVNVPROC __glewVertexAttrib2svNV = NULL;
1232 PFNGLVERTEXATTRIB3DNVPROC __glewVertexAttrib3dNV = NULL;
1233 PFNGLVERTEXATTRIB3DVNVPROC __glewVertexAttrib3dvNV = NULL;
1234 PFNGLVERTEXATTRIB3FNVPROC __glewVertexAttrib3fNV = NULL;
1235 PFNGLVERTEXATTRIB3FVNVPROC __glewVertexAttrib3fvNV = NULL;
1236 PFNGLVERTEXATTRIB3SNVPROC __glewVertexAttrib3sNV = NULL;
1237 PFNGLVERTEXATTRIB3SVNVPROC __glewVertexAttrib3svNV = NULL;
1238 PFNGLVERTEXATTRIB4DNVPROC __glewVertexAttrib4dNV = NULL;
1239 PFNGLVERTEXATTRIB4DVNVPROC __glewVertexAttrib4dvNV = NULL;
1240 PFNGLVERTEXATTRIB4FNVPROC __glewVertexAttrib4fNV = NULL;
1241 PFNGLVERTEXATTRIB4FVNVPROC __glewVertexAttrib4fvNV = NULL;
1242 PFNGLVERTEXATTRIB4SNVPROC __glewVertexAttrib4sNV = NULL;
1243 PFNGLVERTEXATTRIB4SVNVPROC __glewVertexAttrib4svNV = NULL;
1244 PFNGLVERTEXATTRIB4UBNVPROC __glewVertexAttrib4ubNV = NULL;
1245 PFNGLVERTEXATTRIB4UBVNVPROC __glewVertexAttrib4ubvNV = NULL;
1246 PFNGLVERTEXATTRIBPOINTERNVPROC __glewVertexAttribPointerNV = NULL;
1247 PFNGLVERTEXATTRIBS1DVNVPROC __glewVertexAttribs1dvNV = NULL;
1248 PFNGLVERTEXATTRIBS1FVNVPROC __glewVertexAttribs1fvNV = NULL;
1249 PFNGLVERTEXATTRIBS1SVNVPROC __glewVertexAttribs1svNV = NULL;
1250 PFNGLVERTEXATTRIBS2DVNVPROC __glewVertexAttribs2dvNV = NULL;
1251 PFNGLVERTEXATTRIBS2FVNVPROC __glewVertexAttribs2fvNV = NULL;
1252 PFNGLVERTEXATTRIBS2SVNVPROC __glewVertexAttribs2svNV = NULL;
1253 PFNGLVERTEXATTRIBS3DVNVPROC __glewVertexAttribs3dvNV = NULL;
1254 PFNGLVERTEXATTRIBS3FVNVPROC __glewVertexAttribs3fvNV = NULL;
1255 PFNGLVERTEXATTRIBS3SVNVPROC __glewVertexAttribs3svNV = NULL;
1256 PFNGLVERTEXATTRIBS4DVNVPROC __glewVertexAttribs4dvNV = NULL;
1257 PFNGLVERTEXATTRIBS4FVNVPROC __glewVertexAttribs4fvNV = NULL;
1258 PFNGLVERTEXATTRIBS4SVNVPROC __glewVertexAttribs4svNV = NULL;
1259 PFNGLVERTEXATTRIBS4UBVNVPROC __glewVertexAttribs4ubvNV = NULL;
1260
1261 PFNGLDETAILTEXFUNCSGISPROC __glewDetailTexFuncSGIS = NULL;
1262 PFNGLGETDETAILTEXFUNCSGISPROC __glewGetDetailTexFuncSGIS = NULL;
1263
1264 PFNGLFOGFUNCSGISPROC __glewFogFuncSGIS = NULL;
1265 PFNGLGETFOGFUNCSGISPROC __glewGetFogFuncSGIS = NULL;
1266
1267 PFNGLSAMPLEMASKSGISPROC __glewSampleMaskSGIS = NULL;
1268 PFNGLSAMPLEPATTERNSGISPROC __glewSamplePatternSGIS = NULL;
1269
1270 PFNGLGETSHARPENTEXFUNCSGISPROC __glewGetSharpenTexFuncSGIS = NULL;
1271 PFNGLSHARPENTEXFUNCSGISPROC __glewSharpenTexFuncSGIS = NULL;
1272
1273 PFNGLTEXIMAGE4DSGISPROC __glewTexImage4DSGIS = NULL;
1274 PFNGLTEXSUBIMAGE4DSGISPROC __glewTexSubImage4DSGIS = NULL;
1275
1276 PFNGLGETTEXFILTERFUNCSGISPROC __glewGetTexFilterFuncSGIS = NULL;
1277 PFNGLTEXFILTERFUNCSGISPROC __glewTexFilterFuncSGIS = NULL;
1278
1279 PFNGLASYNCMARKERSGIXPROC __glewAsyncMarkerSGIX = NULL;
1280 PFNGLDELETEASYNCMARKERSSGIXPROC __glewDeleteAsyncMarkersSGIX = NULL;
1281 PFNGLFINISHASYNCSGIXPROC __glewFinishAsyncSGIX = NULL;
1282 PFNGLGENASYNCMARKERSSGIXPROC __glewGenAsyncMarkersSGIX = NULL;
1283 PFNGLISASYNCMARKERSGIXPROC __glewIsAsyncMarkerSGIX = NULL;
1284 PFNGLPOLLASYNCSGIXPROC __glewPollAsyncSGIX = NULL;
1285
1286 PFNGLFLUSHRASTERSGIXPROC __glewFlushRasterSGIX = NULL;
1287
1288 PFNGLTEXTUREFOGSGIXPROC __glewTextureFogSGIX = NULL;
1289
1290 #if 0
1291 PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX = NULL;
1292 PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX = NULL;
1293 PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX = NULL;
1294 PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX = NULL;
1295 PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX = NULL;
1296 PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX = NULL;
1297 PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX = NULL;
1298 PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX = NULL;
1299 PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX = NULL;
1300 PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX = NULL;
1301 PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX = NULL;
1302 PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX = NULL;
1303 PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX = NULL;
1304 PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX = NULL;
1305 PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX = NULL;
1306 PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX = NULL;
1307 PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX = NULL;
1308 #endif
1309
1310 PFNGLFRAMEZOOMSGIXPROC __glewFrameZoomSGIX = NULL;
1311
1312 PFNGLPIXELTEXGENSGIXPROC __glewPixelTexGenSGIX = NULL;
1313
1314 PFNGLREFERENCEPLANESGIXPROC __glewReferencePlaneSGIX = NULL;
1315
1316 PFNGLSPRITEPARAMETERFSGIXPROC __glewSpriteParameterfSGIX = NULL;
1317 PFNGLSPRITEPARAMETERFVSGIXPROC __glewSpriteParameterfvSGIX = NULL;
1318 PFNGLSPRITEPARAMETERISGIXPROC __glewSpriteParameteriSGIX = NULL;
1319 PFNGLSPRITEPARAMETERIVSGIXPROC __glewSpriteParameterivSGIX = NULL;
1320
1321 PFNGLTAGSAMPLEBUFFERSGIXPROC __glewTagSampleBufferSGIX = NULL;
1322
1323 PFNGLCOLORTABLEPARAMETERFVSGIPROC __glewColorTableParameterfvSGI = NULL;
1324 PFNGLCOLORTABLEPARAMETERIVSGIPROC __glewColorTableParameterivSGI = NULL;
1325 PFNGLCOLORTABLESGIPROC __glewColorTableSGI = NULL;
1326 PFNGLCOPYCOLORTABLESGIPROC __glewCopyColorTableSGI = NULL;
1327 PFNGLGETCOLORTABLEPARAMETERFVSGIPROC __glewGetColorTableParameterfvSGI = NULL;
1328 PFNGLGETCOLORTABLEPARAMETERIVSGIPROC __glewGetColorTableParameterivSGI = NULL;
1329 PFNGLGETCOLORTABLESGIPROC __glewGetColorTableSGI = NULL;
1330
1331 PFNGLFINISHTEXTURESUNXPROC __glewFinishTextureSUNX = NULL;
1332
1333 PFNGLGLOBALALPHAFACTORBSUNPROC __glewGlobalAlphaFactorbSUN = NULL;
1334 PFNGLGLOBALALPHAFACTORDSUNPROC __glewGlobalAlphaFactordSUN = NULL;
1335 PFNGLGLOBALALPHAFACTORFSUNPROC __glewGlobalAlphaFactorfSUN = NULL;
1336 PFNGLGLOBALALPHAFACTORISUNPROC __glewGlobalAlphaFactoriSUN = NULL;
1337 PFNGLGLOBALALPHAFACTORSSUNPROC __glewGlobalAlphaFactorsSUN = NULL;
1338 PFNGLGLOBALALPHAFACTORUBSUNPROC __glewGlobalAlphaFactorubSUN = NULL;
1339 PFNGLGLOBALALPHAFACTORUISUNPROC __glewGlobalAlphaFactoruiSUN = NULL;
1340 PFNGLGLOBALALPHAFACTORUSSUNPROC __glewGlobalAlphaFactorusSUN = NULL;
1341
1342 PFNGLREADVIDEOPIXELSSUNPROC __glewReadVideoPixelsSUN = NULL;
1343
1344 PFNGLREPLACEMENTCODEPOINTERSUNPROC __glewReplacementCodePointerSUN = NULL;
1345 PFNGLREPLACEMENTCODEUBSUNPROC __glewReplacementCodeubSUN = NULL;
1346 PFNGLREPLACEMENTCODEUBVSUNPROC __glewReplacementCodeubvSUN = NULL;
1347 PFNGLREPLACEMENTCODEUISUNPROC __glewReplacementCodeuiSUN = NULL;
1348 PFNGLREPLACEMENTCODEUIVSUNPROC __glewReplacementCodeuivSUN = NULL;
1349 PFNGLREPLACEMENTCODEUSSUNPROC __glewReplacementCodeusSUN = NULL;
1350 PFNGLREPLACEMENTCODEUSVSUNPROC __glewReplacementCodeusvSUN = NULL;
1351
1352 PFNGLCOLOR3FVERTEX3FSUNPROC __glewColor3fVertex3fSUN = NULL;
1353 PFNGLCOLOR3FVERTEX3FVSUNPROC __glewColor3fVertex3fvSUN = NULL;
1354 PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewColor4fNormal3fVertex3fSUN = NULL;
1355 PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewColor4fNormal3fVertex3fvSUN = NULL;
1356 PFNGLCOLOR4UBVERTEX2FSUNPROC __glewColor4ubVertex2fSUN = NULL;
1357 PFNGLCOLOR4UBVERTEX2FVSUNPROC __glewColor4ubVertex2fvSUN = NULL;
1358 PFNGLCOLOR4UBVERTEX3FSUNPROC __glewColor4ubVertex3fSUN = NULL;
1359 PFNGLCOLOR4UBVERTEX3FVSUNPROC __glewColor4ubVertex3fvSUN = NULL;
1360 PFNGLNORMAL3FVERTEX3FSUNPROC __glewNormal3fVertex3fSUN = NULL;
1361 PFNGLNORMAL3FVERTEX3FVSUNPROC __glewNormal3fVertex3fvSUN = NULL;
1362 PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC __glewReplacementCodeuiColor3fVertex3fSUN = NULL;
1363 PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor3fVertex3fvSUN = NULL;
1364 PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fSUN = NULL;
1365 PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fvSUN = NULL;
1366 PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC __glewReplacementCodeuiColor4ubVertex3fSUN = NULL;
1367 PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC __glewReplacementCodeuiColor4ubVertex3fvSUN = NULL;
1368 PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiNormal3fVertex3fSUN = NULL;
1369 PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiNormal3fVertex3fvSUN = NULL;
1370 PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
1371 PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
1372 PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = NULL;
1373 PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = NULL;
1374 PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fSUN = NULL;
1375 PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fvSUN = NULL;
1376 PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC __glewReplacementCodeuiVertex3fSUN = NULL;
1377 PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC __glewReplacementCodeuiVertex3fvSUN = NULL;
1378 PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC __glewTexCoord2fColor3fVertex3fSUN = NULL;
1379 PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC __glewTexCoord2fColor3fVertex3fvSUN = NULL;
1380 PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
1381 PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
1382 PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC __glewTexCoord2fColor4ubVertex3fSUN = NULL;
1383 PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC __glewTexCoord2fColor4ubVertex3fvSUN = NULL;
1384 PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fNormal3fVertex3fSUN = NULL;
1385 PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fNormal3fVertex3fvSUN = NULL;
1386 PFNGLTEXCOORD2FVERTEX3FSUNPROC __glewTexCoord2fVertex3fSUN = NULL;
1387 PFNGLTEXCOORD2FVERTEX3FVSUNPROC __glewTexCoord2fVertex3fvSUN = NULL;
1388 PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fSUN = NULL;
1389 PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fvSUN = NULL;
1390 PFNGLTEXCOORD4FVERTEX4FSUNPROC __glewTexCoord4fVertex4fSUN = NULL;
1391 PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN = NULL;
1392
1393 PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN = NULL;
1394
1395 #endif /* !WIN32 || !GLEW_MX */
1396
1397 #if !defined(GLEW_MX)
1398
1399 GLboolean __GLEW_VERSION_1_1 = GL_FALSE;
1400 GLboolean __GLEW_VERSION_1_2 = GL_FALSE;
1401 GLboolean __GLEW_VERSION_1_3 = GL_FALSE;
1402 GLboolean __GLEW_VERSION_1_4 = GL_FALSE;
1403 GLboolean __GLEW_VERSION_1_5 = GL_FALSE;
1404 GLboolean __GLEW_VERSION_2_0 = GL_FALSE;
1405 GLboolean __GLEW_3DFX_multisample = GL_FALSE;
1406 GLboolean __GLEW_3DFX_tbuffer = GL_FALSE;
1407 GLboolean __GLEW_3DFX_texture_compression_FXT1 = GL_FALSE;
1408 GLboolean __GLEW_APPLE_client_storage = GL_FALSE;
1409 GLboolean __GLEW_APPLE_element_array = GL_FALSE;
1410 GLboolean __GLEW_APPLE_fence = GL_FALSE;
1411 GLboolean __GLEW_APPLE_float_pixels = GL_FALSE;
1412 GLboolean __GLEW_APPLE_pixel_buffer = GL_FALSE;
1413 GLboolean __GLEW_APPLE_specular_vector = GL_FALSE;
1414 GLboolean __GLEW_APPLE_texture_range = GL_FALSE;
1415 GLboolean __GLEW_APPLE_transform_hint = GL_FALSE;
1416 GLboolean __GLEW_APPLE_vertex_array_object = GL_FALSE;
1417 GLboolean __GLEW_APPLE_vertex_array_range = GL_FALSE;
1418 GLboolean __GLEW_APPLE_ycbcr_422 = GL_FALSE;
1419 GLboolean __GLEW_ARB_color_buffer_float = GL_FALSE;
1420 GLboolean __GLEW_ARB_depth_texture = GL_FALSE;
1421 GLboolean __GLEW_ARB_draw_buffers = GL_FALSE;
1422 GLboolean __GLEW_ARB_fragment_program = GL_FALSE;
1423 GLboolean __GLEW_ARB_fragment_program_shadow = GL_FALSE;
1424 GLboolean __GLEW_ARB_fragment_shader = GL_FALSE;
1425 GLboolean __GLEW_ARB_half_float_pixel = GL_FALSE;
1426 GLboolean __GLEW_ARB_imaging = GL_FALSE;
1427 GLboolean __GLEW_ARB_matrix_palette = GL_FALSE;
1428 GLboolean __GLEW_ARB_multisample = GL_FALSE;
1429 GLboolean __GLEW_ARB_multitexture = GL_FALSE;
1430 GLboolean __GLEW_ARB_occlusion_query = GL_FALSE;
1431 GLboolean __GLEW_ARB_pixel_buffer_object = GL_FALSE;
1432 GLboolean __GLEW_ARB_point_parameters = GL_FALSE;
1433 GLboolean __GLEW_ARB_point_sprite = GL_FALSE;
1434 GLboolean __GLEW_ARB_shader_objects = GL_FALSE;
1435 GLboolean __GLEW_ARB_shading_language_100 = GL_FALSE;
1436 GLboolean __GLEW_ARB_shadow = GL_FALSE;
1437 GLboolean __GLEW_ARB_shadow_ambient = GL_FALSE;
1438 GLboolean __GLEW_ARB_texture_border_clamp = GL_FALSE;
1439 GLboolean __GLEW_ARB_texture_compression = GL_FALSE;
1440 GLboolean __GLEW_ARB_texture_cube_map = GL_FALSE;
1441 GLboolean __GLEW_ARB_texture_env_add = GL_FALSE;
1442 GLboolean __GLEW_ARB_texture_env_combine = GL_FALSE;
1443 GLboolean __GLEW_ARB_texture_env_crossbar = GL_FALSE;
1444 GLboolean __GLEW_ARB_texture_env_dot3 = GL_FALSE;
1445 GLboolean __GLEW_ARB_texture_float = GL_FALSE;
1446 GLboolean __GLEW_ARB_texture_mirrored_repeat = GL_FALSE;
1447 GLboolean __GLEW_ARB_texture_non_power_of_two = GL_FALSE;
1448 GLboolean __GLEW_ARB_texture_rectangle = GL_FALSE;
1449 GLboolean __GLEW_ARB_transpose_matrix = GL_FALSE;
1450 GLboolean __GLEW_ARB_vertex_blend = GL_FALSE;
1451 GLboolean __GLEW_ARB_vertex_buffer_object = GL_FALSE;
1452 GLboolean __GLEW_ARB_vertex_program = GL_FALSE;
1453 GLboolean __GLEW_ARB_vertex_shader = GL_FALSE;
1454 GLboolean __GLEW_ARB_window_pos = GL_FALSE;
1455 GLboolean __GLEW_ATIX_point_sprites = GL_FALSE;
1456 GLboolean __GLEW_ATIX_texture_env_combine3 = GL_FALSE;
1457 GLboolean __GLEW_ATIX_texture_env_route = GL_FALSE;
1458 GLboolean __GLEW_ATIX_vertex_shader_output_point_size = GL_FALSE;
1459 GLboolean __GLEW_ATI_draw_buffers = GL_FALSE;
1460 GLboolean __GLEW_ATI_element_array = GL_FALSE;
1461 GLboolean __GLEW_ATI_envmap_bumpmap = GL_FALSE;
1462 GLboolean __GLEW_ATI_fragment_shader = GL_FALSE;
1463 GLboolean __GLEW_ATI_map_object_buffer = GL_FALSE;
1464 GLboolean __GLEW_ATI_pn_triangles = GL_FALSE;
1465 GLboolean __GLEW_ATI_separate_stencil = GL_FALSE;
1466 GLboolean __GLEW_ATI_text_fragment_shader = GL_FALSE;
1467 GLboolean __GLEW_ATI_texture_compression_3dc = GL_FALSE;
1468 GLboolean __GLEW_ATI_texture_env_combine3 = GL_FALSE;
1469 GLboolean __GLEW_ATI_texture_float = GL_FALSE;
1470 GLboolean __GLEW_ATI_texture_mirror_once = GL_FALSE;
1471 GLboolean __GLEW_ATI_vertex_array_object = GL_FALSE;
1472 GLboolean __GLEW_ATI_vertex_attrib_array_object = GL_FALSE;
1473 GLboolean __GLEW_ATI_vertex_streams = GL_FALSE;
1474 GLboolean __GLEW_EXT_422_pixels = GL_FALSE;
1475 GLboolean __GLEW_EXT_Cg_shader = GL_FALSE;
1476 GLboolean __GLEW_EXT_abgr = GL_FALSE;
1477 GLboolean __GLEW_EXT_bgra = GL_FALSE;
1478 GLboolean __GLEW_EXT_blend_color = GL_FALSE;
1479 GLboolean __GLEW_EXT_blend_equation_separate = GL_FALSE;
1480 GLboolean __GLEW_EXT_blend_func_separate = GL_FALSE;
1481 GLboolean __GLEW_EXT_blend_logic_op = GL_FALSE;
1482 GLboolean __GLEW_EXT_blend_minmax = GL_FALSE;
1483 GLboolean __GLEW_EXT_blend_subtract = GL_FALSE;
1484 GLboolean __GLEW_EXT_clip_volume_hint = GL_FALSE;
1485 GLboolean __GLEW_EXT_cmyka = GL_FALSE;
1486 GLboolean __GLEW_EXT_color_subtable = GL_FALSE;
1487 GLboolean __GLEW_EXT_compiled_vertex_array = GL_FALSE;
1488 GLboolean __GLEW_EXT_convolution = GL_FALSE;
1489 GLboolean __GLEW_EXT_coordinate_frame = GL_FALSE;
1490 GLboolean __GLEW_EXT_copy_texture = GL_FALSE;
1491 GLboolean __GLEW_EXT_cull_vertex = GL_FALSE;
1492 GLboolean __GLEW_EXT_depth_bounds_test = GL_FALSE;
1493 GLboolean __GLEW_EXT_draw_range_elements = GL_FALSE;
1494 GLboolean __GLEW_EXT_fog_coord = GL_FALSE;
1495 GLboolean __GLEW_EXT_fragment_lighting = GL_FALSE;
1496 GLboolean __GLEW_EXT_framebuffer_blit = GL_FALSE;
1497 GLboolean __GLEW_EXT_framebuffer_multisample = GL_FALSE;
1498 GLboolean __GLEW_EXT_framebuffer_object = GL_FALSE;
1499 GLboolean __GLEW_EXT_histogram = GL_FALSE;
1500 GLboolean __GLEW_EXT_index_array_formats = GL_FALSE;
1501 GLboolean __GLEW_EXT_index_func = GL_FALSE;
1502 GLboolean __GLEW_EXT_index_material = GL_FALSE;
1503 GLboolean __GLEW_EXT_index_texture = GL_FALSE;
1504 GLboolean __GLEW_EXT_light_texture = GL_FALSE;
1505 GLboolean __GLEW_EXT_misc_attribute = GL_FALSE;
1506 GLboolean __GLEW_EXT_multi_draw_arrays = GL_FALSE;
1507 GLboolean __GLEW_EXT_multisample = GL_FALSE;
1508 GLboolean __GLEW_EXT_packed_depth_stencil = GL_FALSE;
1509 GLboolean __GLEW_EXT_packed_pixels = GL_FALSE;
1510 GLboolean __GLEW_EXT_paletted_texture = GL_FALSE;
1511 GLboolean __GLEW_EXT_pixel_buffer_object = GL_FALSE;
1512 GLboolean __GLEW_EXT_pixel_transform = GL_FALSE;
1513 GLboolean __GLEW_EXT_pixel_transform_color_table = GL_FALSE;
1514 GLboolean __GLEW_EXT_point_parameters = GL_FALSE;
1515 GLboolean __GLEW_EXT_polygon_offset = GL_FALSE;
1516 GLboolean __GLEW_EXT_rescale_normal = GL_FALSE;
1517 GLboolean __GLEW_EXT_scene_marker = GL_FALSE;
1518 GLboolean __GLEW_EXT_secondary_color = GL_FALSE;
1519 GLboolean __GLEW_EXT_separate_specular_color = GL_FALSE;
1520 GLboolean __GLEW_EXT_shadow_funcs = GL_FALSE;
1521 GLboolean __GLEW_EXT_shared_texture_palette = GL_FALSE;
1522 GLboolean __GLEW_EXT_stencil_clear_tag = GL_FALSE;
1523 GLboolean __GLEW_EXT_stencil_two_side = GL_FALSE;
1524 GLboolean __GLEW_EXT_stencil_wrap = GL_FALSE;
1525 GLboolean __GLEW_EXT_subtexture = GL_FALSE;
1526 GLboolean __GLEW_EXT_texture = GL_FALSE;
1527 GLboolean __GLEW_EXT_texture3D = GL_FALSE;
1528 GLboolean __GLEW_EXT_texture_compression_dxt1 = GL_FALSE;
1529 GLboolean __GLEW_EXT_texture_compression_s3tc = GL_FALSE;
1530 GLboolean __GLEW_EXT_texture_cube_map = GL_FALSE;
1531 GLboolean __GLEW_EXT_texture_edge_clamp = GL_FALSE;
1532 GLboolean __GLEW_EXT_texture_env = GL_FALSE;
1533 GLboolean __GLEW_EXT_texture_env_add = GL_FALSE;
1534 GLboolean __GLEW_EXT_texture_env_combine = GL_FALSE;
1535 GLboolean __GLEW_EXT_texture_env_dot3 = GL_FALSE;
1536 GLboolean __GLEW_EXT_texture_filter_anisotropic = GL_FALSE;
1537 GLboolean __GLEW_EXT_texture_lod_bias = GL_FALSE;
1538 GLboolean __GLEW_EXT_texture_mirror_clamp = GL_FALSE;
1539 GLboolean __GLEW_EXT_texture_object = GL_FALSE;
1540 GLboolean __GLEW_EXT_texture_perturb_normal = GL_FALSE;
1541 GLboolean __GLEW_EXT_texture_rectangle = GL_FALSE;
1542 GLboolean __GLEW_EXT_texture_sRGB = GL_FALSE;
1543 GLboolean __GLEW_EXT_vertex_array = GL_FALSE;
1544 GLboolean __GLEW_EXT_vertex_shader = GL_FALSE;
1545 GLboolean __GLEW_EXT_vertex_weighting = GL_FALSE;
1546 GLboolean __GLEW_GREMEDY_string_marker = GL_FALSE;
1547 GLboolean __GLEW_HP_convolution_border_modes = GL_FALSE;
1548 GLboolean __GLEW_HP_image_transform = GL_FALSE;
1549 GLboolean __GLEW_HP_occlusion_test = GL_FALSE;
1550 GLboolean __GLEW_HP_texture_lighting = GL_FALSE;
1551 GLboolean __GLEW_IBM_cull_vertex = GL_FALSE;
1552 GLboolean __GLEW_IBM_multimode_draw_arrays = GL_FALSE;
1553 GLboolean __GLEW_IBM_rasterpos_clip = GL_FALSE;
1554 GLboolean __GLEW_IBM_static_data = GL_FALSE;
1555 GLboolean __GLEW_IBM_texture_mirrored_repeat = GL_FALSE;
1556 GLboolean __GLEW_IBM_vertex_array_lists = GL_FALSE;
1557 GLboolean __GLEW_INGR_color_clamp = GL_FALSE;
1558 GLboolean __GLEW_INGR_interlace_read = GL_FALSE;
1559 GLboolean __GLEW_INTEL_parallel_arrays = GL_FALSE;
1560 GLboolean __GLEW_INTEL_texture_scissor = GL_FALSE;
1561 GLboolean __GLEW_KTX_buffer_region = GL_FALSE;
1562 GLboolean __GLEW_MESAX_texture_stack = GL_FALSE;
1563 GLboolean __GLEW_MESA_pack_invert = GL_FALSE;
1564 GLboolean __GLEW_MESA_resize_buffers = GL_FALSE;
1565 GLboolean __GLEW_MESA_window_pos = GL_FALSE;
1566 GLboolean __GLEW_MESA_ycbcr_texture = GL_FALSE;
1567 GLboolean __GLEW_NV_blend_square = GL_FALSE;
1568 GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE;
1569 GLboolean __GLEW_NV_depth_clamp = GL_FALSE;
1570 GLboolean __GLEW_NV_evaluators = GL_FALSE;
1571 GLboolean __GLEW_NV_fence = GL_FALSE;
1572 GLboolean __GLEW_NV_float_buffer = GL_FALSE;
1573 GLboolean __GLEW_NV_fog_distance = GL_FALSE;
1574 GLboolean __GLEW_NV_fragment_program = GL_FALSE;
1575 GLboolean __GLEW_NV_fragment_program2 = GL_FALSE;
1576 GLboolean __GLEW_NV_fragment_program_option = GL_FALSE;
1577 GLboolean __GLEW_NV_half_float = GL_FALSE;
1578 GLboolean __GLEW_NV_light_max_exponent = GL_FALSE;
1579 GLboolean __GLEW_NV_multisample_filter_hint = GL_FALSE;
1580 GLboolean __GLEW_NV_occlusion_query = GL_FALSE;
1581 GLboolean __GLEW_NV_packed_depth_stencil = GL_FALSE;
1582 GLboolean __GLEW_NV_pixel_data_range = GL_FALSE;
1583 GLboolean __GLEW_NV_point_sprite = GL_FALSE;
1584 GLboolean __GLEW_NV_primitive_restart = GL_FALSE;
1585 GLboolean __GLEW_NV_register_combiners = GL_FALSE;
1586 GLboolean __GLEW_NV_register_combiners2 = GL_FALSE;
1587 GLboolean __GLEW_NV_texgen_emboss = GL_FALSE;
1588 GLboolean __GLEW_NV_texgen_reflection = GL_FALSE;
1589 GLboolean __GLEW_NV_texture_compression_vtc = GL_FALSE;
1590 GLboolean __GLEW_NV_texture_env_combine4 = GL_FALSE;
1591 GLboolean __GLEW_NV_texture_expand_normal = GL_FALSE;
1592 GLboolean __GLEW_NV_texture_rectangle = GL_FALSE;
1593 GLboolean __GLEW_NV_texture_shader = GL_FALSE;
1594 GLboolean __GLEW_NV_texture_shader2 = GL_FALSE;
1595 GLboolean __GLEW_NV_texture_shader3 = GL_FALSE;
1596 GLboolean __GLEW_NV_vertex_array_range = GL_FALSE;
1597 GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE;
1598 GLboolean __GLEW_NV_vertex_program = GL_FALSE;
1599 GLboolean __GLEW_NV_vertex_program1_1 = GL_FALSE;
1600 GLboolean __GLEW_NV_vertex_program2 = GL_FALSE;
1601 GLboolean __GLEW_NV_vertex_program2_option = GL_FALSE;
1602 GLboolean __GLEW_NV_vertex_program3 = GL_FALSE;
1603 GLboolean __GLEW_OML_interlace = GL_FALSE;
1604 GLboolean __GLEW_OML_resample = GL_FALSE;
1605 GLboolean __GLEW_OML_subsample = GL_FALSE;
1606 GLboolean __GLEW_PGI_misc_hints = GL_FALSE;
1607 GLboolean __GLEW_PGI_vertex_hints = GL_FALSE;
1608 GLboolean __GLEW_REND_screen_coordinates = GL_FALSE;
1609 GLboolean __GLEW_S3_s3tc = GL_FALSE;
1610 GLboolean __GLEW_SGIS_color_range = GL_FALSE;
1611 GLboolean __GLEW_SGIS_detail_texture = GL_FALSE;
1612 GLboolean __GLEW_SGIS_fog_function = GL_FALSE;
1613 GLboolean __GLEW_SGIS_generate_mipmap = GL_FALSE;
1614 GLboolean __GLEW_SGIS_multisample = GL_FALSE;
1615 GLboolean __GLEW_SGIS_pixel_texture = GL_FALSE;
1616 GLboolean __GLEW_SGIS_sharpen_texture = GL_FALSE;
1617 GLboolean __GLEW_SGIS_texture4D = GL_FALSE;
1618 GLboolean __GLEW_SGIS_texture_border_clamp = GL_FALSE;
1619 GLboolean __GLEW_SGIS_texture_edge_clamp = GL_FALSE;
1620 GLboolean __GLEW_SGIS_texture_filter4 = GL_FALSE;
1621 GLboolean __GLEW_SGIS_texture_lod = GL_FALSE;
1622 GLboolean __GLEW_SGIS_texture_select = GL_FALSE;
1623 GLboolean __GLEW_SGIX_async = GL_FALSE;
1624 GLboolean __GLEW_SGIX_async_histogram = GL_FALSE;
1625 GLboolean __GLEW_SGIX_async_pixel = GL_FALSE;
1626 GLboolean __GLEW_SGIX_blend_alpha_minmax = GL_FALSE;
1627 GLboolean __GLEW_SGIX_clipmap = GL_FALSE;
1628 GLboolean __GLEW_SGIX_depth_texture = GL_FALSE;
1629 GLboolean __GLEW_SGIX_flush_raster = GL_FALSE;
1630 GLboolean __GLEW_SGIX_fog_offset = GL_FALSE;
1631 GLboolean __GLEW_SGIX_fog_texture = GL_FALSE;
1632 GLboolean __GLEW_SGIX_fragment_specular_lighting = GL_FALSE;
1633 GLboolean __GLEW_SGIX_framezoom = GL_FALSE;
1634 GLboolean __GLEW_SGIX_interlace = GL_FALSE;
1635 GLboolean __GLEW_SGIX_ir_instrument1 = GL_FALSE;
1636 GLboolean __GLEW_SGIX_list_priority = GL_FALSE;
1637 GLboolean __GLEW_SGIX_pixel_texture = GL_FALSE;
1638 GLboolean __GLEW_SGIX_pixel_texture_bits = GL_FALSE;
1639 GLboolean __GLEW_SGIX_reference_plane = GL_FALSE;
1640 GLboolean __GLEW_SGIX_resample = GL_FALSE;
1641 GLboolean __GLEW_SGIX_shadow = GL_FALSE;
1642 GLboolean __GLEW_SGIX_shadow_ambient = GL_FALSE;
1643 GLboolean __GLEW_SGIX_sprite = GL_FALSE;
1644 GLboolean __GLEW_SGIX_tag_sample_buffer = GL_FALSE;
1645 GLboolean __GLEW_SGIX_texture_add_env = GL_FALSE;
1646 GLboolean __GLEW_SGIX_texture_coordinate_clamp = GL_FALSE;
1647 GLboolean __GLEW_SGIX_texture_lod_bias = GL_FALSE;
1648 GLboolean __GLEW_SGIX_texture_multi_buffer = GL_FALSE;
1649 GLboolean __GLEW_SGIX_texture_range = GL_FALSE;
1650 GLboolean __GLEW_SGIX_texture_scale_bias = GL_FALSE;
1651 GLboolean __GLEW_SGIX_vertex_preclip = GL_FALSE;
1652 GLboolean __GLEW_SGIX_vertex_preclip_hint = GL_FALSE;
1653 GLboolean __GLEW_SGIX_ycrcb = GL_FALSE;
1654 GLboolean __GLEW_SGI_color_matrix = GL_FALSE;
1655 GLboolean __GLEW_SGI_color_table = GL_FALSE;
1656 GLboolean __GLEW_SGI_texture_color_table = GL_FALSE;
1657 GLboolean __GLEW_SUNX_constant_data = GL_FALSE;
1658 GLboolean __GLEW_SUN_convolution_border_modes = GL_FALSE;
1659 GLboolean __GLEW_SUN_global_alpha = GL_FALSE;
1660 GLboolean __GLEW_SUN_mesh_array = GL_FALSE;
1661 GLboolean __GLEW_SUN_read_video_pixels = GL_FALSE;
1662 GLboolean __GLEW_SUN_slice_accum = GL_FALSE;
1663 GLboolean __GLEW_SUN_triangle_list = GL_FALSE;
1664 GLboolean __GLEW_SUN_vertex = GL_FALSE;
1665 GLboolean __GLEW_WIN_phong_shading = GL_FALSE;
1666 GLboolean __GLEW_WIN_specular_fog = GL_FALSE;
1667 GLboolean __GLEW_WIN_swap_hint = GL_FALSE;
1668
1669 #endif /* !GLEW_MX */
1670
1671 #ifdef GL_VERSION_1_2
1672
1673 static GLboolean _glewInit_GL_VERSION_1_2 (GLEW_CONTEXT_ARG_DEF_INIT)
1674 {
1675   GLboolean r = GL_FALSE;
1676
1677   r = ((glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3D")) == NULL) || r;
1678   r = ((glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElements")) == NULL) || r;
1679   r = ((glTexImage3D = (PFNGLTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexImage3D")) == NULL) || r;
1680   r = ((glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3D")) == NULL) || r;
1681
1682   return r;
1683 }
1684
1685 #endif /* GL_VERSION_1_2 */
1686
1687 #ifdef GL_VERSION_1_3
1688
1689 static GLboolean _glewInit_GL_VERSION_1_3 (GLEW_CONTEXT_ARG_DEF_INIT)
1690 {
1691   GLboolean r = GL_FALSE;
1692
1693   r = ((glActiveTexture = (PFNGLACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glActiveTexture")) == NULL) || r;
1694   r = ((glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTexture")) == NULL) || r;
1695   r = ((glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1D")) == NULL) || r;
1696   r = ((glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2D")) == NULL) || r;
1697   r = ((glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3D")) == NULL) || r;
1698   r = ((glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1D")) == NULL) || r;
1699   r = ((glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2D")) == NULL) || r;
1700   r = ((glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3D")) == NULL) || r;
1701   r = ((glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImage")) == NULL) || r;
1702   r = ((glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixd")) == NULL) || r;
1703   r = ((glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixf")) == NULL) || r;
1704   r = ((glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixd")) == NULL) || r;
1705   r = ((glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixf")) == NULL) || r;
1706   r = ((glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1d")) == NULL) || r;
1707   r = ((glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dv")) == NULL) || r;
1708   r = ((glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1f")) == NULL) || r;
1709   r = ((glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fv")) == NULL) || r;
1710   r = ((glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1i")) == NULL) || r;
1711   r = ((glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iv")) == NULL) || r;
1712   r = ((glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1s")) == NULL) || r;
1713   r = ((glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sv")) == NULL) || r;
1714   r = ((glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2d")) == NULL) || r;
1715   r = ((glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dv")) == NULL) || r;
1716   r = ((glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2f")) == NULL) || r;
1717   r = ((glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fv")) == NULL) || r;
1718   r = ((glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2i")) == NULL) || r;
1719   r = ((glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iv")) == NULL) || r;
1720   r = ((glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2s")) == NULL) || r;
1721   r = ((glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sv")) == NULL) || r;
1722   r = ((glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3d")) == NULL) || r;
1723   r = ((glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dv")) == NULL) || r;
1724   r = ((glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3f")) == NULL) || r;
1725   r = ((glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fv")) == NULL) || r;
1726   r = ((glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3i")) == NULL) || r;
1727   r = ((glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iv")) == NULL) || r;
1728   r = ((glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3s")) == NULL) || r;
1729   r = ((glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sv")) == NULL) || r;
1730   r = ((glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4d")) == NULL) || r;
1731   r = ((glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dv")) == NULL) || r;
1732   r = ((glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4f")) == NULL) || r;
1733   r = ((glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fv")) == NULL) || r;
1734   r = ((glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4i")) == NULL) || r;
1735   r = ((glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iv")) == NULL) || r;
1736   r = ((glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4s")) == NULL) || r;
1737   r = ((glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sv")) == NULL) || r;
1738   r = ((glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverage")) == NULL) || r;
1739
1740   return r;
1741 }
1742
1743 #endif /* GL_VERSION_1_3 */
1744
1745 #ifdef GL_VERSION_1_4
1746
1747 static GLboolean _glewInit_GL_VERSION_1_4 (GLEW_CONTEXT_ARG_DEF_INIT)
1748 {
1749   GLboolean r = GL_FALSE;
1750
1751   r = ((glBlendColor = (PFNGLBLENDCOLORPROC)glewGetProcAddress((const GLubyte*)"glBlendColor")) == NULL) || r;
1752   r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
1753   r = ((glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparate")) == NULL) || r;
1754   r = ((glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointer")) == NULL) || r;
1755   r = ((glFogCoordd = (PFNGLFOGCOORDDPROC)glewGetProcAddress((const GLubyte*)"glFogCoordd")) == NULL) || r;
1756   r = ((glFogCoorddv = (PFNGLFOGCOORDDVPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddv")) == NULL) || r;
1757   r = ((glFogCoordf = (PFNGLFOGCOORDFPROC)glewGetProcAddress((const GLubyte*)"glFogCoordf")) == NULL) || r;
1758   r = ((glFogCoordfv = (PFNGLFOGCOORDFVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfv")) == NULL) || r;
1759   r = ((glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArrays")) == NULL) || r;
1760   r = ((glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElements")) == NULL) || r;
1761   r = ((glPointParameterf = (PFNGLPOINTPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glPointParameterf")) == NULL) || r;
1762   r = ((glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfv")) == NULL) || r;
1763   r = ((glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3b")) == NULL) || r;
1764   r = ((glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bv")) == NULL) || r;
1765   r = ((glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3d")) == NULL) || r;
1766   r = ((glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dv")) == NULL) || r;
1767   r = ((glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3f")) == NULL) || r;
1768   r = ((glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fv")) == NULL) || r;
1769   r = ((glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3i")) == NULL) || r;
1770   r = ((glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iv")) == NULL) || r;
1771   r = ((glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3s")) == NULL) || r;
1772   r = ((glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sv")) == NULL) || r;
1773   r = ((glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ub")) == NULL) || r;
1774   r = ((glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubv")) == NULL) || r;
1775   r = ((glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ui")) == NULL) || r;
1776   r = ((glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiv")) == NULL) || r;
1777   r = ((glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3us")) == NULL) || r;
1778   r = ((glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usv")) == NULL) || r;
1779   r = ((glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointer")) == NULL) || r;
1780   r = ((glWindowPos2d = (PFNGLWINDOWPOS2DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2d")) == NULL) || r;
1781   r = ((glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dv")) == NULL) || r;
1782   r = ((glWindowPos2f = (PFNGLWINDOWPOS2FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2f")) == NULL) || r;
1783   r = ((glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fv")) == NULL) || r;
1784   r = ((glWindowPos2i = (PFNGLWINDOWPOS2IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2i")) == NULL) || r;
1785   r = ((glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iv")) == NULL) || r;
1786   r = ((glWindowPos2s = (PFNGLWINDOWPOS2SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2s")) == NULL) || r;
1787   r = ((glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sv")) == NULL) || r;
1788   r = ((glWindowPos3d = (PFNGLWINDOWPOS3DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3d")) == NULL) || r;
1789   r = ((glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dv")) == NULL) || r;
1790   r = ((glWindowPos3f = (PFNGLWINDOWPOS3FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3f")) == NULL) || r;
1791   r = ((glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fv")) == NULL) || r;
1792   r = ((glWindowPos3i = (PFNGLWINDOWPOS3IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3i")) == NULL) || r;
1793   r = ((glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iv")) == NULL) || r;
1794   r = ((glWindowPos3s = (PFNGLWINDOWPOS3SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3s")) == NULL) || r;
1795   r = ((glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sv")) == NULL) || r;
1796
1797   return r;
1798 }
1799
1800 #endif /* GL_VERSION_1_4 */
1801
1802 #ifdef GL_VERSION_1_5
1803
1804 static GLboolean _glewInit_GL_VERSION_1_5 (GLEW_CONTEXT_ARG_DEF_INIT)
1805 {
1806   GLboolean r = GL_FALSE;
1807
1808   r = ((glBeginQuery = (PFNGLBEGINQUERYPROC)glewGetProcAddress((const GLubyte*)"glBeginQuery")) == NULL) || r;
1809   r = ((glBindBuffer = (PFNGLBINDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindBuffer")) == NULL) || r;
1810   r = ((glBufferData = (PFNGLBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferData")) == NULL) || r;
1811   r = ((glBufferSubData = (PFNGLBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferSubData")) == NULL) || r;
1812   r = ((glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffers")) == NULL) || r;
1813   r = ((glDeleteQueries = (PFNGLDELETEQUERIESPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueries")) == NULL) || r;
1814   r = ((glEndQuery = (PFNGLENDQUERYPROC)glewGetProcAddress((const GLubyte*)"glEndQuery")) == NULL) || r;
1815   r = ((glGenBuffers = (PFNGLGENBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenBuffers")) == NULL) || r;
1816   r = ((glGenQueries = (PFNGLGENQUERIESPROC)glewGetProcAddress((const GLubyte*)"glGenQueries")) == NULL) || r;
1817   r = ((glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteriv")) == NULL) || r;
1818   r = ((glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointerv")) == NULL) || r;
1819   r = ((glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubData")) == NULL) || r;
1820   r = ((glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectiv")) == NULL) || r;
1821   r = ((glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuiv")) == NULL) || r;
1822   r = ((glGetQueryiv = (PFNGLGETQUERYIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryiv")) == NULL) || r;
1823   r = ((glIsBuffer = (PFNGLISBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsBuffer")) == NULL) || r;
1824   r = ((glIsQuery = (PFNGLISQUERYPROC)glewGetProcAddress((const GLubyte*)"glIsQuery")) == NULL) || r;
1825   r = ((glMapBuffer = (PFNGLMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glMapBuffer")) == NULL) || r;
1826   r = ((glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glUnmapBuffer")) == NULL) || r;
1827
1828   return r;
1829 }
1830
1831 #endif /* GL_VERSION_1_5 */
1832
1833 #ifdef GL_VERSION_2_0
1834
1835 static GLboolean _glewInit_GL_VERSION_2_0 (GLEW_CONTEXT_ARG_DEF_INIT)
1836 {
1837   GLboolean r = GL_FALSE;
1838
1839 #ifndef BLENDER_CHANGES
1840   r = ((glAttachShader = (PFNGLATTACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glAttachShader")) == NULL) || r;
1841   r = ((glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocation")) == NULL) || r;
1842   r = ((glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparate")) == NULL) || r;
1843   r = ((glCompileShader = (PFNGLCOMPILESHADERPROC)glewGetProcAddress((const GLubyte*)"glCompileShader")) == NULL) || r;
1844   r = ((glCreateProgram = (PFNGLCREATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glCreateProgram")) == NULL) || r;
1845   r = ((glCreateShader = (PFNGLCREATESHADERPROC)glewGetProcAddress((const GLubyte*)"glCreateShader")) == NULL) || r;
1846   r = ((glDeleteProgram = (PFNGLDELETEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgram")) == NULL) || r;
1847   r = ((glDeleteShader = (PFNGLDELETESHADERPROC)glewGetProcAddress((const GLubyte*)"glDeleteShader")) == NULL) || r;
1848   r = ((glDetachShader = (PFNGLDETACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glDetachShader")) == NULL) || r;
1849   r = ((glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArray")) == NULL) || r;
1850   r = ((glDrawBuffers = (PFNGLDRAWBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffers")) == NULL) || r;
1851   r = ((glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArray")) == NULL) || r;
1852   r = ((glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttrib")) == NULL) || r;
1853   r = ((glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniform")) == NULL) || r;
1854   r = ((glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedShaders")) == NULL) || r;
1855   r = ((glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocation")) == NULL) || r;
1856   r = ((glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInfoLog")) == NULL) || r;
1857   r = ((glGetProgramiv = (PFNGLGETPROGRAMIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramiv")) == NULL) || r;
1858   r = ((glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetShaderInfoLog")) == NULL) || r;
1859   r = ((glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSource")) == NULL) || r;
1860   r = ((glGetShaderiv = (PFNGLGETSHADERIVPROC)glewGetProcAddress((const GLubyte*)"glGetShaderiv")) == NULL) || r;
1861   r = ((glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocation")) == NULL) || r;
1862   r = ((glGetUniformfv = (PFNGLGETUNIFORMFVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfv")) == NULL) || r;
1863   r = ((glGetUniformiv = (PFNGLGETUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformiv")) == NULL) || r;
1864   r = ((glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointerv")) == NULL) || r;
1865   r = ((glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdv")) == NULL) || r;
1866   r = ((glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfv")) == NULL) || r;
1867   r = ((glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribiv")) == NULL) || r;
1868   r = ((glIsProgram = (PFNGLISPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glIsProgram")) == NULL) || r;
1869   r = ((glIsShader = (PFNGLISSHADERPROC)glewGetProcAddress((const GLubyte*)"glIsShader")) == NULL) || r;
1870   r = ((glLinkProgram = (PFNGLLINKPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glLinkProgram")) == NULL) || r;
1871   r = ((glShaderSource = (PFNGLSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glShaderSource")) == NULL) || r;
1872   r = ((glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparate")) == NULL) || r;
1873   r = ((glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilMaskSeparate")) == NULL) || r;
1874   r = ((glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparate")) == NULL) || r;
1875   r = ((glUniform1f = (PFNGLUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glUniform1f")) == NULL) || r;
1876   r = ((glUniform1fv = (PFNGLUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glUniform1fv")) == NULL) || r;
1877   r = ((glUniform1i = (PFNGLUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glUniform1i")) == NULL) || r;
1878   r = ((glUniform1iv = (PFNGLUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glUniform1iv")) == NULL) || r;
1879   r = ((glUniform2f = (PFNGLUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glUniform2f")) == NULL) || r;
1880   r = ((glUniform2fv = (PFNGLUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glUniform2fv")) == NULL) || r;
1881   r = ((glUniform2i = (PFNGLUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glUniform2i")) == NULL) || r;
1882   r = ((glUniform2iv = (PFNGLUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glUniform2iv")) == NULL) || r;
1883   r = ((glUniform3f = (PFNGLUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glUniform3f")) == NULL) || r;
1884   r = ((glUniform3fv = (PFNGLUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glUniform3fv")) == NULL) || r;
1885   r = ((glUniform3i = (PFNGLUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glUniform3i")) == NULL) || r;
1886   r = ((glUniform3iv = (PFNGLUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glUniform3iv")) == NULL) || r;
1887   r = ((glUniform4f = (PFNGLUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glUniform4f")) == NULL) || r;
1888   r = ((glUniform4fv = (PFNGLUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glUniform4fv")) == NULL) || r;
1889   r = ((glUniform4i = (PFNGLUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glUniform4i")) == NULL) || r;
1890   r = ((glUniform4iv = (PFNGLUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glUniform4iv")) == NULL) || r;
1891   r = ((glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fv")) == NULL) || r;
1892   r = ((glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fv")) == NULL) || r;
1893   r = ((glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fv")) == NULL) || r;
1894   r = ((glUseProgram = (PFNGLUSEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glUseProgram")) == NULL) || r;
1895   r = ((glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glValidateProgram")) == NULL) || r;
1896   r = ((glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1d")) == NULL) || r;
1897   r = ((glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dv")) == NULL) || r;
1898   r = ((glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1f")) == NULL) || r;
1899   r = ((glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fv")) == NULL) || r;
1900   r = ((glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1s")) == NULL) || r;
1901   r = ((glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sv")) == NULL) || r;
1902   r = ((glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2d")) == NULL) || r;
1903   r = ((glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dv")) == NULL) || r;
1904   r = ((glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2f")) == NULL) || r;
1905   r = ((glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fv")) == NULL) || r;
1906   r = ((glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2s")) == NULL) || r;
1907   r = ((glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sv")) == NULL) || r;
1908   r = ((glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3d")) == NULL) || r;
1909   r = ((glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dv")) == NULL) || r;
1910   r = ((glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3f")) == NULL) || r;
1911   r = ((glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fv")) == NULL) || r;
1912   r = ((glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3s")) == NULL) || r;
1913   r = ((glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sv")) == NULL) || r;
1914   r = ((glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nbv")) == NULL) || r;
1915   r = ((glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Niv")) == NULL) || r;
1916   r = ((glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nsv")) == NULL) || r;
1917   r = ((glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nub")) == NULL) || r;
1918   r = ((glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nubv")) == NULL) || r;
1919   r = ((glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nuiv")) == NULL) || r;
1920   r = ((glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nusv")) == NULL) || r;
1921   r = ((glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bv")) == NULL) || r;
1922   r = ((glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4d")) == NULL) || r;
1923   r = ((glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dv")) == NULL) || r;
1924   r = ((glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4f")) == NULL) || r;
1925   r = ((glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fv")) == NULL) || r;
1926   r = ((glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4iv")) == NULL) || r;
1927   r = ((glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4s")) == NULL) || r;
1928   r = ((glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sv")) == NULL) || r;
1929   r = ((glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubv")) == NULL) || r;
1930   r = ((glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uiv")) == NULL) || r;
1931   r = ((glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usv")) == NULL) || r;
1932   r = ((glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointer")) == NULL) || r;
1933 #endif
1934
1935   return r;
1936 }
1937
1938 #endif /* GL_VERSION_2_0 */
1939
1940 #ifdef GL_3DFX_multisample
1941
1942 #endif /* GL_3DFX_multisample */
1943
1944 #ifdef GL_3DFX_tbuffer
1945
1946 static GLboolean _glewInit_GL_3DFX_tbuffer (GLEW_CONTEXT_ARG_DEF_INIT)
1947 {
1948   GLboolean r = GL_FALSE;
1949
1950   r = ((glTbufferMask3DFX = (PFNGLTBUFFERMASK3DFXPROC)glewGetProcAddress((const GLubyte*)"glTbufferMask3DFX")) == NULL) || r;
1951
1952   return r;
1953 }
1954
1955 #endif /* GL_3DFX_tbuffer */
1956
1957 #ifdef GL_3DFX_texture_compression_FXT1
1958
1959 #endif /* GL_3DFX_texture_compression_FXT1 */
1960
1961 #ifdef GL_APPLE_client_storage
1962
1963 #endif /* GL_APPLE_client_storage */
1964
1965 #ifdef GL_APPLE_element_array
1966
1967 static GLboolean _glewInit_GL_APPLE_element_array (GLEW_CONTEXT_ARG_DEF_INIT)
1968 {
1969   GLboolean r = GL_FALSE;
1970
1971   r = ((glDrawElementArrayAPPLE = (PFNGLDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayAPPLE")) == NULL) || r;
1972   r = ((glDrawRangeElementArrayAPPLE = (PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayAPPLE")) == NULL) || r;
1973   r = ((glElementPointerAPPLE = (PFNGLELEMENTPOINTERAPPLEPROC)glewGetProcAddress((const GLubyte*)"glElementPointerAPPLE")) == NULL) || r;
1974   r = ((glMultiDrawElementArrayAPPLE = (PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementArrayAPPLE")) == NULL) || r;
1975   r = ((glMultiDrawRangeElementArrayAPPLE = (PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawRangeElementArrayAPPLE")) == NULL) || r;
1976
1977   return r;
1978 }
1979
1980 #endif /* GL_APPLE_element_array */
1981
1982 #ifdef GL_APPLE_fence
1983
1984 static GLboolean _glewInit_GL_APPLE_fence (GLEW_CONTEXT_ARG_DEF_INIT)
1985 {
1986   GLboolean r = GL_FALSE;
1987
1988   r = ((glDeleteFencesAPPLE = (PFNGLDELETEFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesAPPLE")) == NULL) || r;
1989   r = ((glFinishFenceAPPLE = (PFNGLFINISHFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceAPPLE")) == NULL) || r;
1990   r = ((glFinishObjectAPPLE = (PFNGLFINISHOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishObjectAPPLE")) == NULL) || r;
1991   r = ((glGenFencesAPPLE = (PFNGLGENFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenFencesAPPLE")) == NULL) || r;
1992   r = ((glIsFenceAPPLE = (PFNGLISFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsFenceAPPLE")) == NULL) || r;
1993   r = ((glSetFenceAPPLE = (PFNGLSETFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glSetFenceAPPLE")) == NULL) || r;
1994   r = ((glTestFenceAPPLE = (PFNGLTESTFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestFenceAPPLE")) == NULL) || r;
1995   r = ((glTestObjectAPPLE = (PFNGLTESTOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestObjectAPPLE")) == NULL) || r;
1996
1997   return r;
1998 }
1999
2000 #endif /* GL_APPLE_fence */
2001
2002 #ifdef GL_APPLE_float_pixels
2003
2004 #endif /* GL_APPLE_float_pixels */
2005
2006 #ifdef GL_APPLE_pixel_buffer
2007
2008 #endif /* GL_APPLE_pixel_buffer */
2009
2010 #ifdef GL_APPLE_specular_vector
2011
2012 #endif /* GL_APPLE_specular_vector */
2013
2014 #ifdef GL_APPLE_texture_range
2015
2016 static GLboolean _glewInit_GL_APPLE_texture_range (GLEW_CONTEXT_ARG_DEF_INIT)
2017 {
2018   GLboolean r = GL_FALSE;
2019
2020   r = ((glGetTexParameterPointervAPPLE = (PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterPointervAPPLE")) == NULL) || r;
2021   r = ((glTextureRangeAPPLE = (PFNGLTEXTURERANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureRangeAPPLE")) == NULL) || r;
2022
2023   return r;
2024 }
2025
2026 #endif /* GL_APPLE_texture_range */
2027
2028 #ifdef GL_APPLE_transform_hint
2029
2030 #endif /* GL_APPLE_transform_hint */
2031
2032 #ifdef GL_APPLE_vertex_array_object
2033
2034 static GLboolean _glewInit_GL_APPLE_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
2035 {
2036   GLboolean r = GL_FALSE;
2037
2038   r = ((glBindVertexArrayAPPLE = (PFNGLBINDVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArrayAPPLE")) == NULL) || r;
2039   r = ((glDeleteVertexArraysAPPLE = (PFNGLDELETEVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArraysAPPLE")) == NULL) || r;
2040   r = ((glGenVertexArraysAPPLE = (PFNGLGENVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArraysAPPLE")) == NULL) || r;
2041   r = ((glIsVertexArrayAPPLE = (PFNGLISVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArrayAPPLE")) == NULL) || r;
2042
2043   return r;
2044 }
2045
2046 #endif /* GL_APPLE_vertex_array_object */
2047
2048 #ifdef GL_APPLE_vertex_array_range
2049
2050 static GLboolean _glewInit_GL_APPLE_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT)
2051 {
2052   GLboolean r = GL_FALSE;
2053
2054   r = ((glFlushVertexArrayRangeAPPLE = (PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeAPPLE")) == NULL) || r;
2055   r = ((glVertexArrayParameteriAPPLE = (PFNGLVERTEXARRAYPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayParameteriAPPLE")) == NULL) || r;
2056   r = ((glVertexArrayRangeAPPLE = (PFNGLVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeAPPLE")) == NULL) || r;
2057
2058   return r;
2059 }
2060
2061 #endif /* GL_APPLE_vertex_array_range */
2062
2063 #ifdef GL_APPLE_ycbcr_422
2064
2065 #endif /* GL_APPLE_ycbcr_422 */
2066
2067 #ifdef GL_ARB_color_buffer_float
2068
2069 static GLboolean _glewInit_GL_ARB_color_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)
2070 {
2071   GLboolean r = GL_FALSE;
2072
2073   r = ((glClampColorARB = (PFNGLCLAMPCOLORARBPROC)glewGetProcAddress((const GLubyte*)"glClampColorARB")) == NULL) || r;
2074
2075   return r;
2076 }
2077
2078 #endif /* GL_ARB_color_buffer_float */
2079
2080 #ifdef GL_ARB_depth_texture
2081
2082 #endif /* GL_ARB_depth_texture */
2083
2084 #ifdef GL_ARB_draw_buffers
2085
2086 static GLboolean _glewInit_GL_ARB_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
2087 {
2088   GLboolean r = GL_FALSE;
2089
2090   r = ((glDrawBuffersARB = (PFNGLDRAWBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersARB")) == NULL) || r;
2091
2092   return r;
2093 }
2094
2095 #endif /* GL_ARB_draw_buffers */
2096
2097 #ifdef GL_ARB_fragment_program
2098
2099 #endif /* GL_ARB_fragment_program */
2100
2101 #ifdef GL_ARB_fragment_program_shadow
2102
2103 #endif /* GL_ARB_fragment_program_shadow */
2104
2105 #ifdef GL_ARB_fragment_shader
2106
2107 #endif /* GL_ARB_fragment_shader */
2108
2109 #ifdef GL_ARB_half_float_pixel
2110
2111 #endif /* GL_ARB_half_float_pixel */
2112
2113 #ifdef GL_ARB_imaging
2114
2115 static GLboolean _glewInit_GL_ARB_imaging (GLEW_CONTEXT_ARG_DEF_INIT)
2116 {
2117   GLboolean r = GL_FALSE;
2118
2119   r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
2120   r = ((glColorSubTable = (PFNGLCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorSubTable")) == NULL) || r;
2121   r = ((glColorTable = (PFNGLCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorTable")) == NULL) || r;
2122   r = ((glColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfv")) == NULL) || r;
2123   r = ((glColorTableParameteriv = (PFNGLCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameteriv")) == NULL) || r;
2124   r = ((glConvolutionFilter1D = (PFNGLCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1D")) == NULL) || r;
2125   r = ((glConvolutionFilter2D = (PFNGLCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2D")) == NULL) || r;
2126   r = ((glConvolutionParameterf = (PFNGLCONVOLUTIONPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterf")) == NULL) || r;
2127   r = ((glConvolutionParameterfv = (PFNGLCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfv")) == NULL) || r;
2128   r = ((glConvolutionParameteri = (PFNGLCONVOLUTIONPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteri")) == NULL) || r;
2129   r = ((glConvolutionParameteriv = (PFNGLCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriv")) == NULL) || r;
2130   r = ((glCopyColorSubTable = (PFNGLCOPYCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTable")) == NULL) || r;
2131   r = ((glCopyColorTable = (PFNGLCOPYCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTable")) == NULL) || r;
2132   r = ((glCopyConvolutionFilter1D = (PFNGLCOPYCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1D")) == NULL) || r;
2133   r = ((glCopyConvolutionFilter2D = (PFNGLCOPYCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2D")) == NULL) || r;
2134   r = ((glGetColorTable = (PFNGLGETCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glGetColorTable")) == NULL) || r;
2135   r = ((glGetColorTableParameterfv = (PFNGLGETCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfv")) == NULL) || r;
2136   r = ((glGetColorTableParameteriv = (PFNGLGETCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameteriv")) == NULL) || r;
2137   r = ((glGetConvolutionFilter = (PFNGLGETCONVOLUTIONFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilter")) == NULL) || r;
2138   r = ((glGetConvolutionParameterfv = (PFNGLGETCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfv")) == NULL) || r;
2139   r = ((glGetConvolutionParameteriv = (PFNGLGETCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameteriv")) == NULL) || r;
2140   r = ((glGetHistogram = (PFNGLGETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glGetHistogram")) == NULL) || r;
2141   r = ((glGetHistogramParameterfv = (PFNGLGETHISTOGRAMPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfv")) == NULL) || r;
2142   r = ((glGetHistogramParameteriv = (PFNGLGETHISTOGRAMPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameteriv")) == NULL) || r;
2143   r = ((glGetMinmax = (PFNGLGETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glGetMinmax")) == NULL) || r;
2144   r = ((glGetMinmaxParameterfv = (PFNGLGETMINMAXPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfv")) == NULL) || r;
2145   r = ((glGetMinmaxParameteriv = (PFNGLGETMINMAXPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameteriv")) == NULL) || r;
2146   r = ((glGetSeparableFilter = (PFNGLGETSEPARABLEFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilter")) == NULL) || r;
2147   r = ((glHistogram = (PFNGLHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glHistogram")) == NULL) || r;
2148   r = ((glMinmax = (PFNGLMINMAXPROC)glewGetProcAddress((const GLubyte*)"glMinmax")) == NULL) || r;
2149   r = ((glResetHistogram = (PFNGLRESETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glResetHistogram")) == NULL) || r;
2150   r = ((glResetMinmax = (PFNGLRESETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glResetMinmax")) == NULL) || r;
2151   r = ((glSeparableFilter2D = (PFNGLSEPARABLEFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2D")) == NULL) || r;
2152
2153   return r;
2154 }
2155
2156 #endif /* GL_ARB_imaging */
2157
2158 #ifdef GL_ARB_matrix_palette
2159
2160 static GLboolean _glewInit_GL_ARB_matrix_palette (GLEW_CONTEXT_ARG_DEF_INIT)
2161 {
2162   GLboolean r = GL_FALSE;
2163
2164   r = ((glCurrentPaletteMatrixARB = (PFNGLCURRENTPALETTEMATRIXARBPROC)glewGetProcAddress((const GLubyte*)"glCurrentPaletteMatrixARB")) == NULL) || r;
2165   r = ((glMatrixIndexPointerARB = (PFNGLMATRIXINDEXPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexPointerARB")) == NULL) || r;
2166   r = ((glMatrixIndexubvARB = (PFNGLMATRIXINDEXUBVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexubvARB")) == NULL) || r;
2167   r = ((glMatrixIndexuivARB = (PFNGLMATRIXINDEXUIVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexuivARB")) == NULL) || r;
2168   r = ((glMatrixIndexusvARB = (PFNGLMATRIXINDEXUSVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexusvARB")) == NULL) || r;
2169
2170   return r;
2171 }
2172
2173 #endif /* GL_ARB_matrix_palette */
2174
2175 #ifdef GL_ARB_multisample
2176
2177 static GLboolean _glewInit_GL_ARB_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
2178 {
2179   GLboolean r = GL_FALSE;
2180
2181   r = ((glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverageARB")) == NULL) || r;
2182
2183   return r;
2184 }
2185
2186 #endif /* GL_ARB_multisample */
2187
2188 #ifdef GL_ARB_multitexture
2189
2190 static GLboolean _glewInit_GL_ARB_multitexture (GLEW_CONTEXT_ARG_DEF_INIT)
2191 {
2192   GLboolean r = GL_FALSE;
2193
2194   r = ((glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glActiveTextureARB")) == NULL) || r;
2195   r = ((glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTextureARB")) == NULL) || r;
2196   r = ((glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dARB")) == NULL) || r;
2197   r = ((glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dvARB")) == NULL) || r;
2198   r = ((glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fARB")) == NULL) || r;
2199   r = ((glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fvARB")) == NULL) || r;
2200   r = ((glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iARB")) == NULL) || r;
2201   r = ((glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1ivARB")) == NULL) || r;
2202   r = ((glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sARB")) == NULL) || r;
2203   r = ((glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1svARB")) == NULL) || r;
2204   r = ((glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dARB")) == NULL) || r;
2205   r = ((glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dvARB")) == NULL) || r;
2206   r = ((glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fARB")) == NULL) || r;
2207   r = ((glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fvARB")) == NULL) || r;
2208   r = ((glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iARB")) == NULL) || r;
2209   r = ((glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2ivARB")) == NULL) || r;
2210   r = ((glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sARB")) == NULL) || r;
2211   r = ((glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2svARB")) == NULL) || r;
2212   r = ((glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dARB")) == NULL) || r;
2213   r = ((glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dvARB")) == NULL) || r;
2214   r = ((glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fARB")) == NULL) || r;
2215   r = ((glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fvARB")) == NULL) || r;
2216   r = ((glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iARB")) == NULL) || r;
2217   r = ((glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3ivARB")) == NULL) || r;
2218   r = ((glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sARB")) == NULL) || r;
2219   r = ((glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3svARB")) == NULL) || r;
2220   r = ((glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dARB")) == NULL) || r;
2221   r = ((glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dvARB")) == NULL) || r;
2222   r = ((glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fARB")) == NULL) || r;
2223   r = ((glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fvARB")) == NULL) || r;
2224   r = ((glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iARB")) == NULL) || r;
2225   r = ((glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4ivARB")) == NULL) || r;
2226   r = ((glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sARB")) == NULL) || r;
2227   r = ((glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4svARB")) == NULL) || r;
2228
2229   return r;
2230 }
2231
2232 #endif /* GL_ARB_multitexture */
2233
2234 #ifdef GL_ARB_occlusion_query
2235
2236 static GLboolean _glewInit_GL_ARB_occlusion_query (GLEW_CONTEXT_ARG_DEF_INIT)
2237 {
2238   GLboolean r = GL_FALSE;
2239
2240   r = ((glBeginQueryARB = (PFNGLBEGINQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryARB")) == NULL) || r;
2241   r = ((glDeleteQueriesARB = (PFNGLDELETEQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesARB")) == NULL) || r;
2242   r = ((glEndQueryARB = (PFNGLENDQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glEndQueryARB")) == NULL) || r;
2243   r = ((glGenQueriesARB = (PFNGLGENQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesARB")) == NULL) || r;
2244   r = ((glGetQueryObjectivARB = (PFNGLGETQUERYOBJECTIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivARB")) == NULL) || r;
2245   r = ((glGetQueryObjectuivARB = (PFNGLGETQUERYOBJECTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivARB")) == NULL) || r;
2246   r = ((glGetQueryivARB = (PFNGLGETQUERYIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivARB")) == NULL) || r;
2247   r = ((glIsQueryARB = (PFNGLISQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glIsQueryARB")) == NULL) || r;
2248
2249   return r;
2250 }
2251
2252 #endif /* GL_ARB_occlusion_query */
2253
2254 #ifdef GL_ARB_pixel_buffer_object
2255
2256 #endif /* GL_ARB_pixel_buffer_object */
2257
2258 #ifdef GL_ARB_point_parameters
2259
2260 static GLboolean _glewInit_GL_ARB_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
2261 {
2262   GLboolean r = GL_FALSE;
2263
2264   r = ((glPointParameterfARB = (PFNGLPOINTPARAMETERFARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfARB")) == NULL) || r;
2265   r = ((glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvARB")) == NULL) || r;
2266
2267   return r;
2268 }
2269
2270 #endif /* GL_ARB_point_parameters */
2271
2272 #ifdef GL_ARB_point_sprite
2273
2274 #endif /* GL_ARB_point_sprite */
2275
2276 #ifdef GL_ARB_shader_objects
2277
2278 static GLboolean _glewInit_GL_ARB_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)
2279 {
2280   GLboolean r = GL_FALSE;
2281
2282   r = ((glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glAttachObjectARB")) == NULL) || r;
2283   r = ((glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderARB")) == NULL) || r;
2284   r = ((glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateProgramObjectARB")) == NULL) || r;
2285   r = ((glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderObjectARB")) == NULL) || r;
2286   r = ((glDeleteObjectARB = (PFNGLDELETEOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteObjectARB")) == NULL) || r;
2287   r = ((glDetachObjectARB = (PFNGLDETACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDetachObjectARB")) == NULL) || r;
2288   r = ((glGetActiveUniformARB = (PFNGLGETACTIVEUNIFORMARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformARB")) == NULL) || r;
2289   r = ((glGetAttachedObjectsARB = (PFNGLGETATTACHEDOBJECTSARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedObjectsARB")) == NULL) || r;
2290   r = ((glGetHandleARB = (PFNGLGETHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetHandleARB")) == NULL) || r;
2291   r = ((glGetInfoLogARB = (PFNGLGETINFOLOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetInfoLogARB")) == NULL) || r;
2292   r = ((glGetObjectParameterfvARB = (PFNGLGETOBJECTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterfvARB")) == NULL) || r;
2293   r = ((glGetObjectParameterivARB = (PFNGLGETOBJECTPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivARB")) == NULL) || r;
2294   r = ((glGetShaderSourceARB = (PFNGLGETSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSourceARB")) == NULL) || r;
2295   r = ((glGetUniformLocationARB = (PFNGLGETUNIFORMLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocationARB")) == NULL) || r;
2296   r = ((glGetUniformfvARB = (PFNGLGETUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfvARB")) == NULL) || r;
2297   r = ((glGetUniformivARB = (PFNGLGETUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformivARB")) == NULL) || r;
2298   r = ((glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glLinkProgramARB")) == NULL) || r;
2299   r = ((glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glShaderSourceARB")) == NULL) || r;
2300   r = ((glUniform1fARB = (PFNGLUNIFORM1FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fARB")) == NULL) || r;
2301   r = ((glUniform1fvARB = (PFNGLUNIFORM1FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fvARB")) == NULL) || r;
2302   r = ((glUniform1iARB = (PFNGLUNIFORM1IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1iARB")) == NULL) || r;
2303   r = ((glUniform1ivARB = (PFNGLUNIFORM1IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ivARB")) == NULL) || r;
2304   r = ((glUniform2fARB = (PFNGLUNIFORM2FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fARB")) == NULL) || r;
2305   r = ((glUniform2fvARB = (PFNGLUNIFORM2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fvARB")) == NULL) || r;
2306   r = ((glUniform2iARB = (PFNGLUNIFORM2IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2iARB")) == NULL) || r;
2307   r = ((glUniform2ivARB = (PFNGLUNIFORM2IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ivARB")) == NULL) || r;
2308   r = ((glUniform3fARB = (PFNGLUNIFORM3FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fARB")) == NULL) || r;
2309   r = ((glUniform3fvARB = (PFNGLUNIFORM3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fvARB")) == NULL) || r;
2310   r = ((glUniform3iARB = (PFNGLUNIFORM3IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3iARB")) == NULL) || r;
2311   r = ((glUniform3ivARB = (PFNGLUNIFORM3IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ivARB")) == NULL) || r;
2312   r = ((glUniform4fARB = (PFNGLUNIFORM4FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fARB")) == NULL) || r;
2313   r = ((glUniform4fvARB = (PFNGLUNIFORM4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fvARB")) == NULL) || r;
2314   r = ((glUniform4iARB = (PFNGLUNIFORM4IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4iARB")) == NULL) || r;
2315   r = ((glUniform4ivARB = (PFNGLUNIFORM4IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ivARB")) == NULL) || r;
2316   r = ((glUniformMatrix2fvARB = (PFNGLUNIFORMMATRIX2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fvARB")) == NULL) || r;
2317   r = ((glUniformMatrix3fvARB = (PFNGLUNIFORMMATRIX3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fvARB")) == NULL) || r;
2318   r = ((glUniformMatrix4fvARB = (PFNGLUNIFORMMATRIX4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fvARB")) == NULL) || r;
2319   r = ((glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glUseProgramObjectARB")) == NULL) || r;
2320   r = ((glValidateProgramARB = (PFNGLVALIDATEPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramARB")) == NULL) || r;
2321
2322   return r;
2323 }
2324
2325 #endif /* GL_ARB_shader_objects */
2326
2327 #ifdef GL_ARB_shading_language_100
2328
2329 #endif /* GL_ARB_shading_language_100 */
2330
2331 #ifdef GL_ARB_shadow
2332
2333 #endif /* GL_ARB_shadow */
2334
2335 #ifdef GL_ARB_shadow_ambient
2336
2337 #endif /* GL_ARB_shadow_ambient */
2338
2339 #ifdef GL_ARB_texture_border_clamp
2340
2341 #endif /* GL_ARB_texture_border_clamp */
2342
2343 #ifdef GL_ARB_texture_compression
2344
2345 static GLboolean _glewInit_GL_ARB_texture_compression (GLEW_CONTEXT_ARG_DEF_INIT)
2346 {
2347   GLboolean r = GL_FALSE;
2348
2349   r = ((glCompressedTexImage1DARB = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1DARB")) == NULL) || r;
2350   r = ((glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2DARB")) == NULL) || r;
2351   r = ((glCompressedTexImage3DARB = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3DARB")) == NULL) || r;
2352   r = ((glCompressedTexSubImage1DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1DARB")) == NULL) || r;
2353   r = ((glCompressedTexSubImage2DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2DARB")) == NULL) || r;
2354   r = ((glCompressedTexSubImage3DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3DARB")) == NULL) || r;
2355   r = ((glGetCompressedTexImageARB = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImageARB")) == NULL) || r;
2356
2357   return r;
2358 }
2359
2360 #endif /* GL_ARB_texture_compression */
2361
2362 #ifdef GL_ARB_texture_cube_map
2363
2364 #endif /* GL_ARB_texture_cube_map */
2365
2366 #ifdef GL_ARB_texture_env_add
2367
2368 #endif /* GL_ARB_texture_env_add */
2369
2370 #ifdef GL_ARB_texture_env_combine
2371
2372 #endif /* GL_ARB_texture_env_combine */
2373
2374 #ifdef GL_ARB_texture_env_crossbar
2375
2376 #endif /* GL_ARB_texture_env_crossbar */
2377
2378 #ifdef GL_ARB_texture_env_dot3
2379
2380 #endif /* GL_ARB_texture_env_dot3 */
2381
2382 #ifdef GL_ARB_texture_float
2383
2384 #endif /* GL_ARB_texture_float */
2385
2386 #ifdef GL_ARB_texture_mirrored_repeat
2387
2388 #endif /* GL_ARB_texture_mirrored_repeat */
2389
2390 #ifdef GL_ARB_texture_non_power_of_two
2391
2392 #endif /* GL_ARB_texture_non_power_of_two */
2393
2394 #ifdef GL_ARB_texture_rectangle
2395
2396 #endif /* GL_ARB_texture_rectangle */
2397
2398 #ifdef GL_ARB_transpose_matrix
2399
2400 static GLboolean _glewInit_GL_ARB_transpose_matrix (GLEW_CONTEXT_ARG_DEF_INIT)
2401 {
2402   GLboolean r = GL_FALSE;
2403
2404   r = ((glLoadTransposeMatrixdARB = (PFNGLLOADTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixdARB")) == NULL) || r;
2405   r = ((glLoadTransposeMatrixfARB = (PFNGLLOADTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixfARB")) == NULL) || r;
2406   r = ((glMultTransposeMatrixdARB = (PFNGLMULTTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixdARB")) == NULL) || r;
2407   r = ((glMultTransposeMatrixfARB = (PFNGLMULTTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixfARB")) == NULL) || r;
2408
2409   return r;
2410 }
2411
2412 #endif /* GL_ARB_transpose_matrix */
2413
2414 #ifdef GL_ARB_vertex_blend
2415
2416 static GLboolean _glewInit_GL_ARB_vertex_blend (GLEW_CONTEXT_ARG_DEF_INIT)
2417 {
2418   GLboolean r = GL_FALSE;
2419
2420   r = ((glVertexBlendARB = (PFNGLVERTEXBLENDARBPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendARB")) == NULL) || r;
2421   r = ((glWeightPointerARB = (PFNGLWEIGHTPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glWeightPointerARB")) == NULL) || r;
2422   r = ((glWeightbvARB = (PFNGLWEIGHTBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightbvARB")) == NULL) || r;
2423   r = ((glWeightdvARB = (PFNGLWEIGHTDVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightdvARB")) == NULL) || r;
2424   r = ((glWeightfvARB = (PFNGLWEIGHTFVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightfvARB")) == NULL) || r;
2425   r = ((glWeightivARB = (PFNGLWEIGHTIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightivARB")) == NULL) || r;
2426   r = ((glWeightsvARB = (PFNGLWEIGHTSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightsvARB")) == NULL) || r;
2427   r = ((glWeightubvARB = (PFNGLWEIGHTUBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightubvARB")) == NULL) || r;
2428   r = ((glWeightuivARB = (PFNGLWEIGHTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightuivARB")) == NULL) || r;
2429   r = ((glWeightusvARB = (PFNGLWEIGHTUSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightusvARB")) == NULL) || r;
2430
2431   return r;
2432 }
2433
2434 #endif /* GL_ARB_vertex_blend */
2435
2436 #ifdef GL_ARB_vertex_buffer_object
2437
2438 static GLboolean _glewInit_GL_ARB_vertex_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
2439 {
2440   GLboolean r = GL_FALSE;
2441
2442   r = ((glBindBufferARB = (PFNGLBINDBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glBindBufferARB")) == NULL) || r;
2443   r = ((glBufferDataARB = (PFNGLBUFFERDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferDataARB")) == NULL) || r;
2444   r = ((glBufferSubDataARB = (PFNGLBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferSubDataARB")) == NULL) || r;
2445   r = ((glDeleteBuffersARB = (PFNGLDELETEBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffersARB")) == NULL) || r;
2446   r = ((glGenBuffersARB = (PFNGLGENBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glGenBuffersARB")) == NULL) || r;
2447   r = ((glGetBufferParameterivARB = (PFNGLGETBUFFERPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterivARB")) == NULL) || r;
2448   r = ((glGetBufferPointervARB = (PFNGLGETBUFFERPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointervARB")) == NULL) || r;
2449   r = ((glGetBufferSubDataARB = (PFNGLGETBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubDataARB")) == NULL) || r;
2450   r = ((glIsBufferARB = (PFNGLISBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glIsBufferARB")) == NULL) || r;
2451   r = ((glMapBufferARB = (PFNGLMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glMapBufferARB")) == NULL) || r;
2452   r = ((glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glUnmapBufferARB")) == NULL) || r;
2453
2454   return r;
2455 }
2456
2457 #endif /* GL_ARB_vertex_buffer_object */
2458
2459 #ifdef GL_ARB_vertex_program
2460
2461 static GLboolean _glewInit_GL_ARB_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT)
2462 {
2463   GLboolean r = GL_FALSE;
2464
2465   r = ((glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glBindProgramARB")) == NULL) || r;
2466   r = ((glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsARB")) == NULL) || r;
2467   r = ((glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArrayARB")) == NULL) || r;
2468   r = ((glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArrayARB")) == NULL) || r;
2469   r = ((glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsARB")) == NULL) || r;
2470   r = ((glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterdvARB")) == NULL) || r;
2471   r = ((glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterfvARB")) == NULL) || r;
2472   r = ((glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterdvARB")) == NULL) || r;
2473   r = ((glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterfvARB")) == NULL) || r;
2474   r = ((glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringARB")) == NULL) || r;
2475   r = ((glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivARB")) == NULL) || r;
2476   r = ((glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervARB")) == NULL) || r;
2477   r = ((glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvARB")) == NULL) || r;
2478   r = ((glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvARB")) == NULL) || r;
2479   r = ((glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivARB")) == NULL) || r;
2480   r = ((glIsProgramARB = (PFNGLISPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glIsProgramARB")) == NULL) || r;
2481   r = ((glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dARB")) == NULL) || r;
2482   r = ((glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dvARB")) == NULL) || r;
2483   r = ((glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fARB")) == NULL) || r;
2484   r = ((glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fvARB")) == NULL) || r;
2485   r = ((glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dARB")) == NULL) || r;
2486   r = ((glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dvARB")) == NULL) || r;
2487   r = ((glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fARB")) == NULL) || r;
2488   r = ((glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fvARB")) == NULL) || r;
2489   r = ((glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glProgramStringARB")) == NULL) || r;
2490   r = ((glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dARB")) == NULL) || r;
2491   r = ((glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvARB")) == NULL) || r;
2492   r = ((glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fARB")) == NULL) || r;
2493   r = ((glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvARB")) == NULL) || r;
2494   r = ((glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sARB")) == NULL) || r;
2495   r = ((glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svARB")) == NULL) || r;
2496   r = ((glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dARB")) == NULL) || r;
2497   r = ((glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvARB")) == NULL) || r;
2498   r = ((glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fARB")) == NULL) || r;
2499   r = ((glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvARB")) == NULL) || r;
2500   r = ((glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sARB")) == NULL) || r;
2501   r = ((glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svARB")) == NULL) || r;
2502   r = ((glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dARB")) == NULL) || r;
2503   r = ((glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvARB")) == NULL) || r;
2504   r = ((glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fARB")) == NULL) || r;
2505   r = ((glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvARB")) == NULL) || r;
2506   r = ((glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sARB")) == NULL) || r;
2507   r = ((glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svARB")) == NULL) || r;
2508   r = ((glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NbvARB")) == NULL) || r;
2509   r = ((glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NivARB")) == NULL) || r;
2510   r = ((glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NsvARB")) == NULL) || r;
2511   r = ((glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubARB")) == NULL) || r;
2512   r = ((glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubvARB")) == NULL) || r;
2513   r = ((glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NuivARB")) == NULL) || r;
2514   r = ((glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NusvARB")) == NULL) || r;
2515   r = ((glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bvARB")) == NULL) || r;
2516   r = ((glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dARB")) == NULL) || r;
2517   r = ((glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvARB")) == NULL) || r;
2518   r = ((glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fARB")) == NULL) || r;
2519   r = ((glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvARB")) == NULL) || r;
2520   r = ((glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ivARB")) == NULL) || r;
2521   r = ((glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sARB")) == NULL) || r;
2522   r = ((glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svARB")) == NULL) || r;
2523   r = ((glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvARB")) == NULL) || r;
2524   r = ((glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uivARB")) == NULL) || r;
2525   r = ((glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usvARB")) == NULL) || r;
2526   r = ((glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerARB")) == NULL) || r;
2527
2528   return r;
2529 }
2530
2531 #endif /* GL_ARB_vertex_program */
2532
2533 #ifdef GL_ARB_vertex_shader
2534
2535 static GLboolean _glewInit_GL_ARB_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)
2536 {
2537   GLboolean r = GL_FALSE;
2538
2539   r = ((glBindAttribLocationARB = (PFNGLBINDATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocationARB")) == NULL) || r;
2540   r = ((glGetActiveAttribARB = (PFNGLGETACTIVEATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttribARB")) == NULL) || r;
2541   r = ((glGetAttribLocationARB = (PFNGLGETATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocationARB")) == NULL) || r;
2542
2543   return r;
2544 }
2545
2546 #endif /* GL_ARB_vertex_shader */
2547
2548 #ifdef GL_ARB_window_pos
2549
2550 static GLboolean _glewInit_GL_ARB_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)
2551 {
2552   GLboolean r = GL_FALSE;
2553
2554   r = ((glWindowPos2dARB = (PFNGLWINDOWPOS2DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dARB")) == NULL) || r;
2555   r = ((glWindowPos2dvARB = (PFNGLWINDOWPOS2DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvARB")) == NULL) || r;
2556   r = ((glWindowPos2fARB = (PFNGLWINDOWPOS2FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fARB")) == NULL) || r;
2557   r = ((glWindowPos2fvARB = (PFNGLWINDOWPOS2FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvARB")) == NULL) || r;
2558   r = ((glWindowPos2iARB = (PFNGLWINDOWPOS2IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iARB")) == NULL) || r;
2559   r = ((glWindowPos2ivARB = (PFNGLWINDOWPOS2IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivARB")) == NULL) || r;
2560   r = ((glWindowPos2sARB = (PFNGLWINDOWPOS2SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sARB")) == NULL) || r;
2561   r = ((glWindowPos2svARB = (PFNGLWINDOWPOS2SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svARB")) == NULL) || r;
2562   r = ((glWindowPos3dARB = (PFNGLWINDOWPOS3DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dARB")) == NULL) || r;
2563   r = ((glWindowPos3dvARB = (PFNGLWINDOWPOS3DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvARB")) == NULL) || r;
2564   r = ((glWindowPos3fARB = (PFNGLWINDOWPOS3FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fARB")) == NULL) || r;
2565   r = ((glWindowPos3fvARB = (PFNGLWINDOWPOS3FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvARB")) == NULL) || r;
2566   r = ((glWindowPos3iARB = (PFNGLWINDOWPOS3IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iARB")) == NULL) || r;
2567   r = ((glWindowPos3ivARB = (PFNGLWINDOWPOS3IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivARB")) == NULL) || r;
2568   r = ((glWindowPos3sARB = (PFNGLWINDOWPOS3SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sARB")) == NULL) || r;
2569   r = ((glWindowPos3svARB = (PFNGLWINDOWPOS3SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svARB")) == NULL) || r;
2570
2571   return r;
2572 }
2573
2574 #endif /* GL_ARB_window_pos */
2575
2576 #ifdef GL_ATIX_point_sprites
2577
2578 #endif /* GL_ATIX_point_sprites */
2579
2580 #ifdef GL_ATIX_texture_env_combine3
2581
2582 #endif /* GL_ATIX_texture_env_combine3 */
2583
2584 #ifdef GL_ATIX_texture_env_route
2585
2586 #endif /* GL_ATIX_texture_env_route */
2587
2588 #ifdef GL_ATIX_vertex_shader_output_point_size
2589
2590 #endif /* GL_ATIX_vertex_shader_output_point_size */
2591
2592 #ifdef GL_ATI_draw_buffers
2593
2594 static GLboolean _glewInit_GL_ATI_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
2595 {
2596   GLboolean r = GL_FALSE;
2597
2598   r = ((glDrawBuffersATI = (PFNGLDRAWBUFFERSATIPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersATI")) == NULL) || r;
2599
2600   return r;
2601 }
2602
2603 #endif /* GL_ATI_draw_buffers */
2604
2605 #ifdef GL_ATI_element_array
2606
2607 static GLboolean _glewInit_GL_ATI_element_array (GLEW_CONTEXT_ARG_DEF_INIT)
2608 {
2609   GLboolean r = GL_FALSE;
2610
2611   r = ((glDrawElementArrayATI = (PFNGLDRAWELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayATI")) == NULL) || r;
2612   r = ((glDrawRangeElementArrayATI = (PFNGLDRAWRANGEELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayATI")) == NULL) || r;
2613   r = ((glElementPointerATI = (PFNGLELEMENTPOINTERATIPROC)glewGetProcAddress((const GLubyte*)"glElementPointerATI")) == NULL) || r;
2614
2615   return r;
2616 }
2617
2618 #endif /* GL_ATI_element_array */
2619
2620 #ifdef GL_ATI_envmap_bumpmap
2621
2622 static GLboolean _glewInit_GL_ATI_envmap_bumpmap (GLEW_CONTEXT_ARG_DEF_INIT)
2623 {
2624   GLboolean r = GL_FALSE;
2625
2626   r = ((glGetTexBumpParameterfvATI = (PFNGLGETTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterfvATI")) == NULL) || r;
2627   r = ((glGetTexBumpParameterivATI = (PFNGLGETTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterivATI")) == NULL) || r;
2628   r = ((glTexBumpParameterfvATI = (PFNGLTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterfvATI")) == NULL) || r;
2629   r = ((glTexBumpParameterivATI = (PFNGLTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterivATI")) == NULL) || r;
2630
2631   return r;
2632 }
2633
2634 #endif /* GL_ATI_envmap_bumpmap */
2635
2636 #ifdef GL_ATI_fragment_shader
2637
2638 static GLboolean _glewInit_GL_ATI_fragment_shader (GLEW_CONTEXT_ARG_DEF_INIT)
2639 {
2640   GLboolean r = GL_FALSE;
2641
2642   r = ((glAlphaFragmentOp1ATI = (PFNGLALPHAFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp1ATI")) == NULL) || r;
2643   r = ((glAlphaFragmentOp2ATI = (PFNGLALPHAFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp2ATI")) == NULL) || r;
2644   r = ((glAlphaFragmentOp3ATI = (PFNGLALPHAFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp3ATI")) == NULL) || r;
2645   r = ((glBeginFragmentShaderATI = (PFNGLBEGINFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBeginFragmentShaderATI")) == NULL) || r;
2646   r = ((glBindFragmentShaderATI = (PFNGLBINDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBindFragmentShaderATI")) == NULL) || r;
2647   r = ((glColorFragmentOp1ATI = (PFNGLCOLORFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp1ATI")) == NULL) || r;
2648   r = ((glColorFragmentOp2ATI = (PFNGLCOLORFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp2ATI")) == NULL) || r;
2649   r = ((glColorFragmentOp3ATI = (PFNGLCOLORFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp3ATI")) == NULL) || r;
2650   r = ((glDeleteFragmentShaderATI = (PFNGLDELETEFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glDeleteFragmentShaderATI")) == NULL) || r;
2651   r = ((glEndFragmentShaderATI = (PFNGLENDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glEndFragmentShaderATI")) == NULL) || r;
2652   r = ((glGenFragmentShadersATI = (PFNGLGENFRAGMENTSHADERSATIPROC)glewGetProcAddress((const GLubyte*)"glGenFragmentShadersATI")) == NULL) || r;
2653   r = ((glPassTexCoordATI = (PFNGLPASSTEXCOORDATIPROC)glewGetProcAddress((const GLubyte*)"glPassTexCoordATI")) == NULL) || r;
2654   r = ((glSampleMapATI = (PFNGLSAMPLEMAPATIPROC)glewGetProcAddress((const GLubyte*)"glSampleMapATI")) == NULL) || r;
2655   r = ((glSetFragmentShaderConstantATI = (PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)glewGetProcAddress((const GLubyte*)"glSetFragmentShaderConstantATI")) == NULL) || r;
2656
2657   return r;
2658 }
2659
2660 #endif /* GL_ATI_fragment_shader */
2661
2662 #ifdef GL_ATI_map_object_buffer
2663
2664 static GLboolean _glewInit_GL_ATI_map_object_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
2665 {
2666   GLboolean r = GL_FALSE;
2667
2668   r = ((glMapObjectBufferATI = (PFNGLMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glMapObjectBufferATI")) == NULL) || r;
2669   r = ((glUnmapObjectBufferATI = (PFNGLUNMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUnmapObjectBufferATI")) == NULL) || r;
2670
2671   return r;
2672 }
2673
2674 #endif /* GL_ATI_map_object_buffer */
2675
2676 #ifdef GL_ATI_pn_triangles
2677
2678 static GLboolean _glewInit_GL_ATI_pn_triangles (GLEW_CONTEXT_ARG_DEF_INIT)
2679 {
2680   GLboolean r = GL_FALSE;
2681
2682   r = ((glPNTrianglesfATI = (PFNGLPNTRIANGLESFATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesfATI")) == NULL) || r;
2683   r = ((glPNTrianglesiATI = (PFNGLPNTRIANGLESIATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesiATI")) == NULL) || r;
2684
2685   return r;
2686 }
2687
2688 #endif /* GL_ATI_pn_triangles */
2689
2690 #ifdef GL_ATI_separate_stencil
2691
2692 static GLboolean _glewInit_GL_ATI_separate_stencil (GLEW_CONTEXT_ARG_DEF_INIT)
2693 {
2694   GLboolean r = GL_FALSE;
2695
2696   r = ((glStencilFuncSeparateATI = (PFNGLSTENCILFUNCSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparateATI")) == NULL) || r;
2697   r = ((glStencilOpSeparateATI = (PFNGLSTENCILOPSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparateATI")) == NULL) || r;
2698
2699   return r;
2700 }
2701
2702 #endif /* GL_ATI_separate_stencil */
2703
2704 #ifdef GL_ATI_text_fragment_shader
2705
2706 #endif /* GL_ATI_text_fragment_shader */
2707
2708 #ifdef GL_ATI_texture_compression_3dc
2709
2710 #endif /* GL_ATI_texture_compression_3dc */
2711
2712 #ifdef GL_ATI_texture_env_combine3
2713
2714 #endif /* GL_ATI_texture_env_combine3 */
2715
2716 #ifdef GL_ATI_texture_float
2717
2718 #endif /* GL_ATI_texture_float */
2719
2720 #ifdef GL_ATI_texture_mirror_once
2721
2722 #endif /* GL_ATI_texture_mirror_once */
2723
2724 #ifdef GL_ATI_vertex_array_object
2725
2726 static GLboolean _glewInit_GL_ATI_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
2727 {
2728   GLboolean r = GL_FALSE;
2729
2730   r = ((glArrayObjectATI = (PFNGLARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glArrayObjectATI")) == NULL) || r;
2731   r = ((glFreeObjectBufferATI = (PFNGLFREEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glFreeObjectBufferATI")) == NULL) || r;
2732   r = ((glGetArrayObjectfvATI = (PFNGLGETARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectfvATI")) == NULL) || r;
2733   r = ((glGetArrayObjectivATI = (PFNGLGETARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectivATI")) == NULL) || r;
2734   r = ((glGetObjectBufferfvATI = (PFNGLGETOBJECTBUFFERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferfvATI")) == NULL) || r;
2735   r = ((glGetObjectBufferivATI = (PFNGLGETOBJECTBUFFERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferivATI")) == NULL) || r;
2736   r = ((glGetVariantArrayObjectfvATI = (PFNGLGETVARIANTARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectfvATI")) == NULL) || r;
2737   r = ((glGetVariantArrayObjectivATI = (PFNGLGETVARIANTARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectivATI")) == NULL) || r;
2738   r = ((glIsObjectBufferATI = (PFNGLISOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glIsObjectBufferATI")) == NULL) || r;
2739   r = ((glNewObjectBufferATI = (PFNGLNEWOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glNewObjectBufferATI")) == NULL) || r;
2740   r = ((glUpdateObjectBufferATI = (PFNGLUPDATEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUpdateObjectBufferATI")) == NULL) || r;
2741   r = ((glVariantArrayObjectATI = (PFNGLVARIANTARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVariantArrayObjectATI")) == NULL) || r;
2742
2743   return r;
2744 }
2745
2746 #endif /* GL_ATI_vertex_array_object */
2747
2748 #ifdef GL_ATI_vertex_attrib_array_object
2749
2750 static GLboolean _glewInit_GL_ATI_vertex_attrib_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
2751 {
2752   GLboolean r = GL_FALSE;
2753
2754   r = ((glGetVertexAttribArrayObjectfvATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectfvATI")) == NULL) || r;
2755   r = ((glGetVertexAttribArrayObjectivATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectivATI")) == NULL) || r;
2756   r = ((glVertexAttribArrayObjectATI = (PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribArrayObjectATI")) == NULL) || r;
2757
2758   return r;
2759 }
2760
2761 #endif /* GL_ATI_vertex_attrib_array_object */
2762
2763 #ifdef GL_ATI_vertex_streams
2764
2765 static GLboolean _glewInit_GL_ATI_vertex_streams (GLEW_CONTEXT_ARG_DEF_INIT)
2766 {
2767   GLboolean r = GL_FALSE;
2768
2769   r = ((glClientActiveVertexStreamATI = (PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC)glewGetProcAddress((const GLubyte*)"glClientActiveVertexStreamATI")) == NULL) || r;
2770   r = ((glNormalStream3bATI = (PFNGLNORMALSTREAM3BATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bATI")) == NULL) || r;
2771   r = ((glNormalStream3bvATI = (PFNGLNORMALSTREAM3BVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bvATI")) == NULL) || r;
2772   r = ((glNormalStream3dATI = (PFNGLNORMALSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dATI")) == NULL) || r;
2773   r = ((glNormalStream3dvATI = (PFNGLNORMALSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dvATI")) == NULL) || r;
2774   r = ((glNormalStream3fATI = (PFNGLNORMALSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fATI")) == NULL) || r;
2775   r = ((glNormalStream3fvATI = (PFNGLNORMALSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fvATI")) == NULL) || r;
2776   r = ((glNormalStream3iATI = (PFNGLNORMALSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3iATI")) == NULL) || r;
2777   r = ((glNormalStream3ivATI = (PFNGLNORMALSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3ivATI")) == NULL) || r;
2778   r = ((glNormalStream3sATI = (PFNGLNORMALSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3sATI")) == NULL) || r;
2779   r = ((glNormalStream3svATI = (PFNGLNORMALSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3svATI")) == NULL) || r;
2780   r = ((glVertexBlendEnvfATI = (PFNGLVERTEXBLENDENVFATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnvfATI")) == NULL) || r;
2781   r = ((glVertexBlendEnviATI = (PFNGLVERTEXBLENDENVIATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnviATI")) == NULL) || r;
2782   r = ((glVertexStream2dATI = (PFNGLVERTEXSTREAM2DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dATI")) == NULL) || r;
2783   r = ((glVertexStream2dvATI = (PFNGLVERTEXSTREAM2DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dvATI")) == NULL) || r;
2784   r = ((glVertexStream2fATI = (PFNGLVERTEXSTREAM2FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fATI")) == NULL) || r;
2785   r = ((glVertexStream2fvATI = (PFNGLVERTEXSTREAM2FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fvATI")) == NULL) || r;
2786   r = ((glVertexStream2iATI = (PFNGLVERTEXSTREAM2IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2iATI")) == NULL) || r;
2787   r = ((glVertexStream2ivATI = (PFNGLVERTEXSTREAM2IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2ivATI")) == NULL) || r;
2788   r = ((glVertexStream2sATI = (PFNGLVERTEXSTREAM2SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2sATI")) == NULL) || r;
2789   r = ((glVertexStream2svATI = (PFNGLVERTEXSTREAM2SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2svATI")) == NULL) || r;
2790   r = ((glVertexStream3dATI = (PFNGLVERTEXSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dATI")) == NULL) || r;
2791   r = ((glVertexStream3dvATI = (PFNGLVERTEXSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dvATI")) == NULL) || r;
2792   r = ((glVertexStream3fATI = (PFNGLVERTEXSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fATI")) == NULL) || r;
2793   r = ((glVertexStream3fvATI = (PFNGLVERTEXSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fvATI")) == NULL) || r;
2794   r = ((glVertexStream3iATI = (PFNGLVERTEXSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3iATI")) == NULL) || r;
2795   r = ((glVertexStream3ivATI = (PFNGLVERTEXSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3ivATI")) == NULL) || r;
2796   r = ((glVertexStream3sATI = (PFNGLVERTEXSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3sATI")) == NULL) || r;
2797   r = ((glVertexStream3svATI = (PFNGLVERTEXSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3svATI")) == NULL) || r;
2798   r = ((glVertexStream4dATI = (PFNGLVERTEXSTREAM4DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dATI")) == NULL) || r;
2799   r = ((glVertexStream4dvATI = (PFNGLVERTEXSTREAM4DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dvATI")) == NULL) || r;
2800   r = ((glVertexStream4fATI = (PFNGLVERTEXSTREAM4FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fATI")) == NULL) || r;
2801   r = ((glVertexStream4fvATI = (PFNGLVERTEXSTREAM4FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fvATI")) == NULL) || r;
2802   r = ((glVertexStream4iATI = (PFNGLVERTEXSTREAM4IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4iATI")) == NULL) || r;
2803   r = ((glVertexStream4ivATI = (PFNGLVERTEXSTREAM4IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4ivATI")) == NULL) || r;
2804   r = ((glVertexStream4sATI = (PFNGLVERTEXSTREAM4SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4sATI")) == NULL) || r;
2805   r = ((glVertexStream4svATI = (PFNGLVERTEXSTREAM4SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4svATI")) == NULL) || r;
2806
2807   return r;
2808 }
2809
2810 #endif /* GL_ATI_vertex_streams */
2811
2812 #ifdef GL_EXT_422_pixels
2813
2814 #endif /* GL_EXT_422_pixels */
2815
2816 #ifdef GL_EXT_Cg_shader
2817
2818 #endif /* GL_EXT_Cg_shader */
2819
2820 #ifdef GL_EXT_abgr
2821
2822 #endif /* GL_EXT_abgr */
2823
2824 #ifdef GL_EXT_bgra
2825
2826 #endif /* GL_EXT_bgra */
2827
2828 #ifdef GL_EXT_blend_color
2829
2830 static GLboolean _glewInit_GL_EXT_blend_color (GLEW_CONTEXT_ARG_DEF_INIT)
2831 {
2832   GLboolean r = GL_FALSE;
2833
2834   r = ((glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)glewGetProcAddress((const GLubyte*)"glBlendColorEXT")) == NULL) || r;
2835
2836   return r;
2837 }
2838
2839 #endif /* GL_EXT_blend_color */
2840
2841 #ifdef GL_EXT_blend_equation_separate
2842
2843 static GLboolean _glewInit_GL_EXT_blend_equation_separate (GLEW_CONTEXT_ARG_DEF_INIT)
2844 {
2845   GLboolean r = GL_FALSE;
2846
2847   r = ((glBlendEquationSeparateEXT = (PFNGLBLENDEQUATIONSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateEXT")) == NULL) || r;
2848
2849   return r;
2850 }
2851
2852 #endif /* GL_EXT_blend_equation_separate */
2853
2854 #ifdef GL_EXT_blend_func_separate
2855
2856 static GLboolean _glewInit_GL_EXT_blend_func_separate (GLEW_CONTEXT_ARG_DEF_INIT)
2857 {
2858   GLboolean r = GL_FALSE;
2859
2860   r = ((glBlendFuncSeparateEXT = (PFNGLBLENDFUNCSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateEXT")) == NULL) || r;
2861
2862   return r;
2863 }
2864
2865 #endif /* GL_EXT_blend_func_separate */
2866
2867 #ifdef GL_EXT_blend_logic_op
2868
2869 #endif /* GL_EXT_blend_logic_op */
2870
2871 #ifdef GL_EXT_blend_minmax
2872
2873 static GLboolean _glewInit_GL_EXT_blend_minmax (GLEW_CONTEXT_ARG_DEF_INIT)
2874 {
2875   GLboolean r = GL_FALSE;
2876
2877   r = ((glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationEXT")) == NULL) || r;
2878
2879   return r;
2880 }
2881
2882 #endif /* GL_EXT_blend_minmax */
2883
2884 #ifdef GL_EXT_blend_subtract
2885
2886 #endif /* GL_EXT_blend_subtract */
2887
2888 #ifdef GL_EXT_clip_volume_hint
2889
2890 #endif /* GL_EXT_clip_volume_hint */
2891
2892 #ifdef GL_EXT_cmyka
2893
2894 #endif /* GL_EXT_cmyka */
2895
2896 #ifdef GL_EXT_color_subtable
2897
2898 static GLboolean _glewInit_GL_EXT_color_subtable (GLEW_CONTEXT_ARG_DEF_INIT)
2899 {
2900   GLboolean r = GL_FALSE;
2901
2902   r = ((glColorSubTableEXT = (PFNGLCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorSubTableEXT")) == NULL) || r;
2903   r = ((glCopyColorSubTableEXT = (PFNGLCOPYCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTableEXT")) == NULL) || r;
2904
2905   return r;
2906 }
2907
2908 #endif /* GL_EXT_color_subtable */
2909
2910 #ifdef GL_EXT_compiled_vertex_array
2911
2912 static GLboolean _glewInit_GL_EXT_compiled_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT)
2913 {
2914   GLboolean r = GL_FALSE;
2915
2916   r = ((glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glLockArraysEXT")) == NULL) || r;
2917   r = ((glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glUnlockArraysEXT")) == NULL) || r;
2918
2919   return r;
2920 }
2921
2922 #endif /* GL_EXT_compiled_vertex_array */
2923
2924 #ifdef GL_EXT_convolution
2925
2926 static GLboolean _glewInit_GL_EXT_convolution (GLEW_CONTEXT_ARG_DEF_INIT)
2927 {
2928   GLboolean r = GL_FALSE;
2929
2930   r = ((glConvolutionFilter1DEXT = (PFNGLCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1DEXT")) == NULL) || r;
2931   r = ((glConvolutionFilter2DEXT = (PFNGLCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2DEXT")) == NULL) || r;
2932   r = ((glConvolutionParameterfEXT = (PFNGLCONVOLUTIONPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfEXT")) == NULL) || r;
2933   r = ((glConvolutionParameterfvEXT = (PFNGLCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfvEXT")) == NULL) || r;
2934   r = ((glConvolutionParameteriEXT = (PFNGLCONVOLUTIONPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriEXT")) == NULL) || r;
2935   r = ((glConvolutionParameterivEXT = (PFNGLCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterivEXT")) == NULL) || r;
2936   r = ((glCopyConvolutionFilter1DEXT = (PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1DEXT")) == NULL) || r;
2937   r = ((glCopyConvolutionFilter2DEXT = (PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2DEXT")) == NULL) || r;
2938   r = ((glGetConvolutionFilterEXT = (PFNGLGETCONVOLUTIONFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilterEXT")) == NULL) || r;
2939   r = ((glGetConvolutionParameterfvEXT = (PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfvEXT")) == NULL) || r;
2940   r = ((glGetConvolutionParameterivEXT = (PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterivEXT")) == NULL) || r;
2941   r = ((glGetSeparableFilterEXT = (PFNGLGETSEPARABLEFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilterEXT")) == NULL) || r;
2942   r = ((glSeparableFilter2DEXT = (PFNGLSEPARABLEFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2DEXT")) == NULL) || r;
2943
2944   return r;
2945 }
2946
2947 #endif /* GL_EXT_convolution */
2948
2949 #ifdef GL_EXT_coordinate_frame
2950
2951 static GLboolean _glewInit_GL_EXT_coordinate_frame (GLEW_CONTEXT_ARG_DEF_INIT)
2952 {
2953   GLboolean r = GL_FALSE;
2954
2955   r = ((glBinormalPointerEXT = (PFNGLBINORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glBinormalPointerEXT")) == NULL) || r;
2956   r = ((glTangentPointerEXT = (PFNGLTANGENTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTangentPointerEXT")) == NULL) || r;
2957
2958   return r;
2959 }
2960
2961 #endif /* GL_EXT_coordinate_frame */
2962
2963 #ifdef GL_EXT_copy_texture
2964
2965 static GLboolean _glewInit_GL_EXT_copy_texture (GLEW_CONTEXT_ARG_DEF_INIT)
2966 {
2967   GLboolean r = GL_FALSE;
2968
2969   r = ((glCopyTexImage1DEXT = (PFNGLCOPYTEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage1DEXT")) == NULL) || r;
2970   r = ((glCopyTexImage2DEXT = (PFNGLCOPYTEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage2DEXT")) == NULL) || r;
2971   r = ((glCopyTexSubImage1DEXT = (PFNGLCOPYTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage1DEXT")) == NULL) || r;
2972   r = ((glCopyTexSubImage2DEXT = (PFNGLCOPYTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage2DEXT")) == NULL) || r;
2973   r = ((glCopyTexSubImage3DEXT = (PFNGLCOPYTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3DEXT")) == NULL) || r;
2974
2975   return r;
2976 }
2977
2978 #endif /* GL_EXT_copy_texture */
2979
2980 #ifdef GL_EXT_cull_vertex
2981
2982 static GLboolean _glewInit_GL_EXT_cull_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
2983 {
2984   GLboolean r = GL_FALSE;
2985
2986   r = ((glCullParameterdvEXT = (PFNGLCULLPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterdvEXT")) == NULL) || r;
2987   r = ((glCullParameterfvEXT = (PFNGLCULLPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterfvEXT")) == NULL) || r;
2988
2989   return r;
2990 }
2991
2992 #endif /* GL_EXT_cull_vertex */
2993
2994 #ifdef GL_EXT_depth_bounds_test
2995
2996 static GLboolean _glewInit_GL_EXT_depth_bounds_test (GLEW_CONTEXT_ARG_DEF_INIT)
2997 {
2998   GLboolean r = GL_FALSE;
2999
3000   r = ((glDepthBoundsEXT = (PFNGLDEPTHBOUNDSEXTPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsEXT")) == NULL) || r;
3001
3002   return r;
3003 }
3004
3005 #endif /* GL_EXT_depth_bounds_test */
3006
3007 #ifdef GL_EXT_draw_range_elements
3008
3009 static GLboolean _glewInit_GL_EXT_draw_range_elements (GLEW_CONTEXT_ARG_DEF_INIT)
3010 {
3011   GLboolean r = GL_FALSE;
3012
3013   r = ((glDrawRangeElementsEXT = (PFNGLDRAWRANGEELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsEXT")) == NULL) || r;
3014
3015   return r;
3016 }
3017
3018 #endif /* GL_EXT_draw_range_elements */
3019
3020 #ifdef GL_EXT_fog_coord
3021
3022 static GLboolean _glewInit_GL_EXT_fog_coord (GLEW_CONTEXT_ARG_DEF_INIT)
3023 {
3024   GLboolean r = GL_FALSE;
3025
3026   r = ((glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerEXT")) == NULL) || r;
3027   r = ((glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddEXT")) == NULL) || r;
3028   r = ((glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddvEXT")) == NULL) || r;
3029   r = ((glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfEXT")) == NULL) || r;
3030   r = ((glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfvEXT")) == NULL) || r;
3031
3032   return r;
3033 }
3034
3035 #endif /* GL_EXT_fog_coord */
3036
3037 #ifdef GL_EXT_fragment_lighting
3038
3039 static GLboolean _glewInit_GL_EXT_fragment_lighting (GLEW_CONTEXT_ARG_DEF_INIT)
3040 {
3041   GLboolean r = GL_FALSE;
3042
3043   r = ((glFragmentColorMaterialEXT = (PFNGLFRAGMENTCOLORMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialEXT")) == NULL) || r;
3044   r = ((glFragmentLightModelfEXT = (PFNGLFRAGMENTLIGHTMODELFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfEXT")) == NULL) || r;
3045   r = ((glFragmentLightModelfvEXT = (PFNGLFRAGMENTLIGHTMODELFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvEXT")) == NULL) || r;
3046   r = ((glFragmentLightModeliEXT = (PFNGLFRAGMENTLIGHTMODELIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliEXT")) == NULL) || r;
3047   r = ((glFragmentLightModelivEXT = (PFNGLFRAGMENTLIGHTMODELIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivEXT")) == NULL) || r;
3048   r = ((glFragmentLightfEXT = (PFNGLFRAGMENTLIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfEXT")) == NULL) || r;
3049   r = ((glFragmentLightfvEXT = (PFNGLFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvEXT")) == NULL) || r;
3050   r = ((glFragmentLightiEXT = (PFNGLFRAGMENTLIGHTIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiEXT")) == NULL) || r;
3051   r = ((glFragmentLightivEXT = (PFNGLFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivEXT")) == NULL) || r;
3052   r = ((glFragmentMaterialfEXT = (PFNGLFRAGMENTMATERIALFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfEXT")) == NULL) || r;
3053   r = ((glFragmentMaterialfvEXT = (PFNGLFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvEXT")) == NULL) || r;
3054   r = ((glFragmentMaterialiEXT = (PFNGLFRAGMENTMATERIALIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiEXT")) == NULL) || r;
3055   r = ((glFragmentMaterialivEXT = (PFNGLFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivEXT")) == NULL) || r;
3056   r = ((glGetFragmentLightfvEXT = (PFNGLGETFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvEXT")) == NULL) || r;
3057   r = ((glGetFragmentLightivEXT = (PFNGLGETFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivEXT")) == NULL) || r;
3058   r = ((glGetFragmentMaterialfvEXT = (PFNGLGETFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvEXT")) == NULL) || r;
3059   r = ((glGetFragmentMaterialivEXT = (PFNGLGETFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivEXT")) == NULL) || r;
3060   r = ((glLightEnviEXT = (PFNGLLIGHTENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glLightEnviEXT")) == NULL) || r;
3061
3062   return r;
3063 }
3064
3065 #endif /* GL_EXT_fragment_lighting */
3066
3067 #ifdef GL_EXT_framebuffer_blit
3068
3069 static GLboolean _glewInit_GL_EXT_framebuffer_blit (GLEW_CONTEXT_ARG_DEF_INIT)
3070 {
3071   GLboolean r = GL_FALSE;
3072
3073   r = ((glBlitFramebufferEXT = (PFNGLBLITFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferEXT")) == NULL) || r;
3074
3075   return r;
3076 }
3077
3078 #endif /* GL_EXT_framebuffer_blit */
3079
3080 #ifdef GL_EXT_framebuffer_multisample
3081
3082 static GLboolean _glewInit_GL_EXT_framebuffer_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
3083 {
3084   GLboolean r = GL_FALSE;
3085
3086   r = ((glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleEXT")) == NULL) || r;
3087
3088   return r;
3089 }
3090
3091 #endif /* GL_EXT_framebuffer_multisample */
3092
3093 #ifdef GL_EXT_framebuffer_object
3094
3095 static GLboolean _glewInit_GL_EXT_framebuffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
3096 {
3097   GLboolean r = GL_FALSE;
3098
3099   r = ((glBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindFramebufferEXT")) == NULL) || r;
3100   r = ((glBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbufferEXT")) == NULL) || r;
3101   r = ((glCheckFramebufferStatusEXT = (PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatusEXT")) == NULL) || r;
3102   r = ((glDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffersEXT")) == NULL) || r;
3103   r = ((glDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffersEXT")) == NULL) || r;
3104   r = ((glFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbufferEXT")) == NULL) || r;
3105   r = ((glFramebufferTexture1DEXT = (PFNGLFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1DEXT")) == NULL) || r;
3106   r = ((glFramebufferTexture2DEXT = (PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2DEXT")) == NULL) || r;
3107   r = ((glFramebufferTexture3DEXT = (PFNGLFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3DEXT")) == NULL) || r;
3108   r = ((glGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffersEXT")) == NULL) || r;
3109   r = ((glGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffersEXT")) == NULL) || r;
3110   r = ((glGenerateMipmapEXT = (PFNGLGENERATEMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmapEXT")) == NULL) || r;
3111   r = ((glGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameterivEXT")) == NULL) || r;
3112   r = ((glGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameterivEXT")) == NULL) || r;
3113   r = ((glIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsFramebufferEXT")) == NULL) || r;
3114   r = ((glIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbufferEXT")) == NULL) || r;
3115   r = ((glRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageEXT")) == NULL) || r;
3116
3117   return r;
3118 }
3119
3120 #endif /* GL_EXT_framebuffer_object */
3121
3122 #ifdef GL_EXT_histogram
3123
3124 static GLboolean _glewInit_GL_EXT_histogram (GLEW_CONTEXT_ARG_DEF_INIT)
3125 {
3126   GLboolean r = GL_FALSE;
3127
3128   r = ((glGetHistogramEXT = (PFNGLGETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramEXT")) == NULL) || r;
3129   r = ((glGetHistogramParameterfvEXT = (PFNGLGETHISTOGRAMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfvEXT")) == NULL) || r;
3130   r = ((glGetHistogramParameterivEXT = (PFNGLGETHISTOGRAMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterivEXT")) == NULL) || r;
3131   r = ((glGetMinmaxEXT = (PFNGLGETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxEXT")) == NULL) || r;
3132   r = ((glGetMinmaxParameterfvEXT = (PFNGLGETMINMAXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfvEXT")) == NULL) || r;
3133   r = ((glGetMinmaxParameterivEXT = (PFNGLGETMINMAXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterivEXT")) == NULL) || r;
3134   r = ((glHistogramEXT = (PFNGLHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glHistogramEXT")) == NULL) || r;
3135   r = ((glMinmaxEXT = (PFNGLMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glMinmaxEXT")) == NULL) || r;
3136   r = ((glResetHistogramEXT = (PFNGLRESETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glResetHistogramEXT")) == NULL) || r;
3137   r = ((glResetMinmaxEXT = (PFNGLRESETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glResetMinmaxEXT")) == NULL) || r;
3138
3139   return r;
3140 }
3141
3142 #endif /* GL_EXT_histogram */
3143
3144 #ifdef GL_EXT_index_array_formats
3145
3146 #endif /* GL_EXT_index_array_formats */
3147
3148 #ifdef GL_EXT_index_func
3149
3150 static GLboolean _glewInit_GL_EXT_index_func (GLEW_CONTEXT_ARG_DEF_INIT)
3151 {
3152   GLboolean r = GL_FALSE;
3153
3154   r = ((glIndexFuncEXT = (PFNGLINDEXFUNCEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexFuncEXT")) == NULL) || r;
3155
3156   return r;
3157 }
3158
3159 #endif /* GL_EXT_index_func */
3160
3161 #ifdef GL_EXT_index_material
3162
3163 static GLboolean _glewInit_GL_EXT_index_material (GLEW_CONTEXT_ARG_DEF_INIT)
3164 {
3165   GLboolean r = GL_FALSE;
3166
3167   r = ((glIndexMaterialEXT = (PFNGLINDEXMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexMaterialEXT")) == NULL) || r;
3168
3169   return r;
3170 }
3171
3172 #endif /* GL_EXT_index_material */
3173
3174 #ifdef GL_EXT_index_texture
3175
3176 #endif /* GL_EXT_index_texture */
3177
3178 #ifdef GL_EXT_light_texture
3179
3180 static GLboolean _glewInit_GL_EXT_light_texture (GLEW_CONTEXT_ARG_DEF_INIT)
3181 {
3182   GLboolean r = GL_FALSE;
3183
3184   r = ((glApplyTextureEXT = (PFNGLAPPLYTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glApplyTextureEXT")) == NULL) || r;
3185   r = ((glTextureLightEXT = (PFNGLTEXTURELIGHTEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureLightEXT")) == NULL) || r;
3186   r = ((glTextureMaterialEXT = (PFNGLTEXTUREMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureMaterialEXT")) == NULL) || r;
3187
3188   return r;
3189 }
3190
3191 #endif /* GL_EXT_light_texture */
3192
3193 #ifdef GL_EXT_misc_attribute
3194
3195 #endif /* GL_EXT_misc_attribute */
3196
3197 #ifdef GL_EXT_multi_draw_arrays
3198
3199 static GLboolean _glewInit_GL_EXT_multi_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
3200 {
3201   GLboolean r = GL_FALSE;
3202
3203   r = ((glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysEXT")) == NULL) || r;
3204   r = ((glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsEXT")) == NULL) || r;
3205
3206   return r;
3207 }
3208
3209 #endif /* GL_EXT_multi_draw_arrays */
3210
3211 #ifdef GL_EXT_multisample
3212
3213 static GLboolean _glewInit_GL_EXT_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
3214 {
3215   GLboolean r = GL_FALSE;
3216
3217   r = ((glSampleMaskEXT = (PFNGLSAMPLEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskEXT")) == NULL) || r;
3218   r = ((glSamplePatternEXT = (PFNGLSAMPLEPATTERNEXTPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternEXT")) == NULL) || r;
3219
3220   return r;
3221 }
3222
3223 #endif /* GL_EXT_multisample */
3224
3225 #ifdef GL_EXT_packed_depth_stencil
3226
3227 #endif /* GL_EXT_packed_depth_stencil */
3228
3229 #ifdef GL_EXT_packed_pixels
3230
3231 #endif /* GL_EXT_packed_pixels */
3232
3233 #ifdef GL_EXT_paletted_texture
3234
3235 static GLboolean _glewInit_GL_EXT_paletted_texture (GLEW_CONTEXT_ARG_DEF_INIT)
3236 {
3237   GLboolean r = GL_FALSE;
3238
3239   r = ((glColorTableEXT = (PFNGLCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorTableEXT")) == NULL) || r;
3240   r = ((glGetColorTableEXT = (PFNGLGETCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableEXT")) == NULL) || r;
3241   r = ((glGetColorTableParameterfvEXT = (PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvEXT")) == NULL) || r;
3242   r = ((glGetColorTableParameterivEXT = (PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivEXT")) == NULL) || r;
3243
3244   return r;
3245 }
3246
3247 #endif /* GL_EXT_paletted_texture */
3248
3249 #ifdef GL_EXT_pixel_buffer_object
3250
3251 #endif /* GL_EXT_pixel_buffer_object */
3252
3253 #ifdef GL_EXT_pixel_transform
3254
3255 static GLboolean _glewInit_GL_EXT_pixel_transform (GLEW_CONTEXT_ARG_DEF_INIT)
3256 {
3257   GLboolean r = GL_FALSE;
3258
3259   r = ((glGetPixelTransformParameterfvEXT = (PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterfvEXT")) == NULL) || r;
3260   r = ((glGetPixelTransformParameterivEXT = (PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterivEXT")) == NULL) || r;
3261   r = ((glPixelTransformParameterfEXT = (PFNGLPIXELTRANSFORMPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfEXT")) == NULL) || r;
3262   r = ((glPixelTransformParameterfvEXT = (PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfvEXT")) == NULL) || r;
3263   r = ((glPixelTransformParameteriEXT = (PFNGLPIXELTRANSFORMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameteriEXT")) == NULL) || r;
3264   r = ((glPixelTransformParameterivEXT = (PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterivEXT")) == NULL) || r;
3265
3266   return r;
3267 }
3268
3269 #endif /* GL_EXT_pixel_transform */
3270
3271 #ifdef GL_EXT_pixel_transform_color_table
3272
3273 #endif /* GL_EXT_pixel_transform_color_table */
3274
3275 #ifdef GL_EXT_point_parameters
3276
3277 static GLboolean _glewInit_GL_EXT_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
3278 {
3279   GLboolean r = GL_FALSE;
3280
3281   r = ((glPointParameterfEXT = (PFNGLPOINTPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfEXT")) == NULL) || r;
3282   r = ((glPointParameterfvEXT = (PFNGLPOINTPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvEXT")) == NULL) || r;
3283
3284   return r;
3285 }
3286
3287 #endif /* GL_EXT_point_parameters */
3288
3289 #ifdef GL_EXT_polygon_offset
3290
3291 static GLboolean _glewInit_GL_EXT_polygon_offset (GLEW_CONTEXT_ARG_DEF_INIT)
3292 {
3293   GLboolean r = GL_FALSE;
3294
3295   r = ((glPolygonOffsetEXT = (PFNGLPOLYGONOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetEXT")) == NULL) || r;
3296
3297   return r;
3298 }
3299
3300 #endif /* GL_EXT_polygon_offset */
3301
3302 #ifdef GL_EXT_rescale_normal
3303
3304 #endif /* GL_EXT_rescale_normal */
3305
3306 #ifdef GL_EXT_scene_marker
3307
3308 static GLboolean _glewInit_GL_EXT_scene_marker (GLEW_CONTEXT_ARG_DEF_INIT)
3309 {
3310   GLboolean r = GL_FALSE;
3311
3312   r = ((glBeginSceneEXT = (PFNGLBEGINSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginSceneEXT")) == NULL) || r;
3313   r = ((glEndSceneEXT = (PFNGLENDSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glEndSceneEXT")) == NULL) || r;
3314
3315   return r;
3316 }
3317
3318 #endif /* GL_EXT_scene_marker */
3319
3320 #ifdef GL_EXT_secondary_color
3321
3322 static GLboolean _glewInit_GL_EXT_secondary_color (GLEW_CONTEXT_ARG_DEF_INIT)
3323 {
3324   GLboolean r = GL_FALSE;
3325
3326   r = ((glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bEXT")) == NULL) || r;
3327   r = ((glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bvEXT")) == NULL) || r;
3328   r = ((glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dEXT")) == NULL) || r;
3329   r = ((glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dvEXT")) == NULL) || r;
3330   r = ((glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fEXT")) == NULL) || r;
3331   r = ((glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fvEXT")) == NULL) || r;
3332   r = ((glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iEXT")) == NULL) || r;
3333   r = ((glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ivEXT")) == NULL) || r;
3334   r = ((glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sEXT")) == NULL) || r;
3335   r = ((glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3svEXT")) == NULL) || r;
3336   r = ((glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubEXT")) == NULL) || r;
3337   r = ((glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubvEXT")) == NULL) || r;
3338   r = ((glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiEXT")) == NULL) || r;
3339   r = ((glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uivEXT")) == NULL) || r;
3340   r = ((glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usEXT")) == NULL) || r;
3341   r = ((glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usvEXT")) == NULL) || r;
3342   r = ((glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerEXT")) == NULL) || r;
3343
3344   return r;
3345 }
3346
3347 #endif /* GL_EXT_secondary_color */
3348
3349 #ifdef GL_EXT_separate_specular_color
3350
3351 #endif /* GL_EXT_separate_specular_color */
3352
3353 #ifdef GL_EXT_shadow_funcs
3354
3355 #endif /* GL_EXT_shadow_funcs */
3356
3357 #ifdef GL_EXT_shared_texture_palette
3358
3359 #endif /* GL_EXT_shared_texture_palette */
3360
3361 #ifdef GL_EXT_stencil_clear_tag
3362
3363 #endif /* GL_EXT_stencil_clear_tag */
3364
3365 #ifdef GL_EXT_stencil_two_side
3366
3367 static GLboolean _glewInit_GL_EXT_stencil_two_side (GLEW_CONTEXT_ARG_DEF_INIT)
3368 {
3369   GLboolean r = GL_FALSE;
3370
3371   r = ((glActiveStencilFaceEXT = (PFNGLACTIVESTENCILFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveStencilFaceEXT")) == NULL) || r;
3372
3373   return r;
3374 }
3375
3376 #endif /* GL_EXT_stencil_two_side */
3377
3378 #ifdef GL_EXT_stencil_wrap
3379
3380 #endif /* GL_EXT_stencil_wrap */
3381
3382 #ifdef GL_EXT_subtexture
3383
3384 static GLboolean _glewInit_GL_EXT_subtexture (GLEW_CONTEXT_ARG_DEF_INIT)
3385 {
3386   GLboolean r = GL_FALSE;
3387
3388   r = ((glTexSubImage1DEXT = (PFNGLTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage1DEXT")) == NULL) || r;
3389   r = ((glTexSubImage2DEXT = (PFNGLTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage2DEXT")) == NULL) || r;
3390   r = ((glTexSubImage3DEXT = (PFNGLTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3DEXT")) == NULL) || r;
3391
3392   return r;
3393 }
3394
3395 #endif /* GL_EXT_subtexture */
3396
3397 #ifdef GL_EXT_texture
3398
3399 #endif /* GL_EXT_texture */
3400
3401 #ifdef GL_EXT_texture3D
3402
3403 static GLboolean _glewInit_GL_EXT_texture3D (GLEW_CONTEXT_ARG_DEF_INIT)
3404 {
3405   GLboolean r = GL_FALSE;
3406
3407   r = ((glTexImage3DEXT = (PFNGLTEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DEXT")) == NULL) || r;
3408
3409   return r;
3410 }
3411
3412 #endif /* GL_EXT_texture3D */
3413
3414 #ifdef GL_EXT_texture_compression_dxt1
3415
3416 #endif /* GL_EXT_texture_compression_dxt1 */
3417
3418 #ifdef GL_EXT_texture_compression_s3tc
3419
3420 #endif /* GL_EXT_texture_compression_s3tc */
3421
3422 #ifdef GL_EXT_texture_cube_map
3423
3424 #endif /* GL_EXT_texture_cube_map */
3425
3426 #ifdef GL_EXT_texture_edge_clamp
3427
3428 #endif /* GL_EXT_texture_edge_clamp */
3429
3430 #ifdef GL_EXT_texture_env
3431
3432 #endif /* GL_EXT_texture_env */
3433
3434 #ifdef GL_EXT_texture_env_add
3435
3436 #endif /* GL_EXT_texture_env_add */
3437
3438 #ifdef GL_EXT_texture_env_combine
3439
3440 #endif /* GL_EXT_texture_env_combine */
3441
3442 #ifdef GL_EXT_texture_env_dot3
3443
3444 #endif /* GL_EXT_texture_env_dot3 */
3445
3446 #ifdef GL_EXT_texture_filter_anisotropic
3447
3448 #endif /* GL_EXT_texture_filter_anisotropic */
3449
3450 #ifdef GL_EXT_texture_lod_bias
3451
3452 #endif /* GL_EXT_texture_lod_bias */
3453
3454 #ifdef GL_EXT_texture_mirror_clamp
3455
3456 #endif /* GL_EXT_texture_mirror_clamp */
3457
3458 #ifdef GL_EXT_texture_object
3459
3460 static GLboolean _glewInit_GL_EXT_texture_object (GLEW_CONTEXT_ARG_DEF_INIT)
3461 {
3462   GLboolean r = GL_FALSE;
3463
3464   r = ((glAreTexturesResidentEXT = (PFNGLARETEXTURESRESIDENTEXTPROC)glewGetProcAddress((const GLubyte*)"glAreTexturesResidentEXT")) == NULL) || r;
3465   r = ((glBindTextureEXT = (PFNGLBINDTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureEXT")) == NULL) || r;
3466   r = ((glDeleteTexturesEXT = (PFNGLDELETETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteTexturesEXT")) == NULL) || r;
3467   r = ((glGenTexturesEXT = (PFNGLGENTEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glGenTexturesEXT")) == NULL) || r;
3468   r = ((glIsTextureEXT = (PFNGLISTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glIsTextureEXT")) == NULL) || r;
3469   r = ((glPrioritizeTexturesEXT = (PFNGLPRIORITIZETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glPrioritizeTexturesEXT")) == NULL) || r;
3470
3471   return r;
3472 }
3473
3474 #endif /* GL_EXT_texture_object */
3475
3476 #ifdef GL_EXT_texture_perturb_normal
3477
3478 static GLboolean _glewInit_GL_EXT_texture_perturb_normal (GLEW_CONTEXT_ARG_DEF_INIT)
3479 {
3480   GLboolean r = GL_FALSE;
3481
3482   r = ((glTextureNormalEXT = (PFNGLTEXTURENORMALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureNormalEXT")) == NULL) || r;
3483
3484   return r;
3485 }
3486
3487 #endif /* GL_EXT_texture_perturb_normal */
3488
3489 #ifdef GL_EXT_texture_rectangle
3490
3491 #endif /* GL_EXT_texture_rectangle */
3492
3493 #ifdef GL_EXT_texture_sRGB
3494
3495 #endif /* GL_EXT_texture_sRGB */
3496
3497 #ifdef GL_EXT_vertex_array
3498
3499 static GLboolean _glewInit_GL_EXT_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT)
3500 {
3501   GLboolean r = GL_FALSE;
3502
3503   r = ((glArrayElementEXT = (PFNGLARRAYELEMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glArrayElementEXT")) == NULL) || r;
3504   r = ((glColorPointerEXT = (PFNGLCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glColorPointerEXT")) == NULL) || r;
3505   r = ((glDrawArraysEXT = (PFNGLDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysEXT")) == NULL) || r;
3506   r = ((glEdgeFlagPointerEXT = (PFNGLEDGEFLAGPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerEXT")) == NULL) || r;
3507   r = ((glGetPointervEXT = (PFNGLGETPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointervEXT")) == NULL) || r;
3508   r = ((glIndexPointerEXT = (PFNGLINDEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerEXT")) == NULL) || r;
3509   r = ((glNormalPointerEXT = (PFNGLNORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerEXT")) == NULL) || r;
3510   r = ((glTexCoordPointerEXT = (PFNGLTEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerEXT")) == NULL) || r;
3511   r = ((glVertexPointerEXT = (PFNGLVERTEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerEXT")) == NULL) || r;
3512
3513   return r;
3514 }
3515
3516 #endif /* GL_EXT_vertex_array */
3517
3518 #ifdef GL_EXT_vertex_shader
3519
3520 static GLboolean _glewInit_GL_EXT_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)
3521 {
3522   GLboolean r = GL_FALSE;
3523
3524   r = ((glBeginVertexShaderEXT = (PFNGLBEGINVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBeginVertexShaderEXT")) == NULL) || r;
3525   r = ((glBindLightParameterEXT = (PFNGLBINDLIGHTPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindLightParameterEXT")) == NULL) || r;
3526   r = ((glBindMaterialParameterEXT = (PFNGLBINDMATERIALPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindMaterialParameterEXT")) == NULL) || r;
3527   r = ((glBindParameterEXT = (PFNGLBINDPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindParameterEXT")) == NULL) || r;
3528   r = ((glBindTexGenParameterEXT = (PFNGLBINDTEXGENPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTexGenParameterEXT")) == NULL) || r;
3529   r = ((glBindTextureUnitParameterEXT = (PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureUnitParameterEXT")) == NULL) || r;
3530   r = ((glBindVertexShaderEXT = (PFNGLBINDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindVertexShaderEXT")) == NULL) || r;
3531   r = ((glDeleteVertexShaderEXT = (PFNGLDELETEVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexShaderEXT")) == NULL) || r;
3532   r = ((glDisableVariantClientStateEXT = (PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVariantClientStateEXT")) == NULL) || r;
3533   r = ((glEnableVariantClientStateEXT = (PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVariantClientStateEXT")) == NULL) || r;
3534   r = ((glEndVertexShaderEXT = (PFNGLENDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glEndVertexShaderEXT")) == NULL) || r;
3535   r = ((glExtractComponentEXT = (PFNGLEXTRACTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glExtractComponentEXT")) == NULL) || r;
3536   r = ((glGenSymbolsEXT = (PFNGLGENSYMBOLSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenSymbolsEXT")) == NULL) || r;
3537   r = ((glGenVertexShadersEXT = (PFNGLGENVERTEXSHADERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenVertexShadersEXT")) == NULL) || r;
3538   r = ((glGetInvariantBooleanvEXT = (PFNGLGETINVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantBooleanvEXT")) == NULL) || r;
3539   r = ((glGetInvariantFloatvEXT = (PFNGLGETINVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantFloatvEXT")) == NULL) || r;
3540   r = ((glGetInvariantIntegervEXT = (PFNGLGETINVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantIntegervEXT")) == NULL) || r;
3541   r = ((glGetLocalConstantBooleanvEXT = (PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantBooleanvEXT")) == NULL) || r;
3542   r = ((glGetLocalConstantFloatvEXT = (PFNGLGETLOCALCONSTANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantFloatvEXT")) == NULL) || r;
3543   r = ((glGetLocalConstantIntegervEXT = (PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantIntegervEXT")) == NULL) || r;
3544   r = ((glGetVariantBooleanvEXT = (PFNGLGETVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantBooleanvEXT")) == NULL) || r;
3545   r = ((glGetVariantFloatvEXT = (PFNGLGETVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantFloatvEXT")) == NULL) || r;
3546   r = ((glGetVariantIntegervEXT = (PFNGLGETVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantIntegervEXT")) == NULL) || r;
3547   r = ((glGetVariantPointervEXT = (PFNGLGETVARIANTPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantPointervEXT")) == NULL) || r;
3548   r = ((glInsertComponentEXT = (PFNGLINSERTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glInsertComponentEXT")) == NULL) || r;
3549   r = ((glIsVariantEnabledEXT = (PFNGLISVARIANTENABLEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsVariantEnabledEXT")) == NULL) || r;
3550   r = ((glSetInvariantEXT = (PFNGLSETINVARIANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetInvariantEXT")) == NULL) || r;
3551   r = ((glSetLocalConstantEXT = (PFNGLSETLOCALCONSTANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetLocalConstantEXT")) == NULL) || r;
3552   r = ((glShaderOp1EXT = (PFNGLSHADEROP1EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp1EXT")) == NULL) || r;
3553   r = ((glShaderOp2EXT = (PFNGLSHADEROP2EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp2EXT")) == NULL) || r;
3554   r = ((glShaderOp3EXT = (PFNGLSHADEROP3EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp3EXT")) == NULL) || r;
3555   r = ((glSwizzleEXT = (PFNGLSWIZZLEEXTPROC)glewGetProcAddress((const GLubyte*)"glSwizzleEXT")) == NULL) || r;
3556   r = ((glVariantPointerEXT = (PFNGLVARIANTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVariantPointerEXT")) == NULL) || r;
3557   r = ((glVariantbvEXT = (PFNGLVARIANTBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantbvEXT")) == NULL) || r;
3558   r = ((glVariantdvEXT = (PFNGLVARIANTDVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantdvEXT")) == NULL) || r;
3559   r = ((glVariantfvEXT = (PFNGLVARIANTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantfvEXT")) == NULL) || r;
3560   r = ((glVariantivEXT = (PFNGLVARIANTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantivEXT")) == NULL) || r;
3561   r = ((glVariantsvEXT = (PFNGLVARIANTSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantsvEXT")) == NULL) || r;
3562   r = ((glVariantubvEXT = (PFNGLVARIANTUBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantubvEXT")) == NULL) || r;
3563   r = ((glVariantuivEXT = (PFNGLVARIANTUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantuivEXT")) == NULL) || r;
3564   r = ((glVariantusvEXT = (PFNGLVARIANTUSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantusvEXT")) == NULL) || r;
3565   r = ((glWriteMaskEXT = (PFNGLWRITEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glWriteMaskEXT")) == NULL) || r;
3566
3567   return r;
3568 }
3569
3570 #endif /* GL_EXT_vertex_shader */
3571
3572 #ifdef GL_EXT_vertex_weighting
3573
3574 static GLboolean _glewInit_GL_EXT_vertex_weighting (GLEW_CONTEXT_ARG_DEF_INIT)
3575 {
3576   GLboolean r = GL_FALSE;
3577
3578   r = ((glVertexWeightPointerEXT = (PFNGLVERTEXWEIGHTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightPointerEXT")) == NULL) || r;
3579   r = ((glVertexWeightfEXT = (PFNGLVERTEXWEIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfEXT")) == NULL) || r;
3580   r = ((glVertexWeightfvEXT = (PFNGLVERTEXWEIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfvEXT")) == NULL) || r;
3581
3582   return r;
3583 }
3584
3585 #endif /* GL_EXT_vertex_weighting */
3586
3587 #ifdef GL_GREMEDY_string_marker
3588
3589 static GLboolean _glewInit_GL_GREMEDY_string_marker (GLEW_CONTEXT_ARG_DEF_INIT)
3590 {
3591   GLboolean r = GL_FALSE;
3592
3593   r = ((glStringMarkerGREMEDY = (PFNGLSTRINGMARKERGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glStringMarkerGREMEDY")) == NULL) || r;
3594
3595   return r;
3596 }
3597
3598 #endif /* GL_GREMEDY_string_marker */
3599
3600 #ifdef GL_HP_convolution_border_modes
3601
3602 #endif /* GL_HP_convolution_border_modes */
3603
3604 #ifdef GL_HP_image_transform
3605
3606 static GLboolean _glewInit_GL_HP_image_transform (GLEW_CONTEXT_ARG_DEF_INIT)
3607 {
3608   GLboolean r = GL_FALSE;
3609
3610   r = ((glGetImageTransformParameterfvHP = (PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterfvHP")) == NULL) || r;
3611   r = ((glGetImageTransformParameterivHP = (PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterivHP")) == NULL) || r;
3612   r = ((glImageTransformParameterfHP = (PFNGLIMAGETRANSFORMPARAMETERFHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfHP")) == NULL) || r;
3613   r = ((glImageTransformParameterfvHP = (PFNGLIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfvHP")) == NULL) || r;
3614   r = ((glImageTransformParameteriHP = (PFNGLIMAGETRANSFORMPARAMETERIHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameteriHP")) == NULL) || r;
3615   r = ((glImageTransformParameterivHP = (PFNGLIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterivHP")) == NULL) || r;
3616
3617   return r;
3618 }
3619
3620 #endif /* GL_HP_image_transform */
3621
3622 #ifdef GL_HP_occlusion_test
3623
3624 #endif /* GL_HP_occlusion_test */
3625
3626 #ifdef GL_HP_texture_lighting
3627
3628 #endif /* GL_HP_texture_lighting */
3629
3630 #ifdef GL_IBM_cull_vertex
3631
3632 #endif /* GL_IBM_cull_vertex */
3633
3634 #ifdef GL_IBM_multimode_draw_arrays
3635
3636 static GLboolean _glewInit_GL_IBM_multimode_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
3637 {
3638   GLboolean r = GL_FALSE;
3639
3640   r = ((glMultiModeDrawArraysIBM = (PFNGLMULTIMODEDRAWARRAYSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawArraysIBM")) == NULL) || r;
3641   r = ((glMultiModeDrawElementsIBM = (PFNGLMULTIMODEDRAWELEMENTSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawElementsIBM")) == NULL) || r;
3642
3643   return r;
3644 }
3645
3646 #endif /* GL_IBM_multimode_draw_arrays */
3647
3648 #ifdef GL_IBM_rasterpos_clip
3649
3650 #endif /* GL_IBM_rasterpos_clip */
3651
3652 #ifdef GL_IBM_static_data
3653
3654 #endif /* GL_IBM_static_data */
3655
3656 #ifdef GL_IBM_texture_mirrored_repeat
3657
3658 #endif /* GL_IBM_texture_mirrored_repeat */
3659
3660 #ifdef GL_IBM_vertex_array_lists
3661
3662 static GLboolean _glewInit_GL_IBM_vertex_array_lists (GLEW_CONTEXT_ARG_DEF_INIT)
3663 {
3664   GLboolean r = GL_FALSE;
3665
3666   r = ((glColorPointerListIBM = (PFNGLCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glColorPointerListIBM")) == NULL) || r;
3667   r = ((glEdgeFlagPointerListIBM = (PFNGLEDGEFLAGPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerListIBM")) == NULL) || r;
3668   r = ((glFogCoordPointerListIBM = (PFNGLFOGCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerListIBM")) == NULL) || r;
3669   r = ((glIndexPointerListIBM = (PFNGLINDEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerListIBM")) == NULL) || r;
3670   r = ((glNormalPointerListIBM = (PFNGLNORMALPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerListIBM")) == NULL) || r;
3671   r = ((glSecondaryColorPointerListIBM = (PFNGLSECONDARYCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerListIBM")) == NULL) || r;
3672   r = ((glTexCoordPointerListIBM = (PFNGLTEXCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerListIBM")) == NULL) || r;
3673   r = ((glVertexPointerListIBM = (PFNGLVERTEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerListIBM")) == NULL) || r;
3674
3675   return r;
3676 }
3677