/[pcsx2_0.9.7]/trunk/3rdparty/glew/glew.c
ViewVC logotype

Diff of /trunk/3rdparty/glew/glew.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 61 by william, Tue Sep 7 03:24:11 2010 UTC revision 62 by william, Tue Sep 7 11:08:22 2010 UTC
# Line 4  Line 4 
4  ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>  ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
5  ** Copyright (C) 2002, Lev Povalahev  ** Copyright (C) 2002, Lev Povalahev
6  ** All rights reserved.  ** All rights reserved.
7  **  **
8  ** Redistribution and use in source and binary forms, with or without  ** Redistribution and use in source and binary forms, with or without
9  ** modification, are permitted provided that the following conditions are met:  ** modification, are permitted provided that the following conditions are met:
10  **  **
11  ** * Redistributions of source code must retain the above copyright notice,  ** * Redistributions of source code must retain the above copyright notice,
12  **   this list of conditions and the following disclaimer.  **   this list of conditions and the following disclaimer.
13  ** * Redistributions in binary form must reproduce the above copyright notice,  ** * Redistributions in binary form must reproduce the above copyright notice,
14  **   this list of conditions and the following disclaimer in the documentation  **   this list of conditions and the following disclaimer in the documentation
15  **   and/or other materials provided with the distribution.  **   and/or other materials provided with the distribution.
16  ** * The name of the author may be used to endorse or promote products  ** * The name of the author may be used to endorse or promote products
17  **   derived from this software without specific prior written permission.  **   derived from this software without specific prior written permission.
18  **  **
19  ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"  ** 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  ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21  ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE  ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22  ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE  ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23  ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR  ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24  ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF  ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25  ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS  ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26  ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN  ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27  ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)  ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# Line 66  Line 66 
66  #endif /* GLEW_MX */  #endif /* GLEW_MX */
67    
68  #if defined(__APPLE__)  #if defined(__APPLE__)
 #include <mach-o/dyld.h>  
69  #include <stdlib.h>  #include <stdlib.h>
70  #include <string.h>  #include <string.h>
71    #include <AvailabilityMacros.h>
72    
73    #ifdef MAC_OS_X_VERSION_10_3
74    
75    #include <dlfcn.h>
76    
77    void* NSGLGetProcAddress (const GLubyte *name)
78    {
79      static void* image = NULL;
80      if (NULL == image)
81      {
82        image = dlopen("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", RTLD_LAZY);
83      }
84      return image ? dlsym(image, (const char*)name) : NULL;
85    }
86    #else
87    
88    #include <mach-o/dyld.h>
89    
90  void* NSGLGetProcAddress (const GLubyte *name)  void* NSGLGetProcAddress (const GLubyte *name)
91  {  {
# Line 90  void* NSGLGetProcAddress (const GLubyte Line 107  void* NSGLGetProcAddress (const GLubyte
107    free(symbolName);    free(symbolName);
108    return symbol ? NSAddressOfSymbol(symbol) : NULL;    return symbol ? NSAddressOfSymbol(symbol) : NULL;
109  }  }
110    #endif /* MAC_OS_X_VERSION_10_3 */
111  #endif /* __APPLE__ */  #endif /* __APPLE__ */
112    
113  #if defined(__sgi) || defined (__sun)  #if defined(__sgi) || defined (__sun)
# Line 444  PFNGLUNIFORMMATRIX4X3FVPROC __glewUnifor Line 462  PFNGLUNIFORMMATRIX4X3FVPROC __glewUnifor
462    
463  PFNGLBEGINCONDITIONALRENDERPROC __glewBeginConditionalRender = NULL;  PFNGLBEGINCONDITIONALRENDERPROC __glewBeginConditionalRender = NULL;
464  PFNGLBEGINTRANSFORMFEEDBACKPROC __glewBeginTransformFeedback = NULL;  PFNGLBEGINTRANSFORMFEEDBACKPROC __glewBeginTransformFeedback = NULL;
 PFNGLBINDBUFFERBASEPROC __glewBindBufferBase = NULL;  
 PFNGLBINDBUFFERRANGEPROC __glewBindBufferRange = NULL;  
465  PFNGLBINDFRAGDATALOCATIONPROC __glewBindFragDataLocation = NULL;  PFNGLBINDFRAGDATALOCATIONPROC __glewBindFragDataLocation = NULL;
466  PFNGLCLAMPCOLORPROC __glewClampColor = NULL;  PFNGLCLAMPCOLORPROC __glewClampColor = NULL;
467  PFNGLCLEARBUFFERFIPROC __glewClearBufferfi = NULL;  PFNGLCLEARBUFFERFIPROC __glewClearBufferfi = NULL;
# Line 459  PFNGLENDCONDITIONALRENDERPROC __glewEndC Line 475  PFNGLENDCONDITIONALRENDERPROC __glewEndC
475  PFNGLENDTRANSFORMFEEDBACKPROC __glewEndTransformFeedback = NULL;  PFNGLENDTRANSFORMFEEDBACKPROC __glewEndTransformFeedback = NULL;
476  PFNGLGETBOOLEANI_VPROC __glewGetBooleani_v = NULL;  PFNGLGETBOOLEANI_VPROC __glewGetBooleani_v = NULL;
477  PFNGLGETFRAGDATALOCATIONPROC __glewGetFragDataLocation = NULL;  PFNGLGETFRAGDATALOCATIONPROC __glewGetFragDataLocation = NULL;
 PFNGLGETINTEGERI_VPROC __glewGetIntegeri_v = NULL;  
478  PFNGLGETSTRINGIPROC __glewGetStringi = NULL;  PFNGLGETSTRINGIPROC __glewGetStringi = NULL;
479  PFNGLGETTEXPARAMETERIIVPROC __glewGetTexParameterIiv = NULL;  PFNGLGETTEXPARAMETERIIVPROC __glewGetTexParameterIiv = NULL;
480  PFNGLGETTEXPARAMETERIUIVPROC __glewGetTexParameterIuiv = NULL;  PFNGLGETTEXPARAMETERIUIVPROC __glewGetTexParameterIuiv = NULL;
# Line 501  PFNGLVERTEXATTRIBI4UIVPROC __glewVertexA Line 516  PFNGLVERTEXATTRIBI4UIVPROC __glewVertexA
516  PFNGLVERTEXATTRIBI4USVPROC __glewVertexAttribI4usv = NULL;  PFNGLVERTEXATTRIBI4USVPROC __glewVertexAttribI4usv = NULL;
517  PFNGLVERTEXATTRIBIPOINTERPROC __glewVertexAttribIPointer = NULL;  PFNGLVERTEXATTRIBIPOINTERPROC __glewVertexAttribIPointer = NULL;
518    
519    PFNGLDRAWARRAYSINSTANCEDPROC __glewDrawArraysInstanced = NULL;
520    PFNGLDRAWELEMENTSINSTANCEDPROC __glewDrawElementsInstanced = NULL;
521    PFNGLPRIMITIVERESTARTINDEXPROC __glewPrimitiveRestartIndex = NULL;
522    PFNGLTEXBUFFERPROC __glewTexBuffer = NULL;
523    
524    PFNGLFRAMEBUFFERTEXTUREPROC __glewFramebufferTexture = NULL;
525    PFNGLGETBUFFERPARAMETERI64VPROC __glewGetBufferParameteri64v = NULL;
526    PFNGLGETINTEGER64I_VPROC __glewGetInteger64i_v = NULL;
527    
528    PFNGLBLENDEQUATIONSEPARATEIPROC __glewBlendEquationSeparatei = NULL;
529    PFNGLBLENDEQUATIONIPROC __glewBlendEquationi = NULL;
530    PFNGLBLENDFUNCSEPARATEIPROC __glewBlendFuncSeparatei = NULL;
531    PFNGLBLENDFUNCIPROC __glewBlendFunci = NULL;
532    PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading = NULL;
533    
534  PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL;  PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL;
535    
536    PFNGLBLENDEQUATIONINDEXEDAMDPROC __glewBlendEquationIndexedAMD = NULL;
537    PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC __glewBlendEquationSeparateIndexedAMD = NULL;
538    PFNGLBLENDFUNCINDEXEDAMDPROC __glewBlendFuncIndexedAMD = NULL;
539    PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC __glewBlendFuncSeparateIndexedAMD = NULL;
540    
541    PFNGLBEGINPERFMONITORAMDPROC __glewBeginPerfMonitorAMD = NULL;
542    PFNGLDELETEPERFMONITORSAMDPROC __glewDeletePerfMonitorsAMD = NULL;
543    PFNGLENDPERFMONITORAMDPROC __glewEndPerfMonitorAMD = NULL;
544    PFNGLGENPERFMONITORSAMDPROC __glewGenPerfMonitorsAMD = NULL;
545    PFNGLGETPERFMONITORCOUNTERDATAAMDPROC __glewGetPerfMonitorCounterDataAMD = NULL;
546    PFNGLGETPERFMONITORCOUNTERINFOAMDPROC __glewGetPerfMonitorCounterInfoAMD = NULL;
547    PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC __glewGetPerfMonitorCounterStringAMD = NULL;
548    PFNGLGETPERFMONITORCOUNTERSAMDPROC __glewGetPerfMonitorCountersAMD = NULL;
549    PFNGLGETPERFMONITORGROUPSTRINGAMDPROC __glewGetPerfMonitorGroupStringAMD = NULL;
550    PFNGLGETPERFMONITORGROUPSAMDPROC __glewGetPerfMonitorGroupsAMD = NULL;
551    PFNGLSELECTPERFMONITORCOUNTERSAMDPROC __glewSelectPerfMonitorCountersAMD = NULL;
552    
553    PFNGLTESSELLATIONFACTORAMDPROC __glewTessellationFactorAMD = NULL;
554    PFNGLTESSELLATIONMODEAMDPROC __glewTessellationModeAMD = NULL;
555    
556  PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE = NULL;  PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE = NULL;
557  PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE = NULL;  PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE = NULL;
558  PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE = NULL;  PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE = NULL;
# Line 521  PFNGLTESTOBJECTAPPLEPROC __glewTestObjec Line 571  PFNGLTESTOBJECTAPPLEPROC __glewTestObjec
571  PFNGLBUFFERPARAMETERIAPPLEPROC __glewBufferParameteriAPPLE = NULL;  PFNGLBUFFERPARAMETERIAPPLEPROC __glewBufferParameteriAPPLE = NULL;
572  PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC __glewFlushMappedBufferRangeAPPLE = NULL;  PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC __glewFlushMappedBufferRangeAPPLE = NULL;
573    
574    PFNGLGETOBJECTPARAMETERIVAPPLEPROC __glewGetObjectParameterivAPPLE = NULL;
575    PFNGLOBJECTPURGEABLEAPPLEPROC __glewObjectPurgeableAPPLE = NULL;
576    PFNGLOBJECTUNPURGEABLEAPPLEPROC __glewObjectUnpurgeableAPPLE = NULL;
577    
578  PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE = NULL;  PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE = NULL;
579  PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE = NULL;  PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE = NULL;
580    
# Line 533  PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __gl Line 587  PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __gl
587  PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE = NULL;  PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE = NULL;
588  PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE = NULL;  PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE = NULL;
589    
590    PFNGLDISABLEVERTEXATTRIBAPPLEPROC __glewDisableVertexAttribAPPLE = NULL;
591    PFNGLENABLEVERTEXATTRIBAPPLEPROC __glewEnableVertexAttribAPPLE = NULL;
592    PFNGLISVERTEXATTRIBENABLEDAPPLEPROC __glewIsVertexAttribEnabledAPPLE = NULL;
593    PFNGLMAPVERTEXATTRIB1DAPPLEPROC __glewMapVertexAttrib1dAPPLE = NULL;
594    PFNGLMAPVERTEXATTRIB1FAPPLEPROC __glewMapVertexAttrib1fAPPLE = NULL;
595    PFNGLMAPVERTEXATTRIB2DAPPLEPROC __glewMapVertexAttrib2dAPPLE = NULL;
596    PFNGLMAPVERTEXATTRIB2FAPPLEPROC __glewMapVertexAttrib2fAPPLE = NULL;
597    
598    PFNGLBINDFRAGDATALOCATIONINDEXEDPROC __glewBindFragDataLocationIndexed = NULL;
599    PFNGLGETFRAGDATAINDEXPROC __glewGetFragDataIndex = NULL;
600    
601  PFNGLCLAMPCOLORARBPROC __glewClampColorARB = NULL;  PFNGLCLAMPCOLORARBPROC __glewClampColorARB = NULL;
602    
603    PFNGLCOPYBUFFERSUBDATAPROC __glewCopyBufferSubData = NULL;
604    
605  PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB = NULL;  PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB = NULL;
606    
607    PFNGLBLENDEQUATIONSEPARATEIARBPROC __glewBlendEquationSeparateiARB = NULL;
608    PFNGLBLENDEQUATIONIARBPROC __glewBlendEquationiARB = NULL;
609    PFNGLBLENDFUNCSEPARATEIARBPROC __glewBlendFuncSeparateiARB = NULL;
610    PFNGLBLENDFUNCIARBPROC __glewBlendFunciARB = NULL;
611    
612    PFNGLDRAWELEMENTSBASEVERTEXPROC __glewDrawElementsBaseVertex = NULL;
613    PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC __glewDrawElementsInstancedBaseVertex = NULL;
614    PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC __glewDrawRangeElementsBaseVertex = NULL;
615    PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC __glewMultiDrawElementsBaseVertex = NULL;
616    
617    PFNGLDRAWARRAYSINDIRECTPROC __glewDrawArraysIndirect = NULL;
618    PFNGLDRAWELEMENTSINDIRECTPROC __glewDrawElementsIndirect = NULL;
619    
620  PFNGLDRAWARRAYSINSTANCEDARBPROC __glewDrawArraysInstancedARB = NULL;  PFNGLDRAWARRAYSINSTANCEDARBPROC __glewDrawArraysInstancedARB = NULL;
621  PFNGLDRAWELEMENTSINSTANCEDARBPROC __glewDrawElementsInstancedARB = NULL;  PFNGLDRAWELEMENTSINSTANCEDARBPROC __glewDrawElementsInstancedARB = NULL;
622    
# Line 547  PFNGLCHECKFRAMEBUFFERSTATUSPROC __glewCh Line 627  PFNGLCHECKFRAMEBUFFERSTATUSPROC __glewCh
627  PFNGLDELETEFRAMEBUFFERSPROC __glewDeleteFramebuffers = NULL;  PFNGLDELETEFRAMEBUFFERSPROC __glewDeleteFramebuffers = NULL;
628  PFNGLDELETERENDERBUFFERSPROC __glewDeleteRenderbuffers = NULL;  PFNGLDELETERENDERBUFFERSPROC __glewDeleteRenderbuffers = NULL;
629  PFNGLFRAMEBUFFERRENDERBUFFERPROC __glewFramebufferRenderbuffer = NULL;  PFNGLFRAMEBUFFERRENDERBUFFERPROC __glewFramebufferRenderbuffer = NULL;
 PFNGLFRAMEBUFFERTEXTURLAYERPROC __glewFramebufferTexturLayer = NULL;  
630  PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D = NULL;  PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D = NULL;
631  PFNGLFRAMEBUFFERTEXTURE2DPROC __glewFramebufferTexture2D = NULL;  PFNGLFRAMEBUFFERTEXTURE2DPROC __glewFramebufferTexture2D = NULL;
632  PFNGLFRAMEBUFFERTEXTURE3DPROC __glewFramebufferTexture3D = NULL;  PFNGLFRAMEBUFFERTEXTURE3DPROC __glewFramebufferTexture3D = NULL;
633    PFNGLFRAMEBUFFERTEXTURELAYERPROC __glewFramebufferTextureLayer = NULL;
634  PFNGLGENFRAMEBUFFERSPROC __glewGenFramebuffers = NULL;  PFNGLGENFRAMEBUFFERSPROC __glewGenFramebuffers = NULL;
635  PFNGLGENRENDERBUFFERSPROC __glewGenRenderbuffers = NULL;  PFNGLGENRENDERBUFFERSPROC __glewGenRenderbuffers = NULL;
636  PFNGLGENERATEMIPMAPPROC __glewGenerateMipmap = NULL;  PFNGLGENERATEMIPMAPPROC __glewGenerateMipmap = NULL;
# Line 659  PFNGLISQUERYARBPROC __glewIsQueryARB = N Line 739  PFNGLISQUERYARBPROC __glewIsQueryARB = N
739  PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB = NULL;  PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB = NULL;
740  PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB = NULL;  PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB = NULL;
741    
742    PFNGLPROVOKINGVERTEXPROC __glewProvokingVertex = NULL;
743    
744    PFNGLMINSAMPLESHADINGARBPROC __glewMinSampleShadingARB = NULL;
745    
746    PFNGLBINDSAMPLERPROC __glewBindSampler = NULL;
747    PFNGLDELETESAMPLERSPROC __glewDeleteSamplers = NULL;
748    PFNGLGENSAMPLERSPROC __glewGenSamplers = NULL;
749    PFNGLGETSAMPLERPARAMETERIIVPROC __glewGetSamplerParameterIiv = NULL;
750    PFNGLGETSAMPLERPARAMETERIUIVPROC __glewGetSamplerParameterIuiv = NULL;
751    PFNGLGETSAMPLERPARAMETERFVPROC __glewGetSamplerParameterfv = NULL;
752    PFNGLGETSAMPLERPARAMETERIVPROC __glewGetSamplerParameteriv = NULL;
753    PFNGLISSAMPLERPROC __glewIsSampler = NULL;
754    PFNGLSAMPLERPARAMETERIIVPROC __glewSamplerParameterIiv = NULL;
755    PFNGLSAMPLERPARAMETERIUIVPROC __glewSamplerParameterIuiv = NULL;
756    PFNGLSAMPLERPARAMETERFPROC __glewSamplerParameterf = NULL;
757    PFNGLSAMPLERPARAMETERFVPROC __glewSamplerParameterfv = NULL;
758    PFNGLSAMPLERPARAMETERIPROC __glewSamplerParameteri = NULL;
759    PFNGLSAMPLERPARAMETERIVPROC __glewSamplerParameteriv = NULL;
760    
761  PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB = NULL;  PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB = NULL;
762  PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB = NULL;  PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB = NULL;
763  PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB = NULL;  PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB = NULL;
# Line 699  PFNGLUNIFORMMATRIX4FVARBPROC __glewUnifo Line 798  PFNGLUNIFORMMATRIX4FVARBPROC __glewUnifo
798  PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB = NULL;  PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB = NULL;
799  PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB = NULL;  PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB = NULL;
800    
801    PFNGLGETACTIVESUBROUTINENAMEPROC __glewGetActiveSubroutineName = NULL;
802    PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC __glewGetActiveSubroutineUniformName = NULL;
803    PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC __glewGetActiveSubroutineUniformiv = NULL;
804    PFNGLGETPROGRAMSTAGEIVPROC __glewGetProgramStageiv = NULL;
805    PFNGLGETSUBROUTINEINDEXPROC __glewGetSubroutineIndex = NULL;
806    PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC __glewGetSubroutineUniformLocation = NULL;
807    PFNGLGETUNIFORMSUBROUTINEUIVPROC __glewGetUniformSubroutineuiv = NULL;
808    PFNGLUNIFORMSUBROUTINESUIVPROC __glewUniformSubroutinesuiv = NULL;
809    
810    PFNGLCOMPILESHADERINCLUDEARBPROC __glewCompileShaderIncludeARB = NULL;
811    PFNGLDELETENAMEDSTRINGARBPROC __glewDeleteNamedStringARB = NULL;
812    PFNGLGETNAMEDSTRINGARBPROC __glewGetNamedStringARB = NULL;
813    PFNGLGETNAMEDSTRINGIVARBPROC __glewGetNamedStringivARB = NULL;
814    PFNGLISNAMEDSTRINGARBPROC __glewIsNamedStringARB = NULL;
815    PFNGLNAMEDSTRINGARBPROC __glewNamedStringARB = NULL;
816    
817    PFNGLCLIENTWAITSYNCPROC __glewClientWaitSync = NULL;
818    PFNGLDELETESYNCPROC __glewDeleteSync = NULL;
819    PFNGLFENCESYNCPROC __glewFenceSync = NULL;
820    PFNGLGETINTEGER64VPROC __glewGetInteger64v = NULL;
821    PFNGLGETSYNCIVPROC __glewGetSynciv = NULL;
822    PFNGLISSYNCPROC __glewIsSync = NULL;
823    PFNGLWAITSYNCPROC __glewWaitSync = NULL;
824    
825    PFNGLPATCHPARAMETERFVPROC __glewPatchParameterfv = NULL;
826    PFNGLPATCHPARAMETERIPROC __glewPatchParameteri = NULL;
827    
828  PFNGLTEXBUFFERARBPROC __glewTexBufferARB = NULL;  PFNGLTEXBUFFERARBPROC __glewTexBufferARB = NULL;
829    
830  PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB = NULL;  PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB = NULL;
# Line 709  PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __gl Line 835  PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __gl
835  PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB = NULL;  PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB = NULL;
836  PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB = NULL;  PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB = NULL;
837    
838    PFNGLGETMULTISAMPLEFVPROC __glewGetMultisamplefv = NULL;
839    PFNGLSAMPLEMASKIPROC __glewSampleMaski = NULL;
840    PFNGLTEXIMAGE2DMULTISAMPLEPROC __glewTexImage2DMultisample = NULL;
841    PFNGLTEXIMAGE3DMULTISAMPLEPROC __glewTexImage3DMultisample = NULL;
842    
843    PFNGLGETQUERYOBJECTI64VPROC __glewGetQueryObjecti64v = NULL;
844    PFNGLGETQUERYOBJECTUI64VPROC __glewGetQueryObjectui64v = NULL;
845    PFNGLQUERYCOUNTERPROC __glewQueryCounter = NULL;
846    
847    PFNGLBINDTRANSFORMFEEDBACKPROC __glewBindTransformFeedback = NULL;
848    PFNGLDELETETRANSFORMFEEDBACKSPROC __glewDeleteTransformFeedbacks = NULL;
849    PFNGLDRAWTRANSFORMFEEDBACKPROC __glewDrawTransformFeedback = NULL;
850    PFNGLGENTRANSFORMFEEDBACKSPROC __glewGenTransformFeedbacks = NULL;
851    PFNGLISTRANSFORMFEEDBACKPROC __glewIsTransformFeedback = NULL;
852    PFNGLPAUSETRANSFORMFEEDBACKPROC __glewPauseTransformFeedback = NULL;
853    PFNGLRESUMETRANSFORMFEEDBACKPROC __glewResumeTransformFeedback = NULL;
854    
855    PFNGLBEGINQUERYINDEXEDPROC __glewBeginQueryIndexed = NULL;
856    PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC __glewDrawTransformFeedbackStream = NULL;
857    PFNGLENDQUERYINDEXEDPROC __glewEndQueryIndexed = NULL;
858    PFNGLGETQUERYINDEXEDIVPROC __glewGetQueryIndexediv = NULL;
859    
860  PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB = NULL;  PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB = NULL;
861  PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB = NULL;  PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB = NULL;
862  PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB = NULL;  PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB = NULL;
863  PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB = NULL;  PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB = NULL;
864    
865    PFNGLBINDBUFFERBASEPROC __glewBindBufferBase = NULL;
866    PFNGLBINDBUFFERRANGEPROC __glewBindBufferRange = NULL;
867    PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC __glewGetActiveUniformBlockName = NULL;
868    PFNGLGETACTIVEUNIFORMBLOCKIVPROC __glewGetActiveUniformBlockiv = NULL;
869    PFNGLGETACTIVEUNIFORMNAMEPROC __glewGetActiveUniformName = NULL;
870    PFNGLGETACTIVEUNIFORMSIVPROC __glewGetActiveUniformsiv = NULL;
871    PFNGLGETINTEGERI_VPROC __glewGetIntegeri_v = NULL;
872    PFNGLGETUNIFORMBLOCKINDEXPROC __glewGetUniformBlockIndex = NULL;
873    PFNGLGETUNIFORMINDICESPROC __glewGetUniformIndices = NULL;
874    PFNGLUNIFORMBLOCKBINDINGPROC __glewUniformBlockBinding = NULL;
875    
876  PFNGLBINDVERTEXARRAYPROC __glewBindVertexArray = NULL;  PFNGLBINDVERTEXARRAYPROC __glewBindVertexArray = NULL;
877  PFNGLDELETEVERTEXARRAYSPROC __glewDeleteVertexArrays = NULL;  PFNGLDELETEVERTEXARRAYSPROC __glewDeleteVertexArrays = NULL;
878  PFNGLGENVERTEXARRAYSPROC __glewGenVertexArrays = NULL;  PFNGLGENVERTEXARRAYSPROC __glewGenVertexArrays = NULL;
# Line 809  PFNGLBINDATTRIBLOCATIONARBPROC __glewBin Line 968  PFNGLBINDATTRIBLOCATIONARBPROC __glewBin
968  PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB = NULL;  PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB = NULL;
969  PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB = NULL;  PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB = NULL;
970    
971    PFNGLCOLORP3UIPROC __glewColorP3ui = NULL;
972    PFNGLCOLORP3UIVPROC __glewColorP3uiv = NULL;
973    PFNGLCOLORP4UIPROC __glewColorP4ui = NULL;
974    PFNGLCOLORP4UIVPROC __glewColorP4uiv = NULL;
975    PFNGLMULTITEXCOORDP1UIPROC __glewMultiTexCoordP1ui = NULL;
976    PFNGLMULTITEXCOORDP1UIVPROC __glewMultiTexCoordP1uiv = NULL;
977    PFNGLMULTITEXCOORDP2UIPROC __glewMultiTexCoordP2ui = NULL;
978    PFNGLMULTITEXCOORDP2UIVPROC __glewMultiTexCoordP2uiv = NULL;
979    PFNGLMULTITEXCOORDP3UIPROC __glewMultiTexCoordP3ui = NULL;
980    PFNGLMULTITEXCOORDP3UIVPROC __glewMultiTexCoordP3uiv = NULL;
981    PFNGLMULTITEXCOORDP4UIPROC __glewMultiTexCoordP4ui = NULL;
982    PFNGLMULTITEXCOORDP4UIVPROC __glewMultiTexCoordP4uiv = NULL;
983    PFNGLNORMALP3UIPROC __glewNormalP3ui = NULL;
984    PFNGLNORMALP3UIVPROC __glewNormalP3uiv = NULL;
985    PFNGLSECONDARYCOLORP3UIPROC __glewSecondaryColorP3ui = NULL;
986    PFNGLSECONDARYCOLORP3UIVPROC __glewSecondaryColorP3uiv = NULL;
987    PFNGLTEXCOORDP1UIPROC __glewTexCoordP1ui = NULL;
988    PFNGLTEXCOORDP1UIVPROC __glewTexCoordP1uiv = NULL;
989    PFNGLTEXCOORDP2UIPROC __glewTexCoordP2ui = NULL;
990    PFNGLTEXCOORDP2UIVPROC __glewTexCoordP2uiv = NULL;
991    PFNGLTEXCOORDP3UIPROC __glewTexCoordP3ui = NULL;
992    PFNGLTEXCOORDP3UIVPROC __glewTexCoordP3uiv = NULL;
993    PFNGLTEXCOORDP4UIPROC __glewTexCoordP4ui = NULL;
994    PFNGLTEXCOORDP4UIVPROC __glewTexCoordP4uiv = NULL;
995    PFNGLVERTEXATTRIBP1UIPROC __glewVertexAttribP1ui = NULL;
996    PFNGLVERTEXATTRIBP1UIVPROC __glewVertexAttribP1uiv = NULL;
997    PFNGLVERTEXATTRIBP2UIPROC __glewVertexAttribP2ui = NULL;
998    PFNGLVERTEXATTRIBP2UIVPROC __glewVertexAttribP2uiv = NULL;
999    PFNGLVERTEXATTRIBP3UIPROC __glewVertexAttribP3ui = NULL;
1000    PFNGLVERTEXATTRIBP3UIVPROC __glewVertexAttribP3uiv = NULL;
1001    PFNGLVERTEXATTRIBP4UIPROC __glewVertexAttribP4ui = NULL;
1002    PFNGLVERTEXATTRIBP4UIVPROC __glewVertexAttribP4uiv = NULL;
1003    PFNGLVERTEXP2UIPROC __glewVertexP2ui = NULL;
1004    PFNGLVERTEXP2UIVPROC __glewVertexP2uiv = NULL;
1005    PFNGLVERTEXP3UIPROC __glewVertexP3ui = NULL;
1006    PFNGLVERTEXP3UIVPROC __glewVertexP3uiv = NULL;
1007    PFNGLVERTEXP4UIPROC __glewVertexP4ui = NULL;
1008    PFNGLVERTEXP4UIVPROC __glewVertexP4uiv = NULL;
1009    
1010  PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB = NULL;  PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB = NULL;
1011  PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB = NULL;  PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB = NULL;
1012  PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB = NULL;  PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB = NULL;
# Line 988  PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC __glew Line 1186  PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC __glew
1186  PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC __glewCopyTextureSubImage2DEXT = NULL;  PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC __glewCopyTextureSubImage2DEXT = NULL;
1187  PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC __glewCopyTextureSubImage3DEXT = NULL;  PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC __glewCopyTextureSubImage3DEXT = NULL;
1188  PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC __glewDisableClientStateIndexedEXT = NULL;  PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC __glewDisableClientStateIndexedEXT = NULL;
1189    PFNGLDISABLECLIENTSTATEIEXTPROC __glewDisableClientStateiEXT = NULL;
1190    PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC __glewDisableVertexArrayAttribEXT = NULL;
1191    PFNGLDISABLEVERTEXARRAYEXTPROC __glewDisableVertexArrayEXT = NULL;
1192  PFNGLENABLECLIENTSTATEINDEXEDEXTPROC __glewEnableClientStateIndexedEXT = NULL;  PFNGLENABLECLIENTSTATEINDEXEDEXTPROC __glewEnableClientStateIndexedEXT = NULL;
1193    PFNGLENABLECLIENTSTATEIEXTPROC __glewEnableClientStateiEXT = NULL;
1194    PFNGLENABLEVERTEXARRAYATTRIBEXTPROC __glewEnableVertexArrayAttribEXT = NULL;
1195    PFNGLENABLEVERTEXARRAYEXTPROC __glewEnableVertexArrayEXT = NULL;
1196    PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC __glewFlushMappedNamedBufferRangeEXT = NULL;
1197  PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC __glewFramebufferDrawBufferEXT = NULL;  PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC __glewFramebufferDrawBufferEXT = NULL;
1198  PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC __glewFramebufferDrawBuffersEXT = NULL;  PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC __glewFramebufferDrawBuffersEXT = NULL;
1199  PFNGLFRAMEBUFFERREADBUFFEREXTPROC __glewFramebufferReadBufferEXT = NULL;  PFNGLFRAMEBUFFERREADBUFFEREXTPROC __glewFramebufferReadBufferEXT = NULL;
# Line 997  PFNGLGENERATETEXTUREMIPMAPEXTPROC __glew Line 1202  PFNGLGENERATETEXTUREMIPMAPEXTPROC __glew
1202  PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC __glewGetCompressedMultiTexImageEXT = NULL;  PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC __glewGetCompressedMultiTexImageEXT = NULL;
1203  PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC __glewGetCompressedTextureImageEXT = NULL;  PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC __glewGetCompressedTextureImageEXT = NULL;
1204  PFNGLGETDOUBLEINDEXEDVEXTPROC __glewGetDoubleIndexedvEXT = NULL;  PFNGLGETDOUBLEINDEXEDVEXTPROC __glewGetDoubleIndexedvEXT = NULL;
1205    PFNGLGETDOUBLEI_VEXTPROC __glewGetDoublei_vEXT = NULL;
1206  PFNGLGETFLOATINDEXEDVEXTPROC __glewGetFloatIndexedvEXT = NULL;  PFNGLGETFLOATINDEXEDVEXTPROC __glewGetFloatIndexedvEXT = NULL;
1207    PFNGLGETFLOATI_VEXTPROC __glewGetFloati_vEXT = NULL;
1208  PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC __glewGetFramebufferParameterivEXT = NULL;  PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC __glewGetFramebufferParameterivEXT = NULL;
1209  PFNGLGETMULTITEXENVFVEXTPROC __glewGetMultiTexEnvfvEXT = NULL;  PFNGLGETMULTITEXENVFVEXTPROC __glewGetMultiTexEnvfvEXT = NULL;
1210  PFNGLGETMULTITEXENVIVEXTPROC __glewGetMultiTexEnvivEXT = NULL;  PFNGLGETMULTITEXENVIVEXTPROC __glewGetMultiTexEnvivEXT = NULL;
# Line 1023  PFNGLGETNAMEDPROGRAMSTRINGEXTPROC __glew Line 1230  PFNGLGETNAMEDPROGRAMSTRINGEXTPROC __glew
1230  PFNGLGETNAMEDPROGRAMIVEXTPROC __glewGetNamedProgramivEXT = NULL;  PFNGLGETNAMEDPROGRAMIVEXTPROC __glewGetNamedProgramivEXT = NULL;
1231  PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC __glewGetNamedRenderbufferParameterivEXT = NULL;  PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC __glewGetNamedRenderbufferParameterivEXT = NULL;
1232  PFNGLGETPOINTERINDEXEDVEXTPROC __glewGetPointerIndexedvEXT = NULL;  PFNGLGETPOINTERINDEXEDVEXTPROC __glewGetPointerIndexedvEXT = NULL;
1233    PFNGLGETPOINTERI_VEXTPROC __glewGetPointeri_vEXT = NULL;
1234  PFNGLGETTEXTUREIMAGEEXTPROC __glewGetTextureImageEXT = NULL;  PFNGLGETTEXTUREIMAGEEXTPROC __glewGetTextureImageEXT = NULL;
1235  PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC __glewGetTextureLevelParameterfvEXT = NULL;  PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC __glewGetTextureLevelParameterfvEXT = NULL;
1236  PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC __glewGetTextureLevelParameterivEXT = NULL;  PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC __glewGetTextureLevelParameterivEXT = NULL;
# Line 1030  PFNGLGETTEXTUREPARAMETERIIVEXTPROC __gle Line 1238  PFNGLGETTEXTUREPARAMETERIIVEXTPROC __gle
1238  PFNGLGETTEXTUREPARAMETERIUIVEXTPROC __glewGetTextureParameterIuivEXT = NULL;  PFNGLGETTEXTUREPARAMETERIUIVEXTPROC __glewGetTextureParameterIuivEXT = NULL;
1239  PFNGLGETTEXTUREPARAMETERFVEXTPROC __glewGetTextureParameterfvEXT = NULL;  PFNGLGETTEXTUREPARAMETERFVEXTPROC __glewGetTextureParameterfvEXT = NULL;
1240  PFNGLGETTEXTUREPARAMETERIVEXTPROC __glewGetTextureParameterivEXT = NULL;  PFNGLGETTEXTUREPARAMETERIVEXTPROC __glewGetTextureParameterivEXT = NULL;
1241    PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC __glewGetVertexArrayIntegeri_vEXT = NULL;
1242    PFNGLGETVERTEXARRAYINTEGERVEXTPROC __glewGetVertexArrayIntegervEXT = NULL;
1243    PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC __glewGetVertexArrayPointeri_vEXT = NULL;
1244    PFNGLGETVERTEXARRAYPOINTERVEXTPROC __glewGetVertexArrayPointervEXT = NULL;
1245  PFNGLMAPNAMEDBUFFEREXTPROC __glewMapNamedBufferEXT = NULL;  PFNGLMAPNAMEDBUFFEREXTPROC __glewMapNamedBufferEXT = NULL;
1246    PFNGLMAPNAMEDBUFFERRANGEEXTPROC __glewMapNamedBufferRangeEXT = NULL;
1247  PFNGLMATRIXFRUSTUMEXTPROC __glewMatrixFrustumEXT = NULL;  PFNGLMATRIXFRUSTUMEXTPROC __glewMatrixFrustumEXT = NULL;
1248  PFNGLMATRIXLOADIDENTITYEXTPROC __glewMatrixLoadIdentityEXT = NULL;  PFNGLMATRIXLOADIDENTITYEXTPROC __glewMatrixLoadIdentityEXT = NULL;
1249  PFNGLMATRIXLOADTRANSPOSEDEXTPROC __glewMatrixLoadTransposedEXT = NULL;  PFNGLMATRIXLOADTRANSPOSEDEXTPROC __glewMatrixLoadTransposedEXT = NULL;
# Line 1077  PFNGLMULTITEXSUBIMAGE2DEXTPROC __glewMul Line 1290  PFNGLMULTITEXSUBIMAGE2DEXTPROC __glewMul
1290  PFNGLMULTITEXSUBIMAGE3DEXTPROC __glewMultiTexSubImage3DEXT = NULL;  PFNGLMULTITEXSUBIMAGE3DEXTPROC __glewMultiTexSubImage3DEXT = NULL;
1291  PFNGLNAMEDBUFFERDATAEXTPROC __glewNamedBufferDataEXT = NULL;  PFNGLNAMEDBUFFERDATAEXTPROC __glewNamedBufferDataEXT = NULL;
1292  PFNGLNAMEDBUFFERSUBDATAEXTPROC __glewNamedBufferSubDataEXT = NULL;  PFNGLNAMEDBUFFERSUBDATAEXTPROC __glewNamedBufferSubDataEXT = NULL;
1293    PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC __glewNamedCopyBufferSubDataEXT = NULL;
1294  PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC __glewNamedFramebufferRenderbufferEXT = NULL;  PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC __glewNamedFramebufferRenderbufferEXT = NULL;
1295  PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC __glewNamedFramebufferTexture1DEXT = NULL;  PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC __glewNamedFramebufferTexture1DEXT = NULL;
1296  PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC __glewNamedFramebufferTexture2DEXT = NULL;  PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC __glewNamedFramebufferTexture2DEXT = NULL;
# Line 1148  PFNGLTEXTURESUBIMAGE1DEXTPROC __glewText Line 1362  PFNGLTEXTURESUBIMAGE1DEXTPROC __glewText
1362  PFNGLTEXTURESUBIMAGE2DEXTPROC __glewTextureSubImage2DEXT = NULL;  PFNGLTEXTURESUBIMAGE2DEXTPROC __glewTextureSubImage2DEXT = NULL;
1363  PFNGLTEXTURESUBIMAGE3DEXTPROC __glewTextureSubImage3DEXT = NULL;  PFNGLTEXTURESUBIMAGE3DEXTPROC __glewTextureSubImage3DEXT = NULL;
1364  PFNGLUNMAPNAMEDBUFFEREXTPROC __glewUnmapNamedBufferEXT = NULL;  PFNGLUNMAPNAMEDBUFFEREXTPROC __glewUnmapNamedBufferEXT = NULL;
1365    PFNGLVERTEXARRAYCOLOROFFSETEXTPROC __glewVertexArrayColorOffsetEXT = NULL;
1366    PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC __glewVertexArrayEdgeFlagOffsetEXT = NULL;
1367    PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC __glewVertexArrayFogCoordOffsetEXT = NULL;
1368    PFNGLVERTEXARRAYINDEXOFFSETEXTPROC __glewVertexArrayIndexOffsetEXT = NULL;
1369    PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC __glewVertexArrayMultiTexCoordOffsetEXT = NULL;
1370    PFNGLVERTEXARRAYNORMALOFFSETEXTPROC __glewVertexArrayNormalOffsetEXT = NULL;
1371    PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC __glewVertexArraySecondaryColorOffsetEXT = NULL;
1372    PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC __glewVertexArrayTexCoordOffsetEXT = NULL;
1373    PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC __glewVertexArrayVertexAttribIOffsetEXT = NULL;
1374    PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC __glewVertexArrayVertexAttribOffsetEXT = NULL;
1375    PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC __glewVertexArrayVertexOffsetEXT = NULL;
1376    
1377  PFNGLCOLORMASKINDEXEDEXTPROC __glewColorMaskIndexedEXT = NULL;  PFNGLCOLORMASKINDEXEDEXTPROC __glewColorMaskIndexedEXT = NULL;
1378  PFNGLDISABLEINDEXEDEXTPROC __glewDisableIndexedEXT = NULL;  PFNGLDISABLEINDEXEDEXTPROC __glewDisableIndexedEXT = NULL;
# Line 1293  PFNGLPOINTPARAMETERFVEXTPROC __glewPoint Line 1518  PFNGLPOINTPARAMETERFVEXTPROC __glewPoint
1518    
1519  PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL;  PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL;
1520    
1521    PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT = NULL;
1522    
1523  PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT = NULL;  PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT = NULL;
1524  PFNGLENDSCENEEXTPROC __glewEndSceneEXT = NULL;  PFNGLENDSCENEEXTPROC __glewEndSceneEXT = NULL;
1525    
# Line 1314  PFNGLSECONDARYCOLOR3USEXTPROC __glewSeco Line 1541  PFNGLSECONDARYCOLOR3USEXTPROC __glewSeco
1541  PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT = NULL;  PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT = NULL;
1542  PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT = NULL;  PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT = NULL;
1543    
1544    PFNGLACTIVEPROGRAMEXTPROC __glewActiveProgramEXT = NULL;
1545    PFNGLCREATESHADERPROGRAMEXTPROC __glewCreateShaderProgramEXT = NULL;
1546    PFNGLUSESHADERPROGRAMEXTPROC __glewUseShaderProgramEXT = NULL;
1547    
1548    PFNGLBINDIMAGETEXTUREEXTPROC __glewBindImageTextureEXT = NULL;
1549    PFNGLMEMORYBARRIEREXTPROC __glewMemoryBarrierEXT = NULL;
1550    
1551  PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT = NULL;  PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT = NULL;
1552    
1553  PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT = NULL;  PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT = NULL;
# Line 1361  PFNGLNORMALPOINTEREXTPROC __glewNormalPo Line 1595  PFNGLNORMALPOINTEREXTPROC __glewNormalPo
1595  PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL;  PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL;
1596  PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT = NULL;  PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT = NULL;
1597    
1598    PFNGLGETVERTEXATTRIBLDVEXTPROC __glewGetVertexAttribLdvEXT = NULL;
1599    PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC __glewVertexArrayVertexAttribLOffsetEXT = NULL;
1600    PFNGLVERTEXATTRIBL1DEXTPROC __glewVertexAttribL1dEXT = NULL;
1601    PFNGLVERTEXATTRIBL1DVEXTPROC __glewVertexAttribL1dvEXT = NULL;
1602    PFNGLVERTEXATTRIBL2DEXTPROC __glewVertexAttribL2dEXT = NULL;
1603    PFNGLVERTEXATTRIBL2DVEXTPROC __glewVertexAttribL2dvEXT = NULL;
1604    PFNGLVERTEXATTRIBL3DEXTPROC __glewVertexAttribL3dEXT = NULL;
1605    PFNGLVERTEXATTRIBL3DVEXTPROC __glewVertexAttribL3dvEXT = NULL;
1606    PFNGLVERTEXATTRIBL4DEXTPROC __glewVertexAttribL4dEXT = NULL;
1607    PFNGLVERTEXATTRIBL4DVEXTPROC __glewVertexAttribL4dvEXT = NULL;
1608    PFNGLVERTEXATTRIBLPOINTEREXTPROC __glewVertexAttribLPointerEXT = NULL;
1609    
1610  PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT = NULL;  PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT = NULL;
1611  PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT = NULL;  PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT = NULL;
1612  PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT = NULL;  PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT = NULL;
# Line 1475  PFNGLWINDOWPOS4SVMESAPROC __glewWindowPo Line 1721  PFNGLWINDOWPOS4SVMESAPROC __glewWindowPo
1721  PFNGLBEGINCONDITIONALRENDERNVPROC __glewBeginConditionalRenderNV = NULL;  PFNGLBEGINCONDITIONALRENDERNVPROC __glewBeginConditionalRenderNV = NULL;
1722  PFNGLENDCONDITIONALRENDERNVPROC __glewEndConditionalRenderNV = NULL;  PFNGLENDCONDITIONALRENDERNVPROC __glewEndConditionalRenderNV = NULL;
1723    
1724    PFNGLCOPYIMAGESUBDATANVPROC __glewCopyImageSubDataNV = NULL;
1725    
1726  PFNGLCLEARDEPTHDNVPROC __glewClearDepthdNV = NULL;  PFNGLCLEARDEPTHDNVPROC __glewClearDepthdNV = NULL;
1727  PFNGLDEPTHBOUNDSDNVPROC __glewDepthBoundsdNV = NULL;  PFNGLDEPTHBOUNDSDNVPROC __glewDepthBoundsdNV = NULL;
1728  PFNGLDEPTHRANGEDNVPROC __glewDepthRangedNV = NULL;  PFNGLDEPTHRANGEDNVPROC __glewDepthRangedNV = NULL;
# Line 1525  PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC __ Line 1773  PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC __
1773  PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC __glewProgramLocalParametersI4ivNV = NULL;  PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC __glewProgramLocalParametersI4ivNV = NULL;
1774  PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC __glewProgramLocalParametersI4uivNV = NULL;  PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC __glewProgramLocalParametersI4uivNV = NULL;
1775    
1776    PFNGLGETUNIFORMI64VNVPROC __glewGetUniformi64vNV = NULL;
1777    PFNGLGETUNIFORMUI64VNVPROC __glewGetUniformui64vNV = NULL;
1778    PFNGLPROGRAMUNIFORM1I64NVPROC __glewProgramUniform1i64NV = NULL;
1779    PFNGLPROGRAMUNIFORM1I64VNVPROC __glewProgramUniform1i64vNV = NULL;
1780    PFNGLPROGRAMUNIFORM1UI64NVPROC __glewProgramUniform1ui64NV = NULL;
1781    PFNGLPROGRAMUNIFORM1UI64VNVPROC __glewProgramUniform1ui64vNV = NULL;
1782    PFNGLPROGRAMUNIFORM2I64NVPROC __glewProgramUniform2i64NV = NULL;
1783    PFNGLPROGRAMUNIFORM2I64VNVPROC __glewProgramUniform2i64vNV = NULL;
1784    PFNGLPROGRAMUNIFORM2UI64NVPROC __glewProgramUniform2ui64NV = NULL;
1785    PFNGLPROGRAMUNIFORM2UI64VNVPROC __glewProgramUniform2ui64vNV = NULL;
1786    PFNGLPROGRAMUNIFORM3I64NVPROC __glewProgramUniform3i64NV = NULL;
1787    PFNGLPROGRAMUNIFORM3I64VNVPROC __glewProgramUniform3i64vNV = NULL;
1788    PFNGLPROGRAMUNIFORM3UI64NVPROC __glewProgramUniform3ui64NV = NULL;
1789    PFNGLPROGRAMUNIFORM3UI64VNVPROC __glewProgramUniform3ui64vNV = NULL;
1790    PFNGLPROGRAMUNIFORM4I64NVPROC __glewProgramUniform4i64NV = NULL;
1791    PFNGLPROGRAMUNIFORM4I64VNVPROC __glewProgramUniform4i64vNV = NULL;
1792    PFNGLPROGRAMUNIFORM4UI64NVPROC __glewProgramUniform4ui64NV = NULL;
1793    PFNGLPROGRAMUNIFORM4UI64VNVPROC __glewProgramUniform4ui64vNV = NULL;
1794    PFNGLUNIFORM1I64NVPROC __glewUniform1i64NV = NULL;
1795    PFNGLUNIFORM1I64VNVPROC __glewUniform1i64vNV = NULL;
1796    PFNGLUNIFORM1UI64NVPROC __glewUniform1ui64NV = NULL;
1797    PFNGLUNIFORM1UI64VNVPROC __glewUniform1ui64vNV = NULL;
1798    PFNGLUNIFORM2I64NVPROC __glewUniform2i64NV = NULL;
1799    PFNGLUNIFORM2I64VNVPROC __glewUniform2i64vNV = NULL;
1800    PFNGLUNIFORM2UI64NVPROC __glewUniform2ui64NV = NULL;
1801    PFNGLUNIFORM2UI64VNVPROC __glewUniform2ui64vNV = NULL;
1802    PFNGLUNIFORM3I64NVPROC __glewUniform3i64NV = NULL;
1803    PFNGLUNIFORM3I64VNVPROC __glewUniform3i64vNV = NULL;
1804    PFNGLUNIFORM3UI64NVPROC __glewUniform3ui64NV = NULL;
1805    PFNGLUNIFORM3UI64VNVPROC __glewUniform3ui64vNV = NULL;
1806    PFNGLUNIFORM4I64NVPROC __glewUniform4i64NV = NULL;
1807    PFNGLUNIFORM4I64VNVPROC __glewUniform4i64vNV = NULL;
1808    PFNGLUNIFORM4UI64NVPROC __glewUniform4ui64NV = NULL;
1809    PFNGLUNIFORM4UI64VNVPROC __glewUniform4ui64vNV = NULL;
1810    
1811  PFNGLCOLOR3HNVPROC __glewColor3hNV = NULL;  PFNGLCOLOR3HNVPROC __glewColor3hNV = NULL;
1812  PFNGLCOLOR3HVNVPROC __glewColor3hvNV = NULL;  PFNGLCOLOR3HVNVPROC __glewColor3hvNV = NULL;
1813  PFNGLCOLOR4HNVPROC __glewColor4hNV = NULL;  PFNGLCOLOR4HNVPROC __glewColor4hNV = NULL;
# Line 1596  PFNGLGETVIDEOUI64VNVPROC __glewGetVideou Line 1879  PFNGLGETVIDEOUI64VNVPROC __glewGetVideou
1879  PFNGLGETVIDEOUIVNVPROC __glewGetVideouivNV = NULL;  PFNGLGETVIDEOUIVNVPROC __glewGetVideouivNV = NULL;
1880  PFNGLPRESENTFRAMEDUALFILLNVPROC __glewPresentFrameDualFillNV = NULL;  PFNGLPRESENTFRAMEDUALFILLNVPROC __glewPresentFrameDualFillNV = NULL;
1881  PFNGLPRESENTFRAMEKEYEDNVPROC __glewPresentFrameKeyedNV = NULL;  PFNGLPRESENTFRAMEKEYEDNVPROC __glewPresentFrameKeyedNV = NULL;
 PFNGLVIDEOPARAMETERIVNVPROC __glewVideoParameterivNV = NULL;  
1882    
1883  PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV = NULL;  PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV = NULL;
1884  PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV = NULL;  PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV = NULL;
# Line 1618  PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVP Line 1900  PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVP
1900  PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV = NULL;  PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV = NULL;
1901  PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV = NULL;  PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV = NULL;
1902    
1903    PFNGLGETBUFFERPARAMETERUI64VNVPROC __glewGetBufferParameterui64vNV = NULL;
1904    PFNGLGETINTEGERUI64VNVPROC __glewGetIntegerui64vNV = NULL;
1905    PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC __glewGetNamedBufferParameterui64vNV = NULL;
1906    PFNGLISBUFFERRESIDENTNVPROC __glewIsBufferResidentNV = NULL;
1907    PFNGLISNAMEDBUFFERRESIDENTNVPROC __glewIsNamedBufferResidentNV = NULL;
1908    PFNGLMAKEBUFFERNONRESIDENTNVPROC __glewMakeBufferNonResidentNV = NULL;
1909    PFNGLMAKEBUFFERRESIDENTNVPROC __glewMakeBufferResidentNV = NULL;
1910    PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC __glewMakeNamedBufferNonResidentNV = NULL;
1911    PFNGLMAKENAMEDBUFFERRESIDENTNVPROC __glewMakeNamedBufferResidentNV = NULL;
1912    PFNGLPROGRAMUNIFORMUI64NVPROC __glewProgramUniformui64NV = NULL;
1913    PFNGLPROGRAMUNIFORMUI64VNVPROC __glewProgramUniformui64vNV = NULL;
1914    PFNGLUNIFORMUI64NVPROC __glewUniformui64NV = NULL;
1915    PFNGLUNIFORMUI64VNVPROC __glewUniformui64vNV = NULL;
1916    
1917    PFNGLTEXTUREBARRIERNVPROC __glewTextureBarrierNV = NULL;
1918    
1919  PFNGLACTIVEVARYINGNVPROC __glewActiveVaryingNV = NULL;  PFNGLACTIVEVARYINGNVPROC __glewActiveVaryingNV = NULL;
1920  PFNGLBEGINTRANSFORMFEEDBACKNVPROC __glewBeginTransformFeedbackNV = NULL;  PFNGLBEGINTRANSFORMFEEDBACKNVPROC __glewBeginTransformFeedbackNV = NULL;
1921  PFNGLBINDBUFFERBASENVPROC __glewBindBufferBaseNV = NULL;  PFNGLBINDBUFFERBASENVPROC __glewBindBufferBaseNV = NULL;
# Line 1630  PFNGLGETVARYINGLOCATIONNVPROC __glewGetV Line 1928  PFNGLGETVARYINGLOCATIONNVPROC __glewGetV
1928  PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC __glewTransformFeedbackAttribsNV = NULL;  PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC __glewTransformFeedbackAttribsNV = NULL;
1929  PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC __glewTransformFeedbackVaryingsNV = NULL;  PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC __glewTransformFeedbackVaryingsNV = NULL;
1930    
1931    PFNGLBINDTRANSFORMFEEDBACKNVPROC __glewBindTransformFeedbackNV = NULL;
1932    PFNGLDELETETRANSFORMFEEDBACKSNVPROC __glewDeleteTransformFeedbacksNV = NULL;
1933    PFNGLDRAWTRANSFORMFEEDBACKNVPROC __glewDrawTransformFeedbackNV = NULL;
1934    PFNGLGENTRANSFORMFEEDBACKSNVPROC __glewGenTransformFeedbacksNV = NULL;
1935    PFNGLISTRANSFORMFEEDBACKNVPROC __glewIsTransformFeedbackNV = NULL;
1936    PFNGLPAUSETRANSFORMFEEDBACKNVPROC __glewPauseTransformFeedbackNV = NULL;
1937    PFNGLRESUMETRANSFORMFEEDBACKNVPROC __glewResumeTransformFeedbackNV = NULL;
1938    
1939  PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL;  PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL;
1940  PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL;  PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL;
1941    
1942    PFNGLGETVERTEXATTRIBLI64VNVPROC __glewGetVertexAttribLi64vNV = NULL;
1943    PFNGLGETVERTEXATTRIBLUI64VNVPROC __glewGetVertexAttribLui64vNV = NULL;
1944    PFNGLVERTEXATTRIBL1I64NVPROC __glewVertexAttribL1i64NV = NULL;
1945    PFNGLVERTEXATTRIBL1I64VNVPROC __glewVertexAttribL1i64vNV = NULL;
1946    PFNGLVERTEXATTRIBL1UI64NVPROC __glewVertexAttribL1ui64NV = NULL;
1947    PFNGLVERTEXATTRIBL1UI64VNVPROC __glewVertexAttribL1ui64vNV = NULL;
1948    PFNGLVERTEXATTRIBL2I64NVPROC __glewVertexAttribL2i64NV = NULL;
1949    PFNGLVERTEXATTRIBL2I64VNVPROC __glewVertexAttribL2i64vNV = NULL;
1950    PFNGLVERTEXATTRIBL2UI64NVPROC __glewVertexAttribL2ui64NV = NULL;
1951    PFNGLVERTEXATTRIBL2UI64VNVPROC __glewVertexAttribL2ui64vNV = NULL;
1952    PFNGLVERTEXATTRIBL3I64NVPROC __glewVertexAttribL3i64NV = NULL;
1953    PFNGLVERTEXATTRIBL3I64VNVPROC __glewVertexAttribL3i64vNV = NULL;
1954    PFNGLVERTEXATTRIBL3UI64NVPROC __glewVertexAttribL3ui64NV = NULL;
1955    PFNGLVERTEXATTRIBL3UI64VNVPROC __glewVertexAttribL3ui64vNV = NULL;
1956    PFNGLVERTEXATTRIBL4I64NVPROC __glewVertexAttribL4i64NV = NULL;
1957    PFNGLVERTEXATTRIBL4I64VNVPROC __glewVertexAttribL4i64vNV = NULL;
1958    PFNGLVERTEXATTRIBL4UI64NVPROC __glewVertexAttribL4ui64NV = NULL;
1959    PFNGLVERTEXATTRIBL4UI64VNVPROC __glewVertexAttribL4ui64vNV = NULL;
1960    PFNGLVERTEXATTRIBLFORMATNVPROC __glewVertexAttribLFormatNV = NULL;
1961    
1962    PFNGLBUFFERADDRESSRANGENVPROC __glewBufferAddressRangeNV = NULL;
1963    PFNGLCOLORFORMATNVPROC __glewColorFormatNV = NULL;
1964    PFNGLEDGEFLAGFORMATNVPROC __glewEdgeFlagFormatNV = NULL;
1965    PFNGLFOGCOORDFORMATNVPROC __glewFogCoordFormatNV = NULL;
1966    PFNGLGETINTEGERUI64I_VNVPROC __glewGetIntegerui64i_vNV = NULL;
1967    PFNGLINDEXFORMATNVPROC __glewIndexFormatNV = NULL;
1968    PFNGLNORMALFORMATNVPROC __glewNormalFormatNV = NULL;
1969    PFNGLSECONDARYCOLORFORMATNVPROC __glewSecondaryColorFormatNV = NULL;
1970    PFNGLTEXCOORDFORMATNVPROC __glewTexCoordFormatNV = NULL;
1971    PFNGLVERTEXATTRIBFORMATNVPROC __glewVertexAttribFormatNV = NULL;
1972    PFNGLVERTEXATTRIBIFORMATNVPROC __glewVertexAttribIFormatNV = NULL;
1973    PFNGLVERTEXFORMATNVPROC __glewVertexFormatNV = NULL;
1974    
1975  PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV = NULL;  PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV = NULL;
1976  PFNGLBINDPROGRAMNVPROC __glewBindProgramNV = NULL;  PFNGLBINDPROGRAMNVPROC __glewBindProgramNV = NULL;
1977  PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV = NULL;  PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV = NULL;
# Line 1849  GLboolean __GLEW_VERSION_1_5 = GL_FALSE; Line 2188  GLboolean __GLEW_VERSION_1_5 = GL_FALSE;
2188  GLboolean __GLEW_VERSION_2_0 = GL_FALSE;  GLboolean __GLEW_VERSION_2_0 = GL_FALSE;
2189  GLboolean __GLEW_VERSION_2_1 = GL_FALSE;  GLboolean __GLEW_VERSION_2_1 = GL_FALSE;
2190  GLboolean __GLEW_VERSION_3_0 = GL_FALSE;  GLboolean __GLEW_VERSION_3_0 = GL_FALSE;
2191    GLboolean __GLEW_VERSION_3_1 = GL_FALSE;
2192    GLboolean __GLEW_VERSION_3_2 = GL_FALSE;
2193    GLboolean __GLEW_VERSION_3_3 = GL_FALSE;
2194    GLboolean __GLEW_VERSION_4_0 = GL_FALSE;
2195  GLboolean __GLEW_3DFX_multisample = GL_FALSE;  GLboolean __GLEW_3DFX_multisample = GL_FALSE;
2196  GLboolean __GLEW_3DFX_tbuffer = GL_FALSE;  GLboolean __GLEW_3DFX_tbuffer = GL_FALSE;
2197  GLboolean __GLEW_3DFX_texture_compression_FXT1 = GL_FALSE;  GLboolean __GLEW_3DFX_texture_compression_FXT1 = GL_FALSE;
2198    GLboolean __GLEW_AMD_conservative_depth = GL_FALSE;
2199    GLboolean __GLEW_AMD_draw_buffers_blend = GL_FALSE;
2200    GLboolean __GLEW_AMD_performance_monitor = GL_FALSE;
2201    GLboolean __GLEW_AMD_seamless_cubemap_per_texture = GL_FALSE;
2202    GLboolean __GLEW_AMD_shader_stencil_export = GL_FALSE;
2203    GLboolean __GLEW_AMD_texture_texture4 = GL_FALSE;
2204    GLboolean __GLEW_AMD_vertex_shader_tessellator = GL_FALSE;
2205    GLboolean __GLEW_APPLE_aux_depth_stencil = GL_FALSE;
2206  GLboolean __GLEW_APPLE_client_storage = GL_FALSE;  GLboolean __GLEW_APPLE_client_storage = GL_FALSE;
2207  GLboolean __GLEW_APPLE_element_array = GL_FALSE;  GLboolean __GLEW_APPLE_element_array = GL_FALSE;
2208  GLboolean __GLEW_APPLE_fence = GL_FALSE;  GLboolean __GLEW_APPLE_fence = GL_FALSE;
2209  GLboolean __GLEW_APPLE_float_pixels = GL_FALSE;  GLboolean __GLEW_APPLE_float_pixels = GL_FALSE;
2210  GLboolean __GLEW_APPLE_flush_buffer_range = GL_FALSE;  GLboolean __GLEW_APPLE_flush_buffer_range = GL_FALSE;
2211    GLboolean __GLEW_APPLE_object_purgeable = GL_FALSE;
2212  GLboolean __GLEW_APPLE_pixel_buffer = GL_FALSE;  GLboolean __GLEW_APPLE_pixel_buffer = GL_FALSE;
2213    GLboolean __GLEW_APPLE_rgb_422 = GL_FALSE;
2214    GLboolean __GLEW_APPLE_row_bytes = GL_FALSE;
2215  GLboolean __GLEW_APPLE_specular_vector = GL_FALSE;  GLboolean __GLEW_APPLE_specular_vector = GL_FALSE;
2216  GLboolean __GLEW_APPLE_texture_range = GL_FALSE;  GLboolean __GLEW_APPLE_texture_range = GL_FALSE;
2217  GLboolean __GLEW_APPLE_transform_hint = GL_FALSE;  GLboolean __GLEW_APPLE_transform_hint = GL_FALSE;
2218  GLboolean __GLEW_APPLE_vertex_array_object = GL_FALSE;  GLboolean __GLEW_APPLE_vertex_array_object = GL_FALSE;
2219  GLboolean __GLEW_APPLE_vertex_array_range = GL_FALSE;  GLboolean __GLEW_APPLE_vertex_array_range = GL_FALSE;
2220    GLboolean __GLEW_APPLE_vertex_program_evaluators = GL_FALSE;
2221  GLboolean __GLEW_APPLE_ycbcr_422 = GL_FALSE;  GLboolean __GLEW_APPLE_ycbcr_422 = GL_FALSE;
2222    GLboolean __GLEW_ARB_blend_func_extended = GL_FALSE;
2223  GLboolean __GLEW_ARB_color_buffer_float = GL_FALSE;  GLboolean __GLEW_ARB_color_buffer_float = GL_FALSE;
2224    GLboolean __GLEW_ARB_compatibility = GL_FALSE;
2225    GLboolean __GLEW_ARB_copy_buffer = GL_FALSE;
2226  GLboolean __GLEW_ARB_depth_buffer_float = GL_FALSE;  GLboolean __GLEW_ARB_depth_buffer_float = GL_FALSE;
2227    GLboolean __GLEW_ARB_depth_clamp = GL_FALSE;
2228  GLboolean __GLEW_ARB_depth_texture = GL_FALSE;  GLboolean __GLEW_ARB_depth_texture = GL_FALSE;
2229  GLboolean __GLEW_ARB_draw_buffers = GL_FALSE;  GLboolean __GLEW_ARB_draw_buffers = GL_FALSE;
2230    GLboolean __GLEW_ARB_draw_buffers_blend = GL_FALSE;
2231    GLboolean __GLEW_ARB_draw_elements_base_vertex = GL_FALSE;
2232    GLboolean __GLEW_ARB_draw_indirect = GL_FALSE;
2233  GLboolean __GLEW_ARB_draw_instanced = GL_FALSE;  GLboolean __GLEW_ARB_draw_instanced = GL_FALSE;
2234    GLboolean __GLEW_ARB_explicit_attrib_location = GL_FALSE;
2235    GLboolean __GLEW_ARB_fragment_coord_conventions = GL_FALSE;
2236  GLboolean __GLEW_ARB_fragment_program = GL_FALSE;  GLboolean __GLEW_ARB_fragment_program = GL_FALSE;
2237  GLboolean __GLEW_ARB_fragment_program_shadow = GL_FALSE;  GLboolean __GLEW_ARB_fragment_program_shadow = GL_FALSE;
2238  GLboolean __GLEW_ARB_fragment_shader = GL_FALSE;  GLboolean __GLEW_ARB_fragment_shader = GL_FALSE;
2239  GLboolean __GLEW_ARB_framebuffer_object = GL_FALSE;  GLboolean __GLEW_ARB_framebuffer_object = GL_FALSE;
2240  GLboolean __GLEW_ARB_framebuffer_sRGB = GL_FALSE;  GLboolean __GLEW_ARB_framebuffer_sRGB = GL_FALSE;
2241  GLboolean __GLEW_ARB_geometry_shader4 = GL_FALSE;  GLboolean __GLEW_ARB_geometry_shader4 = GL_FALSE;
2242    GLboolean __GLEW_ARB_gpu_shader5 = GL_FALSE;
2243    GLboolean __GLEW_ARB_gpu_shader_fp64 = GL_FALSE;
2244  GLboolean __GLEW_ARB_half_float_pixel = GL_FALSE;  GLboolean __GLEW_ARB_half_float_pixel = GL_FALSE;
2245  GLboolean __GLEW_ARB_half_float_vertex = GL_FALSE;  GLboolean __GLEW_ARB_half_float_vertex = GL_FALSE;
2246  GLboolean __GLEW_ARB_imaging = GL_FALSE;  GLboolean __GLEW_ARB_imaging = GL_FALSE;
# Line 1884  GLboolean __GLEW_ARB_matrix_palette = GL Line 2250  GLboolean __GLEW_ARB_matrix_palette = GL
2250  GLboolean __GLEW_ARB_multisample = GL_FALSE;  GLboolean __GLEW_ARB_multisample = GL_FALSE;
2251  GLboolean __GLEW_ARB_multitexture = GL_FALSE;  GLboolean __GLEW_ARB_multitexture = GL_FALSE;
2252  GLboolean __GLEW_ARB_occlusion_query = GL_FALSE;  GLboolean __GLEW_ARB_occlusion_query = GL_FALSE;
2253    GLboolean __GLEW_ARB_occlusion_query2 = GL_FALSE;
2254  GLboolean __GLEW_ARB_pixel_buffer_object = GL_FALSE;  GLboolean __GLEW_ARB_pixel_buffer_object = GL_FALSE;
2255  GLboolean __GLEW_ARB_point_parameters = GL_FALSE;  GLboolean __GLEW_ARB_point_parameters = GL_FALSE;
2256  GLboolean __GLEW_ARB_point_sprite = GL_FALSE;  GLboolean __GLEW_ARB_point_sprite = GL_FALSE;
2257    GLboolean __GLEW_ARB_provoking_vertex = GL_FALSE;
2258    GLboolean __GLEW_ARB_sample_shading = GL_FALSE;
2259    GLboolean __GLEW_ARB_sampler_objects = GL_FALSE;
2260    GLboolean __GLEW_ARB_seamless_cube_map = GL_FALSE;
2261    GLboolean __GLEW_ARB_shader_bit_encoding = GL_FALSE;
2262  GLboolean __GLEW_ARB_shader_objects = GL_FALSE;  GLboolean __GLEW_ARB_shader_objects = GL_FALSE;
2263    GLboolean __GLEW_ARB_shader_subroutine = GL_FALSE;
2264    GLboolean __GLEW_ARB_shader_texture_lod = GL_FALSE;
2265  GLboolean __GLEW_ARB_shading_language_100 = GL_FALSE;  GLboolean __GLEW_ARB_shading_language_100 = GL_FALSE;
2266    GLboolean __GLEW_ARB_shading_language_include = GL_FALSE;
2267  GLboolean __GLEW_ARB_shadow = GL_FALSE;  GLboolean __GLEW_ARB_shadow = GL_FALSE;
2268  GLboolean __GLEW_ARB_shadow_ambient = GL_FALSE;  GLboolean __GLEW_ARB_shadow_ambient = GL_FALSE;
2269    GLboolean __GLEW_ARB_sync = GL_FALSE;
2270    GLboolean __GLEW_ARB_tessellation_shader = GL_FALSE;
2271  GLboolean __GLEW_ARB_texture_border_clamp = GL_FALSE;  GLboolean __GLEW_ARB_texture_border_clamp = GL_FALSE;
2272  GLboolean __GLEW_ARB_texture_buffer_object = GL_FALSE;  GLboolean __GLEW_ARB_texture_buffer_object = GL_FALSE;
2273    GLboolean __GLEW_ARB_texture_buffer_object_rgb32 = GL_FALSE;
2274  GLboolean __GLEW_ARB_texture_compression = GL_FALSE;  GLboolean __GLEW_ARB_texture_compression = GL_FALSE;
2275    GLboolean __GLEW_ARB_texture_compression_bptc = GL_FALSE;
2276  GLboolean __GLEW_ARB_texture_compression_rgtc = GL_FALSE;  GLboolean __GLEW_ARB_texture_compression_rgtc = GL_FALSE;
2277  GLboolean __GLEW_ARB_texture_cube_map = GL_FALSE;  GLboolean __GLEW_ARB_texture_cube_map = GL_FALSE;
2278    GLboolean __GLEW_ARB_texture_cube_map_array = GL_FALSE;
2279  GLboolean __GLEW_ARB_texture_env_add = GL_FALSE;  GLboolean __GLEW_ARB_texture_env_add = GL_FALSE;
2280  GLboolean __GLEW_ARB_texture_env_combine = GL_FALSE;  GLboolean __GLEW_ARB_texture_env_combine = GL_FALSE;
2281  GLboolean __GLEW_ARB_texture_env_crossbar = GL_FALSE;  GLboolean __GLEW_ARB_texture_env_crossbar = GL_FALSE;
2282  GLboolean __GLEW_ARB_texture_env_dot3 = GL_FALSE;  GLboolean __GLEW_ARB_texture_env_dot3 = GL_FALSE;
2283  GLboolean __GLEW_ARB_texture_float = GL_FALSE;  GLboolean __GLEW_ARB_texture_float = GL_FALSE;
2284    GLboolean __GLEW_ARB_texture_gather = GL_FALSE;
2285  GLboolean __GLEW_ARB_texture_mirrored_repeat = GL_FALSE;  GLboolean __GLEW_ARB_texture_mirrored_repeat = GL_FALSE;
2286    GLboolean __GLEW_ARB_texture_multisample = GL_FALSE;
2287  GLboolean __GLEW_ARB_texture_non_power_of_two = GL_FALSE;  GLboolean __GLEW_ARB_texture_non_power_of_two = GL_FALSE;
2288    GLboolean __GLEW_ARB_texture_query_lod = GL_FALSE;
2289  GLboolean __GLEW_ARB_texture_rectangle = GL_FALSE;  GLboolean __GLEW_ARB_texture_rectangle = GL_FALSE;
2290  GLboolean __GLEW_ARB_texture_rg = GL_FALSE;  GLboolean __GLEW_ARB_texture_rg = GL_FALSE;
2291    GLboolean __GLEW_ARB_texture_rgb10_a2ui = GL_FALSE;
2292    GLboolean __GLEW_ARB_texture_swizzle = GL_FALSE;
2293    GLboolean __GLEW_ARB_timer_query = GL_FALSE;
2294    GLboolean __GLEW_ARB_transform_feedback2 = GL_FALSE;
2295    GLboolean __GLEW_ARB_transform_feedback3 = GL_FALSE;
2296  GLboolean __GLEW_ARB_transpose_matrix = GL_FALSE;  GLboolean __GLEW_ARB_transpose_matrix = GL_FALSE;
2297    GLboolean __GLEW_ARB_uniform_buffer_object = GL_FALSE;
2298    GLboolean __GLEW_ARB_vertex_array_bgra = GL_FALSE;
2299  GLboolean __GLEW_ARB_vertex_array_object = GL_FALSE;  GLboolean __GLEW_ARB_vertex_array_object = GL_FALSE;
2300  GLboolean __GLEW_ARB_vertex_blend = GL_FALSE;  GLboolean __GLEW_ARB_vertex_blend = GL_FALSE;
2301  GLboolean __GLEW_ARB_vertex_buffer_object = GL_FALSE;  GLboolean __GLEW_ARB_vertex_buffer_object = GL_FALSE;
2302  GLboolean __GLEW_ARB_vertex_program = GL_FALSE;  GLboolean __GLEW_ARB_vertex_program = GL_FALSE;
2303  GLboolean __GLEW_ARB_vertex_shader = GL_FALSE;  GLboolean __GLEW_ARB_vertex_shader = GL_FALSE;
2304    GLboolean __GLEW_ARB_vertex_type_2_10_10_10_rev = GL_FALSE;
2305  GLboolean __GLEW_ARB_window_pos = GL_FALSE;  GLboolean __GLEW_ARB_window_pos = GL_FALSE;
2306  GLboolean __GLEW_ATIX_point_sprites = GL_FALSE;  GLboolean __GLEW_ATIX_point_sprites = GL_FALSE;
2307  GLboolean __GLEW_ATIX_texture_env_combine3 = GL_FALSE;  GLboolean __GLEW_ATIX_texture_env_combine3 = GL_FALSE;
# Line 1921  GLboolean __GLEW_ATI_element_array = GL_ Line 2312  GLboolean __GLEW_ATI_element_array = GL_
2312  GLboolean __GLEW_ATI_envmap_bumpmap = GL_FALSE;  GLboolean __GLEW_ATI_envmap_bumpmap = GL_FALSE;
2313  GLboolean __GLEW_ATI_fragment_shader = GL_FALSE;  GLboolean __GLEW_ATI_fragment_shader = GL_FALSE;
2314  GLboolean __GLEW_ATI_map_object_buffer = GL_FALSE;  GLboolean __GLEW_ATI_map_object_buffer = GL_FALSE;
2315    GLboolean __GLEW_ATI_meminfo = GL_FALSE;
2316  GLboolean __GLEW_ATI_pn_triangles = GL_FALSE;  GLboolean __GLEW_ATI_pn_triangles = GL_FALSE;
2317  GLboolean __GLEW_ATI_separate_stencil = GL_FALSE;  GLboolean __GLEW_ATI_separate_stencil = GL_FALSE;
2318  GLboolean __GLEW_ATI_shader_texture_lod = GL_FALSE;  GLboolean __GLEW_ATI_shader_texture_lod = GL_FALSE;
# Line 1983  GLboolean __GLEW_EXT_pixel_transform = G Line 2375  GLboolean __GLEW_EXT_pixel_transform = G
2375  GLboolean __GLEW_EXT_pixel_transform_color_table = GL_FALSE;  GLboolean __GLEW_EXT_pixel_transform_color_table = GL_FALSE;
2376  GLboolean __GLEW_EXT_point_parameters = GL_FALSE;  GLboolean __GLEW_EXT_point_parameters = GL_FALSE;
2377  GLboolean __GLEW_EXT_polygon_offset = GL_FALSE;  GLboolean __GLEW_EXT_polygon_offset = GL_FALSE;
2378    GLboolean __GLEW_EXT_provoking_vertex = GL_FALSE;
2379  GLboolean __GLEW_EXT_rescale_normal = GL_FALSE;  GLboolean __GLEW_EXT_rescale_normal = GL_FALSE;
2380  GLboolean __GLEW_EXT_scene_marker = GL_FALSE;  GLboolean __GLEW_EXT_scene_marker = GL_FALSE;
2381  GLboolean __GLEW_EXT_secondary_color = GL_FALSE;  GLboolean __GLEW_EXT_secondary_color = GL_FALSE;
2382    GLboolean __GLEW_EXT_separate_shader_objects = GL_FALSE;
2383  GLboolean __GLEW_EXT_separate_specular_color = GL_FALSE;  GLboolean __GLEW_EXT_separate_specular_color = GL_FALSE;
2384    GLboolean __GLEW_EXT_shader_image_load_store = GL_FALSE;
2385  GLboolean __GLEW_EXT_shadow_funcs = GL_FALSE;  GLboolean __GLEW_EXT_shadow_funcs = GL_FALSE;
2386  GLboolean __GLEW_EXT_shared_texture_palette = GL_FALSE;  GLboolean __GLEW_EXT_shared_texture_palette = GL_FALSE;
2387  GLboolean __GLEW_EXT_stencil_clear_tag = GL_FALSE;  GLboolean __GLEW_EXT_stencil_clear_tag = GL_FALSE;
# Line 2016  GLboolean __GLEW_EXT_texture_perturb_nor Line 2411  GLboolean __GLEW_EXT_texture_perturb_nor
2411  GLboolean __GLEW_EXT_texture_rectangle = GL_FALSE;  GLboolean __GLEW_EXT_texture_rectangle = GL_FALSE;
2412  GLboolean __GLEW_EXT_texture_sRGB = GL_FALSE;  GLboolean __GLEW_EXT_texture_sRGB = GL_FALSE;
2413  GLboolean __GLEW_EXT_texture_shared_exponent = GL_FALSE;  GLboolean __GLEW_EXT_texture_shared_exponent = GL_FALSE;
2414    GLboolean __GLEW_EXT_texture_snorm = GL_FALSE;
2415  GLboolean __GLEW_EXT_texture_swizzle = GL_FALSE;  GLboolean __GLEW_EXT_texture_swizzle = GL_FALSE;
2416  GLboolean __GLEW_EXT_timer_query = GL_FALSE;  GLboolean __GLEW_EXT_timer_query = GL_FALSE;
2417  GLboolean __GLEW_EXT_transform_feedback = GL_FALSE;  GLboolean __GLEW_EXT_transform_feedback = GL_FALSE;
2418  GLboolean __GLEW_EXT_vertex_array = GL_FALSE;  GLboolean __GLEW_EXT_vertex_array = GL_FALSE;
2419  GLboolean __GLEW_EXT_vertex_array_bgra = GL_FALSE;  GLboolean __GLEW_EXT_vertex_array_bgra = GL_FALSE;
2420    GLboolean __GLEW_EXT_vertex_attrib_64bit = GL_FALSE;
2421  GLboolean __GLEW_EXT_vertex_shader = GL_FALSE;  GLboolean __GLEW_EXT_vertex_shader = GL_FALSE;
2422  GLboolean __GLEW_EXT_vertex_weighting = GL_FALSE;  GLboolean __GLEW_EXT_vertex_weighting = GL_FALSE;
2423  GLboolean __GLEW_GREMEDY_frame_terminator = GL_FALSE;  GLboolean __GLEW_GREMEDY_frame_terminator = GL_FALSE;
# Line 2048  GLboolean __GLEW_MESA_ycbcr_texture = GL Line 2445  GLboolean __GLEW_MESA_ycbcr_texture = GL
2445  GLboolean __GLEW_NV_blend_square = GL_FALSE;  GLboolean __GLEW_NV_blend_square = GL_FALSE;
2446  GLboolean __GLEW_NV_conditional_render = GL_FALSE;  GLboolean __GLEW_NV_conditional_render = GL_FALSE;
2447  GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE;  GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE;
2448    GLboolean __GLEW_NV_copy_image = GL_FALSE;
2449  GLboolean __GLEW_NV_depth_buffer_float = GL_FALSE;  GLboolean __GLEW_NV_depth_buffer_float = GL_FALSE;
2450  GLboolean __GLEW_NV_depth_clamp = GL_FALSE;  GLboolean __GLEW_NV_depth_clamp = GL_FALSE;
2451  GLboolean __GLEW_NV_depth_range_unclamped = GL_FALSE;  GLboolean __GLEW_NV_depth_range_unclamped = GL_FALSE;
# Line 2064  GLboolean __GLEW_NV_framebuffer_multisam Line 2462  GLboolean __GLEW_NV_framebuffer_multisam
2462  GLboolean __GLEW_NV_geometry_program4 = GL_FALSE;  GLboolean __GLEW_NV_geometry_program4 = GL_FALSE;
2463  GLboolean __GLEW_NV_geometry_shader4 = GL_FALSE;  GLboolean __GLEW_NV_geometry_shader4 = GL_FALSE;
2464  GLboolean __GLEW_NV_gpu_program4 = GL_FALSE;  GLboolean __GLEW_NV_gpu_program4 = GL_FALSE;
2465    GLboolean __GLEW_NV_gpu_program5 = GL_FALSE;
2466    GLboolean __GLEW_NV_gpu_program_fp64 = GL_FALSE;
2467    GLboolean __GLEW_NV_gpu_shader5 = GL_FALSE;
2468  GLboolean __GLEW_NV_half_float = GL_FALSE;  GLboolean __GLEW_NV_half_float = GL_FALSE;
2469  GLboolean __GLEW_NV_light_max_exponent = GL_FALSE;  GLboolean __GLEW_NV_light_max_exponent = GL_FALSE;
2470  GLboolean __GLEW_NV_multisample_filter_hint = GL_FALSE;  GLboolean __GLEW_NV_multisample_filter_hint = GL_FALSE;
2471  GLboolean __GLEW_NV_occlusion_query = GL_FALSE;  GLboolean __GLEW_NV_occlusion_query = GL_FALSE;
2472  GLboolean __GLEW_NV_packed_depth_stencil = GL_FALSE;  GLboolean __GLEW_NV_packed_depth_stencil = GL_FALSE;
2473  GLboolean __GLEW_NV_parameter_buffer_object = GL_FALSE;  GLboolean __GLEW_NV_parameter_buffer_object = GL_FALSE;
2474    GLboolean __GLEW_NV_parameter_buffer_object2 = GL_FALSE;
2475  GLboolean __GLEW_NV_pixel_data_range = GL_FALSE;  GLboolean __GLEW_NV_pixel_data_range = GL_FALSE;
2476  GLboolean __GLEW_NV_point_sprite = GL_FALSE;  GLboolean __GLEW_NV_point_sprite = GL_FALSE;
2477  GLboolean __GLEW_NV_present_video = GL_FALSE;  GLboolean __GLEW_NV_present_video = GL_FALSE;
2478  GLboolean __GLEW_NV_primitive_restart = GL_FALSE;  GLboolean __GLEW_NV_primitive_restart = GL_FALSE;
2479  GLboolean __GLEW_NV_register_combiners = GL_FALSE;  GLboolean __GLEW_NV_register_combiners = GL_FALSE;
2480  GLboolean __GLEW_NV_register_combiners2 = GL_FALSE;  GLboolean __GLEW_NV_register_combiners2 = GL_FALSE;
2481    GLboolean __GLEW_NV_shader_buffer_load = GL_FALSE;
2482    GLboolean __GLEW_NV_tessellation_program5 = GL_FALSE;
2483  GLboolean __GLEW_NV_texgen_emboss = GL_FALSE;  GLboolean __GLEW_NV_texgen_emboss = GL_FALSE;
2484  GLboolean __GLEW_NV_texgen_reflection = GL_FALSE;  GLboolean __GLEW_NV_texgen_reflection = GL_FALSE;
2485    GLboolean __GLEW_NV_texture_barrier = GL_FALSE;
2486  GLboolean __GLEW_NV_texture_compression_vtc = GL_FALSE;  GLboolean __GLEW_NV_texture_compression_vtc = GL_FALSE;
2487  GLboolean __GLEW_NV_texture_env_combine4 = GL_FALSE;  GLboolean __GLEW_NV_texture_env_combine4 = GL_FALSE;
2488  GLboolean __GLEW_NV_texture_expand_normal = GL_FALSE;  GLboolean __GLEW_NV_texture_expand_normal = GL_FALSE;
# Line 2086  GLboolean __GLEW_NV_texture_shader = GL_ Line 2491  GLboolean __GLEW_NV_texture_shader = GL_
2491  GLboolean __GLEW_NV_texture_shader2 = GL_FALSE;  GLboolean __GLEW_NV_texture_shader2 = GL_FALSE;
2492  GLboolean __GLEW_NV_texture_shader3 = GL_FALSE;  GLboolean __GLEW_NV_texture_shader3 = GL_FALSE;
2493  GLboolean __GLEW_NV_transform_feedback = GL_FALSE;  GLboolean __GLEW_NV_transform_feedback = GL_FALSE;
2494    GLboolean __GLEW_NV_transform_feedback2 = GL_FALSE;
2495  GLboolean __GLEW_NV_vertex_array_range = GL_FALSE;  GLboolean __GLEW_NV_vertex_array_range = GL_FALSE;
2496  GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE;  GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE;
2497    GLboolean __GLEW_NV_vertex_attrib_integer_64bit = GL_FALSE;
2498    GLboolean __GLEW_NV_vertex_buffer_unified_memory = GL_FALSE;
2499  GLboolean __GLEW_NV_vertex_program = GL_FALSE;  GLboolean __GLEW_NV_vertex_program = GL_FALSE;
2500  GLboolean __GLEW_NV_vertex_program1_1 = GL_FALSE;  GLboolean __GLEW_NV_vertex_program1_1 = GL_FALSE;
2501  GLboolean __GLEW_NV_vertex_program2 = GL_FALSE;  GLboolean __GLEW_NV_vertex_program2 = GL_FALSE;
# Line 2463  static GLboolean _glewInit_GL_VERSION_3_ Line 2871  static GLboolean _glewInit_GL_VERSION_3_
2871    
2872    r = ((glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRender")) == NULL) || r;    r = ((glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRender")) == NULL) || r;
2873    r = ((glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedback")) == NULL) || r;    r = ((glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedback")) == NULL) || r;
   r = ((glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBase")) == NULL) || r;  
   r = ((glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRange")) == NULL) || r;  
2874    r = ((glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocation")) == NULL) || r;    r = ((glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocation")) == NULL) || r;
2875    r = ((glClampColor = (PFNGLCLAMPCOLORPROC)glewGetProcAddress((const GLubyte*)"glClampColor")) == NULL) || r;    r = ((glClampColor = (PFNGLCLAMPCOLORPROC)glewGetProcAddress((const GLubyte*)"glClampColor")) == NULL) || r;
2876    r = ((glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfi")) == NULL) || r;    r = ((glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfi")) == NULL) || r;
# Line 2478  static GLboolean _glewInit_GL_VERSION_3_ Line 2884  static GLboolean _glewInit_GL_VERSION_3_
2884    r = ((glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedback")) == NULL) || r;    r = ((glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedback")) == NULL) || r;
2885    r = ((glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)glewGetProcAddress((const GLubyte*)"glGetBooleani_v")) == NULL) || r;    r = ((glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)glewGetProcAddress((const GLubyte*)"glGetBooleani_v")) == NULL) || r;
2886    r = ((glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocation")) == NULL) || r;    r = ((glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocation")) == NULL) || r;
   r = ((glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)glewGetProcAddress((const GLubyte*)"glGetIntegeri_v")) == NULL) || r;  
2887    r = ((glGetStringi = (PFNGLGETSTRINGIPROC)glewGetProcAddress((const GLubyte*)"glGetStringi")) == NULL) || r;    r = ((glGetStringi = (PFNGLGETSTRINGIPROC)glewGetProcAddress((const GLubyte*)"glGetStringi")) == NULL) || r;
2888    r = ((glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIiv")) == NULL) || r;    r = ((glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIiv")) == NULL) || r;
2889    r = ((glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuiv")) == NULL) || r;    r = ((glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuiv")) == NULL) || r;
# Line 2525  static GLboolean _glewInit_GL_VERSION_3_ Line 2930  static GLboolean _glewInit_GL_VERSION_3_
2930    
2931  #endif /* GL_VERSION_3_0 */  #endif /* GL_VERSION_3_0 */
2932    
2933    #ifdef GL_VERSION_3_1
2934    
2935    static GLboolean _glewInit_GL_VERSION_3_1 (GLEW_CONTEXT_ARG_DEF_INIT)
2936    {
2937      GLboolean r = GL_FALSE;
2938    
2939      r = ((glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstanced")) == NULL) || r;
2940      r = ((glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstanced")) == NULL) || r;
2941      r = ((glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndex")) == NULL) || r;
2942      r = ((glTexBuffer = (PFNGLTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glTexBuffer")) == NULL) || r;
2943    
2944      return r;
2945    }
2946    
2947    #endif /* GL_VERSION_3_1 */
2948    
2949    #ifdef GL_VERSION_3_2
2950    
2951    static GLboolean _glewInit_GL_VERSION_3_2 (GLEW_CONTEXT_ARG_DEF_INIT)
2952    {
2953      GLboolean r = GL_FALSE;
2954    
2955      r = ((glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture")) == NULL) || r;
2956      r = ((glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteri64v")) == NULL) || r;
2957      r = ((glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64i_v")) == NULL) || r;
2958    
2959      return r;
2960    }
2961    
2962    #endif /* GL_VERSION_3_2 */
2963    
2964    #ifdef GL_VERSION_3_3
2965    
2966    #endif /* GL_VERSION_3_3 */
2967    
2968    #ifdef GL_VERSION_4_0
2969    
2970    static GLboolean _glewInit_GL_VERSION_4_0 (GLEW_CONTEXT_ARG_DEF_INIT)
2971    {
2972      GLboolean r = GL_FALSE;
2973    
2974      r = ((glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparatei")) == NULL) || r;
2975      r = ((glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationi")) == NULL) || r;
2976      r = ((glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparatei")) == NULL) || r;
2977      r = ((glBlendFunci = (PFNGLBLENDFUNCIPROC)glewGetProcAddress((const GLubyte*)"glBlendFunci")) == NULL) || r;
2978      r = ((glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShading")) == NULL) || r;
2979    
2980      return r;
2981    }
2982    
2983    #endif /* GL_VERSION_4_0 */
2984    
2985  #ifdef GL_3DFX_multisample  #ifdef GL_3DFX_multisample
2986    
2987  #endif /* GL_3DFX_multisample */  #endif /* GL_3DFX_multisample */
# Line 2546  static GLboolean _glewInit_GL_3DFX_tbuff Line 3003  static GLboolean _glewInit_GL_3DFX_tbuff
3003    
3004  #endif /* GL_3DFX_texture_compression_FXT1 */  #endif /* GL_3DFX_texture_compression_FXT1 */
3005    
3006    #ifdef GL_AMD_conservative_depth
3007    
3008    #endif /* GL_AMD_conservative_depth */
3009    
3010    #ifdef GL_AMD_draw_buffers_blend
3011    
3012    static GLboolean _glewInit_GL_AMD_draw_buffers_blend (GLEW_CONTEXT_ARG_DEF_INIT)
3013    {
3014      GLboolean r = GL_FALSE;
3015    
3016      r = ((glBlendEquationIndexedAMD = (PFNGLBLENDEQUATIONINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationIndexedAMD")) == NULL) || r;
3017      r = ((glBlendEquationSeparateIndexedAMD = (PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateIndexedAMD")) == NULL) || r;
3018      r = ((glBlendFuncIndexedAMD = (PFNGLBLENDFUNCINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncIndexedAMD")) == NULL) || r;
3019      r = ((glBlendFuncSeparateIndexedAMD = (PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateIndexedAMD")) == NULL) || r;
3020    
3021      return r;
3022    }
3023    
3024    #endif /* GL_AMD_draw_buffers_blend */
3025    
3026    #ifdef GL_AMD_performance_monitor
3027    
3028    static GLboolean _glewInit_GL_AMD_performance_monitor (GLEW_CONTEXT_ARG_DEF_INIT)
3029    {
3030      GLboolean r = GL_FALSE;
3031    
3032      r = ((glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glBeginPerfMonitorAMD")) == NULL) || r;
3033      r = ((glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glDeletePerfMonitorsAMD")) == NULL) || r;
3034      r = ((glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glEndPerfMonitorAMD")) == NULL) || r;
3035      r = ((glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glGenPerfMonitorsAMD")) == NULL) || r;
3036      r = ((glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterDataAMD")) == NULL) || r;
3037      r = ((glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterInfoAMD")) == NULL) || r;
3038      r = ((glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterStringAMD")) == NULL) || r;
3039      r = ((glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCountersAMD")) == NULL) || r;
3040      r = ((glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupStringAMD")) == NULL) || r;
3041      r = ((glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupsAMD")) == NULL) || r;
3042      r = ((glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glSelectPerfMonitorCountersAMD")) == NULL) || r;
3043    
3044      return r;
3045    }
3046    
3047    #endif /* GL_AMD_performance_monitor */
3048    
3049    #ifdef GL_AMD_seamless_cubemap_per_texture
3050    
3051    #endif /* GL_AMD_seamless_cubemap_per_texture */
3052    
3053    #ifdef GL_AMD_shader_stencil_export
3054    
3055    #endif /* GL_AMD_shader_stencil_export */
3056    
3057    #ifdef GL_AMD_texture_texture4
3058    
3059    #endif /* GL_AMD_texture_texture4 */
3060    
3061    #ifdef GL_AMD_vertex_shader_tessellator
3062    
3063    static GLboolean _glewInit_GL_AMD_vertex_shader_tessellator (GLEW_CONTEXT_ARG_DEF_INIT)
3064    {
3065      GLboolean r = GL_FALSE;
3066    
3067      r = ((glTessellationFactorAMD = (PFNGLTESSELLATIONFACTORAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationFactorAMD")) == NULL) || r;
3068      r = ((glTessellationModeAMD = (PFNGLTESSELLATIONMODEAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationModeAMD")) == NULL) || r;
3069    
3070      return r;
3071    }
3072    
3073    #endif /* GL_AMD_vertex_shader_tessellator */
3074    
3075    #ifdef GL_APPLE_aux_depth_stencil
3076    
3077    #endif /* GL_APPLE_aux_depth_stencil */
3078    
3079  #ifdef GL_APPLE_client_storage  #ifdef GL_APPLE_client_storage
3080    
3081  #endif /* GL_APPLE_client_storage */  #endif /* GL_APPLE_client_storage */
# Line 2605  static GLboolean _glewInit_GL_APPLE_flus Line 3135  static GLboolean _glewInit_GL_APPLE_flus
3135    
3136  #endif /* GL_APPLE_flush_buffer_range */  #endif /* GL_APPLE_flush_buffer_range */
3137    
3138    #ifdef GL_APPLE_object_purgeable
3139    
3140    static GLboolean _glewInit_GL_APPLE_object_purgeable (GLEW_CONTEXT_ARG_DEF_INIT)
3141    {
3142      GLboolean r = GL_FALSE;
3143    
3144      r = ((glGetObjectParameterivAPPLE = (PFNGLGETOBJECTPARAMETERIVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivAPPLE")) == NULL) || r;
3145      r = ((glObjectPurgeableAPPLE = (PFNGLOBJECTPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectPurgeableAPPLE")) == NULL) || r;
3146      r = ((glObjectUnpurgeableAPPLE = (PFNGLOBJECTUNPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectUnpurgeableAPPLE")) == NULL) || r;
3147    
3148      return r;
3149    }
3150    
3151    #endif /* GL_APPLE_object_purgeable */
3152    
3153  #ifdef GL_APPLE_pixel_buffer  #ifdef GL_APPLE_pixel_buffer
3154    
3155  #endif /* GL_APPLE_pixel_buffer */  #endif /* GL_APPLE_pixel_buffer */
3156    
3157    #ifdef GL_APPLE_rgb_422
3158    
3159    #endif /* GL_APPLE_rgb_422 */
3160    
3161    #ifdef GL_APPLE_row_bytes
3162    
3163    #endif /* GL_APPLE_row_bytes */
3164    
3165  #ifdef GL_APPLE_specular_vector  #ifdef GL_APPLE_specular_vector
3166    
3167  #endif /* GL_APPLE_specular_vector */  #endif /* GL_APPLE_specular_vector */
# Line 2662  static GLboolean _glewInit_GL_APPLE_vert Line 3215  static GLboolean _glewInit_GL_APPLE_vert
3215    
3216  #endif /* GL_APPLE_vertex_array_range */  #endif /* GL_APPLE_vertex_array_range */
3217    
3218    #ifdef GL_APPLE_vertex_program_evaluators
3219    
3220    static GLboolean _glewInit_GL_APPLE_vertex_program_evaluators (GLEW_CONTEXT_ARG_DEF_INIT)
3221    {
3222      GLboolean r = GL_FALSE;
3223    
3224      r = ((glDisableVertexAttribAPPLE = (PFNGLDISABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribAPPLE")) == NULL) || r;
3225      r = ((glEnableVertexAttribAPPLE = (PFNGLENABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribAPPLE")) == NULL) || r;
3226      r = ((glIsVertexAttribEnabledAPPLE = (PFNGLISVERTEXATTRIBENABLEDAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexAttribEnabledAPPLE")) == NULL) || r;
3227      r = ((glMapVertexAttrib1dAPPLE = (PFNGLMAPVERTEXATTRIB1DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1dAPPLE")) == NULL) || r;
3228      r = ((glMapVertexAttrib1fAPPLE = (PFNGLMAPVERTEXATTRIB1FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1fAPPLE")) == NULL) || r;
3229      r = ((glMapVertexAttrib2dAPPLE = (PFNGLMAPVERTEXATTRIB2DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2dAPPLE")) == NULL) || r;
3230      r = ((glMapVertexAttrib2fAPPLE = (PFNGLMAPVERTEXATTRIB2FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2fAPPLE")) == NULL) || r;
3231    
3232      return r;
3233    }
3234    
3235    #endif /* GL_APPLE_vertex_program_evaluators */
3236    
3237  #ifdef GL_APPLE_ycbcr_422  #ifdef GL_APPLE_ycbcr_422
3238    
3239  #endif /* GL_APPLE_ycbcr_422 */  #endif /* GL_APPLE_ycbcr_422 */
3240    
3241    #ifdef GL_ARB_blend_func_extended
3242    
3243    static GLboolean _glewInit_GL_ARB_blend_func_extended (GLEW_CONTEXT_ARG_DEF_INIT)
3244    {
3245      GLboolean r = GL_FALSE;
3246    
3247      r = ((glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationIndexed")) == NULL) || r;
3248      r = ((glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataIndex")) == NULL) || r;
3249    
3250      return r;
3251    }
3252    
3253    #endif /* GL_ARB_blend_func_extended */
3254    
3255  #ifdef GL_ARB_color_buffer_float  #ifdef GL_ARB_color_buffer_float
3256    
3257  static GLboolean _glewInit_GL_ARB_color_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_ARB_color_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 2679  static GLboolean _glewInit_GL_ARB_color_ Line 3265  static GLboolean _glewInit_GL_ARB_color_
3265    
3266  #endif /* GL_ARB_color_buffer_float */  #endif /* GL_ARB_color_buffer_float */
3267    
3268    #ifdef GL_ARB_compatibility
3269    
3270    #endif /* GL_ARB_compatibility */
3271    
3272    #ifdef GL_ARB_copy_buffer
3273    
3274    static GLboolean _glewInit_GL_ARB_copy_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
3275    {
3276      GLboolean r = GL_FALSE;
3277    
3278      r = ((glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyBufferSubData")) == NULL) || r;
3279    
3280      return r;
3281    }
3282    
3283    #endif /* GL_ARB_copy_buffer */
3284    
3285  #ifdef GL_ARB_depth_buffer_float  #ifdef GL_ARB_depth_buffer_float
3286    
3287  #endif /* GL_ARB_depth_buffer_float */  #endif /* GL_ARB_depth_buffer_float */
3288    
3289    #ifdef GL_ARB_depth_clamp
3290    
3291    #endif /* GL_ARB_depth_clamp */
3292    
3293  #ifdef GL_ARB_depth_texture  #ifdef GL_ARB_depth_texture
3294    
3295  #endif /* GL_ARB_depth_texture */  #endif /* GL_ARB_depth_texture */
# Line 2700  static GLboolean _glewInit_GL_ARB_draw_b Line 3307  static GLboolean _glewInit_GL_ARB_draw_b
3307    
3308  #endif /* GL_ARB_draw_buffers */  #endif /* GL_ARB_draw_buffers */
3309    
3310    #ifdef GL_ARB_draw_buffers_blend
3311    
3312    static GLboolean _glewInit_GL_ARB_draw_buffers_blend (GLEW_CONTEXT_ARG_DEF_INIT)
3313    {
3314      GLboolean r = GL_FALSE;
3315    
3316      r = ((glBlendEquationSeparateiARB = (PFNGLBLENDEQUATIONSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateiARB")) == NULL) || r;
3317      r = ((glBlendEquationiARB = (PFNGLBLENDEQUATIONIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationiARB")) == NULL) || r;
3318      r = ((glBlendFuncSeparateiARB = (PFNGLBLENDFUNCSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateiARB")) == NULL) || r;
3319      r = ((glBlendFunciARB = (PFNGLBLENDFUNCIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFunciARB")) == NULL) || r;
3320    
3321      return r;
3322    }
3323    
3324    #endif /* GL_ARB_draw_buffers_blend */
3325    
3326    #ifdef GL_ARB_draw_elements_base_vertex
3327    
3328    static GLboolean _glewInit_GL_ARB_draw_elements_base_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
3329    {
3330      GLboolean r = GL_FALSE;
3331    
3332      r = ((glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsBaseVertex")) == NULL) || r;
3333      r = ((glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertex")) == NULL) || r;
3334      r = ((glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsBaseVertex")) == NULL) || r;
3335      r = ((glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsBaseVertex")) == NULL) || r;
3336    
3337      return r;
3338    }
3339    
3340    #endif /* GL_ARB_draw_elements_base_vertex */
3341    
3342    #ifdef GL_ARB_draw_indirect
3343    
3344    static GLboolean _glewInit_GL_ARB_draw_indirect (GLEW_CONTEXT_ARG_DEF_INIT)
3345    {
3346      GLboolean r = GL_FALSE;
3347    
3348      r = ((glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysIndirect")) == NULL) || r;
3349      r = ((glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsIndirect")) == NULL) || r;
3350    
3351      return r;
3352    }
3353    
3354    #endif /* GL_ARB_draw_indirect */
3355    
3356  #ifdef GL_ARB_draw_instanced  #ifdef GL_ARB_draw_instanced
3357    
3358  static GLboolean _glewInit_GL_ARB_draw_instanced (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_ARB_draw_instanced (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 2714  static GLboolean _glewInit_GL_ARB_draw_i Line 3367  static GLboolean _glewInit_GL_ARB_draw_i
3367    
3368  #endif /* GL_ARB_draw_instanced */  #endif /* GL_ARB_draw_instanced */
3369    
3370    #ifdef GL_ARB_explicit_attrib_location
3371    
3372    #endif /* GL_ARB_explicit_attrib_location */
3373    
3374    #ifdef GL_ARB_fragment_coord_conventions
3375    
3376    #endif /* GL_ARB_fragment_coord_conventions */
3377    
3378  #ifdef GL_ARB_fragment_program  #ifdef GL_ARB_fragment_program
3379    
3380  #endif /* GL_ARB_fragment_program */  #endif /* GL_ARB_fragment_program */
# Line 2739  static GLboolean _glewInit_GL_ARB_frameb Line 3400  static GLboolean _glewInit_GL_ARB_frameb
3400    r = ((glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffers")) == NULL) || r;    r = ((glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffers")) == NULL) || r;
3401    r = ((glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffers")) == NULL) || r;    r = ((glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffers")) == NULL) || r;
3402    r = ((glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbuffer")) == NULL) || r;    r = ((glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbuffer")) == NULL) || r;
   r = ((glFramebufferTexturLayer = (PFNGLFRAMEBUFFERTEXTURLAYERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexturLayer")) == NULL) || r;  
3403    r = ((glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1D")) == NULL) || r;    r = ((glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1D")) == NULL) || r;
3404    r = ((glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2D")) == NULL) || r;    r = ((glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2D")) == NULL) || r;
3405    r = ((glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3D")) == NULL) || r;    r = ((glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3D")) == NULL) || r;
3406      r = ((glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayer")) == NULL) || r;
3407    r = ((glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffers")) == NULL) || r;    r = ((glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffers")) == NULL) || r;
3408    r = ((glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffers")) == NULL) || r;    r = ((glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffers")) == NULL) || r;
3409    r = ((glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmap")) == NULL) || r;    r = ((glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmap")) == NULL) || r;
# Line 2778  static GLboolean _glewInit_GL_ARB_geomet Line 3439  static GLboolean _glewInit_GL_ARB_geomet
3439    
3440  #endif /* GL_ARB_geometry_shader4 */  #endif /* GL_ARB_geometry_shader4 */
3441    
3442    #ifdef GL_ARB_gpu_shader5
3443    
3444    #endif /* GL_ARB_gpu_shader5 */
3445    
3446    #ifdef GL_ARB_gpu_shader_fp64
3447    
3448    #endif /* GL_ARB_gpu_shader_fp64 */
3449    
3450  #ifdef GL_ARB_half_float_pixel  #ifdef GL_ARB_half_float_pixel
3451    
3452  #endif /* GL_ARB_half_float_pixel */  #endif /* GL_ARB_half_float_pixel */
# Line 2954  static GLboolean _glewInit_GL_ARB_occlus Line 3623  static GLboolean _glewInit_GL_ARB_occlus
3623    
3624  #endif /* GL_ARB_occlusion_query */  #endif /* GL_ARB_occlusion_query */
3625    
3626    #ifdef GL_ARB_occlusion_query2
3627    
3628    #endif /* GL_ARB_occlusion_query2 */
3629    
3630  #ifdef GL_ARB_pixel_buffer_object  #ifdef GL_ARB_pixel_buffer_object
3631    
3632  #endif /* GL_ARB_pixel_buffer_object */  #endif /* GL_ARB_pixel_buffer_object */
# Line 2976  static GLboolean _glewInit_GL_ARB_point_ Line 3649  static GLboolean _glewInit_GL_ARB_point_
3649    
3650  #endif /* GL_ARB_point_sprite */  #endif /* GL_ARB_point_sprite */
3651    
3652    #ifdef GL_ARB_provoking_vertex
3653    
3654    static GLboolean _glewInit_GL_ARB_provoking_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
3655    {
3656      GLboolean r = GL_FALSE;
3657    
3658      r = ((glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertex")) == NULL) || r;
3659    
3660      return r;
3661    }
3662    
3663    #endif /* GL_ARB_provoking_vertex */
3664    
3665    #ifdef GL_ARB_sample_shading
3666    
3667    static GLboolean _glewInit_GL_ARB_sample_shading (GLEW_CONTEXT_ARG_DEF_INIT)
3668    {
3669      GLboolean r = GL_FALSE;
3670    
3671      r = ((glMinSampleShadingARB = (PFNGLMINSAMPLESHADINGARBPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShadingARB")) == NULL) || r;
3672    
3673      return r;
3674    }
3675    
3676    #endif /* GL_ARB_sample_shading */
3677    
3678    #ifdef GL_ARB_sampler_objects
3679    
3680    static GLboolean _glewInit_GL_ARB_sampler_objects (GLEW_CONTEXT_ARG_DEF_INIT)
3681    {
3682      GLboolean r = GL_FALSE;
3683    
3684      r = ((glBindSampler = (PFNGLBINDSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glBindSampler")) == NULL) || r;
3685      r = ((glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteSamplers")) == NULL) || r;
3686      r = ((glGenSamplers = (PFNGLGENSAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glGenSamplers")) == NULL) || r;
3687      r = ((glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIiv")) == NULL) || r;
3688      r = ((glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIuiv")) == NULL) || r;
3689      r = ((glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterfv")) == NULL) || r;
3690      r = ((glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameteriv")) == NULL) || r;
3691      r = ((glIsSampler = (PFNGLISSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glIsSampler")) == NULL) || r;
3692      r = ((glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIiv")) == NULL) || r;
3693      r = ((glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIuiv")) == NULL) || r;
3694      r = ((glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterf")) == NULL) || r;
3695      r = ((glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterfv")) == NULL) || r;
3696      r = ((glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteri")) == NULL) || r;
3697      r = ((glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteriv")) == NULL) || r;
3698    
3699      return r;
3700    }
3701    
3702    #endif /* GL_ARB_sampler_objects */
3703    
3704    #ifdef GL_ARB_seamless_cube_map
3705    
3706    #endif /* GL_ARB_seamless_cube_map */
3707    
3708    #ifdef GL_ARB_shader_bit_encoding
3709    
3710    #endif /* GL_ARB_shader_bit_encoding */
3711    
3712  #ifdef GL_ARB_shader_objects  #ifdef GL_ARB_shader_objects
3713    
3714  static GLboolean _glewInit_GL_ARB_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_ARB_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 3027  static GLboolean _glewInit_GL_ARB_shader Line 3760  static GLboolean _glewInit_GL_ARB_shader
3760    
3761  #endif /* GL_ARB_shader_objects */  #endif /* GL_ARB_shader_objects */
3762    
3763    #ifdef GL_ARB_shader_subroutine
3764    
3765    static GLboolean _glewInit_GL_ARB_shader_subroutine (GLEW_CONTEXT_ARG_DEF_INIT)
3766    {
3767      GLboolean r = GL_FALSE;
3768    
3769      r = ((glGetActiveSubroutineName = (PFNGLGETACTIVESUBROUTINENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineName")) == NULL) || r;
3770      r = ((glGetActiveSubroutineUniformName = (PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformName")) == NULL) || r;
3771      r = ((glGetActiveSubroutineUniformiv = (PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformiv")) == NULL) || r;
3772      r = ((glGetProgramStageiv = (PFNGLGETPROGRAMSTAGEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStageiv")) == NULL) || r;
3773      r = ((glGetSubroutineIndex = (PFNGLGETSUBROUTINEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineIndex")) == NULL) || r;
3774      r = ((glGetSubroutineUniformLocation = (PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineUniformLocation")) == NULL) || r;
3775      r = ((glGetUniformSubroutineuiv = (PFNGLGETUNIFORMSUBROUTINEUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformSubroutineuiv")) == NULL) || r;
3776      r = ((glUniformSubroutinesuiv = (PFNGLUNIFORMSUBROUTINESUIVPROC)glewGetProcAddress((const GLubyte*)"glUniformSubroutinesuiv")) == NULL) || r;
3777    
3778      return r;
3779    }
3780    
3781    #endif /* GL_ARB_shader_subroutine */
3782    
3783    #ifdef GL_ARB_shader_texture_lod
3784    
3785    #endif /* GL_ARB_shader_texture_lod */
3786    
3787  #ifdef GL_ARB_shading_language_100  #ifdef GL_ARB_shading_language_100
3788    
3789  #endif /* GL_ARB_shading_language_100 */  #endif /* GL_ARB_shading_language_100 */
3790    
3791    #ifdef GL_ARB_shading_language_include
3792    
3793    static GLboolean _glewInit_GL_ARB_shading_language_include (GLEW_CONTEXT_ARG_DEF_INIT)
3794    {
3795      GLboolean r = GL_FALSE;
3796    
3797      r = ((glCompileShaderIncludeARB = (PFNGLCOMPILESHADERINCLUDEARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderIncludeARB")) == NULL) || r;
3798      r = ((glDeleteNamedStringARB = (PFNGLDELETENAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamedStringARB")) == NULL) || r;
3799      r = ((glGetNamedStringARB = (PFNGLGETNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringARB")) == NULL) || r;
3800      r = ((glGetNamedStringivARB = (PFNGLGETNAMEDSTRINGIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringivARB")) == NULL) || r;
3801      r = ((glIsNamedStringARB = (PFNGLISNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glIsNamedStringARB")) == NULL) || r;
3802      r = ((glNamedStringARB = (PFNGLNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glNamedStringARB")) == NULL) || r;
3803    
3804      return r;
3805    }
3806    
3807    #endif /* GL_ARB_shading_language_include */
3808    
3809  #ifdef GL_ARB_shadow  #ifdef GL_ARB_shadow
3810    
3811  #endif /* GL_ARB_shadow */  #endif /* GL_ARB_shadow */
# Line 3039  static GLboolean _glewInit_GL_ARB_shader Line 3814  static GLboolean _glewInit_GL_ARB_shader
3814    
3815  #endif /* GL_ARB_shadow_ambient */  #endif /* GL_ARB_shadow_ambient */
3816    
3817    #ifdef GL_ARB_sync
3818    
3819    static GLboolean _glewInit_GL_ARB_sync (GLEW_CONTEXT_ARG_DEF_INIT)
3820    {
3821      GLboolean r = GL_FALSE;
3822    
3823      r = ((glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glClientWaitSync")) == NULL) || r;
3824      r = ((glDeleteSync = (PFNGLDELETESYNCPROC)glewGetProcAddress((const GLubyte*)"glDeleteSync")) == NULL) || r;
3825      r = ((glFenceSync = (PFNGLFENCESYNCPROC)glewGetProcAddress((const GLubyte*)"glFenceSync")) == NULL) || r;
3826      r = ((glGetInteger64v = (PFNGLGETINTEGER64VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64v")) == NULL) || r;
3827      r = ((glGetSynciv = (PFNGLGETSYNCIVPROC)glewGetProcAddress((const GLubyte*)"glGetSynciv")) == NULL) || r;
3828      r = ((glIsSync = (PFNGLISSYNCPROC)glewGetProcAddress((const GLubyte*)"glIsSync")) == NULL) || r;
3829      r = ((glWaitSync = (PFNGLWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glWaitSync")) == NULL) || r;
3830    
3831      return r;
3832    }
3833    
3834    #endif /* GL_ARB_sync */
3835    
3836    #ifdef GL_ARB_tessellation_shader
3837    
3838    static GLboolean _glewInit_GL_ARB_tessellation_shader (GLEW_CONTEXT_ARG_DEF_INIT)
3839    {
3840      GLboolean r = GL_FALSE;
3841    
3842      r = ((glPatchParameterfv = (PFNGLPATCHPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPatchParameterfv")) == NULL) || r;
3843      r = ((glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPatchParameteri")) == NULL) || r;
3844    
3845      return r;
3846    }
3847    
3848    #endif /* GL_ARB_tessellation_shader */
3849    
3850  #ifdef GL_ARB_texture_border_clamp  #ifdef GL_ARB_texture_border_clamp
3851    
3852  #endif /* GL_ARB_texture_border_clamp */  #endif /* GL_ARB_texture_border_clamp */
# Line 3056  static GLboolean _glewInit_GL_ARB_textur Line 3864  static GLboolean _glewInit_GL_ARB_textur
3864    
3865  #endif /* GL_ARB_texture_buffer_object */  #endif /* GL_ARB_texture_buffer_object */
3866    
3867    #ifdef GL_ARB_texture_buffer_object_rgb32
3868    
3869    #endif /* GL_ARB_texture_buffer_object_rgb32 */
3870    
3871  #ifdef GL_ARB_texture_compression  #ifdef GL_ARB_texture_compression
3872    
3873  static GLboolean _glewInit_GL_ARB_texture_compression (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_ARB_texture_compression (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 3075  static GLboolean _glewInit_GL_ARB_textur Line 3887  static GLboolean _glewInit_GL_ARB_textur
3887    
3888  #endif /* GL_ARB_texture_compression */  #endif /* GL_ARB_texture_compression */
3889    
3890    #ifdef GL_ARB_texture_compression_bptc
3891    
3892    #endif /* GL_ARB_texture_compression_bptc */
3893    
3894  #ifdef GL_ARB_texture_compression_rgtc  #ifdef GL_ARB_texture_compression_rgtc
3895    
3896  #endif /* GL_ARB_texture_compression_rgtc */  #endif /* GL_ARB_texture_compression_rgtc */
# Line 3083  static GLboolean _glewInit_GL_ARB_textur Line 3899  static GLboolean _glewInit_GL_ARB_textur
3899    
3900  #endif /* GL_ARB_texture_cube_map */  #endif /* GL_ARB_texture_cube_map */
3901    
3902    #ifdef GL_ARB_texture_cube_map_array
3903    
3904    #endif /* GL_ARB_texture_cube_map_array */
3905    
3906  #ifdef GL_ARB_texture_env_add  #ifdef GL_ARB_texture_env_add
3907    
3908  #endif /* GL_ARB_texture_env_add */  #endif /* GL_ARB_texture_env_add */
# Line 3103  static GLboolean _glewInit_GL_ARB_textur Line 3923  static GLboolean _glewInit_GL_ARB_textur
3923    
3924  #endif /* GL_ARB_texture_float */  #endif /* GL_ARB_texture_float */
3925    
3926    #ifdef GL_ARB_texture_gather
3927    
3928    #endif /* GL_ARB_texture_gather */
3929    
3930  #ifdef GL_ARB_texture_mirrored_repeat  #ifdef GL_ARB_texture_mirrored_repeat
3931    
3932  #endif /* GL_ARB_texture_mirrored_repeat */  #endif /* GL_ARB_texture_mirrored_repeat */
3933    
3934    #ifdef GL_ARB_texture_multisample
3935    
3936    static GLboolean _glewInit_GL_ARB_texture_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
3937    {
3938      GLboolean r = GL_FALSE;
3939    
3940      r = ((glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefv")) == NULL) || r;
3941      r = ((glSampleMaski = (PFNGLSAMPLEMASKIPROC)glewGetProcAddress((const GLubyte*)"glSampleMaski")) == NULL) || r;
3942      r = ((glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisample")) == NULL) || r;
3943      r = ((glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisample")) == NULL) || r;
3944    
3945      return r;
3946    }
3947    
3948    #endif /* GL_ARB_texture_multisample */
3949    
3950  #ifdef GL_ARB_texture_non_power_of_two  #ifdef GL_ARB_texture_non_power_of_two
3951    
3952  #endif /* GL_ARB_texture_non_power_of_two */  #endif /* GL_ARB_texture_non_power_of_two */
3953    
3954    #ifdef GL_ARB_texture_query_lod
3955    
3956    #endif /* GL_ARB_texture_query_lod */
3957    
3958  #ifdef GL_ARB_texture_rectangle  #ifdef GL_ARB_texture_rectangle
3959    
3960  #endif /* GL_ARB_texture_rectangle */  #endif /* GL_ARB_texture_rectangle */
# Line 3119  static GLboolean _glewInit_GL_ARB_textur Line 3963  static GLboolean _glewInit_GL_ARB_textur
3963    
3964  #endif /* GL_ARB_texture_rg */  #endif /* GL_ARB_texture_rg */
3965    
3966    #ifdef GL_ARB_texture_rgb10_a2ui
3967    
3968    #endif /* GL_ARB_texture_rgb10_a2ui */
3969    
3970    #ifdef GL_ARB_texture_swizzle
3971    
3972    #endif /* GL_ARB_texture_swizzle */
3973    
3974    #ifdef GL_ARB_timer_query
3975    
3976    static GLboolean _glewInit_GL_ARB_timer_query (GLEW_CONTEXT_ARG_DEF_INIT)
3977    {
3978      GLboolean r = GL_FALSE;
3979    
3980      r = ((glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64v")) == NULL) || r;
3981      r = ((glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64v")) == NULL) || r;
3982      r = ((glQueryCounter = (PFNGLQUERYCOUNTERPROC)glewGetProcAddress((const GLubyte*)"glQueryCounter")) == NULL) || r;
3983    
3984      return r;
3985    }
3986    
3987    #endif /* GL_ARB_timer_query */
3988    
3989    #ifdef GL_ARB_transform_feedback2
3990    
3991    static GLboolean _glewInit_GL_ARB_transform_feedback2 (GLEW_CONTEXT_ARG_DEF_INIT)
3992    {
3993      GLboolean r = GL_FALSE;
3994    
3995      r = ((glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedback")) == NULL) || r;
3996      r = ((glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacks")) == NULL) || r;
3997      r = ((glDrawTransformFeedback = (PFNGLDRAWTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedback")) == NULL) || r;
3998      r = ((glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacks")) == NULL) || r;
3999      r = ((glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedback")) == NULL) || r;
4000      r = ((glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedback")) == NULL) || r;
4001      r = ((glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedback")) == NULL) || r;
4002    
4003      return r;
4004    }
4005    
4006    #endif /* GL_ARB_transform_feedback2 */
4007    
4008    #ifdef GL_ARB_transform_feedback3
4009    
4010    static GLboolean _glewInit_GL_ARB_transform_feedback3 (GLEW_CONTEXT_ARG_DEF_INIT)
4011    {
4012      GLboolean r = GL_FALSE;
4013    
4014      r = ((glBeginQueryIndexed = (PFNGLBEGINQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryIndexed")) == NULL) || r;
4015      r = ((glDrawTransformFeedbackStream = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStream")) == NULL) || r;
4016      r = ((glEndQueryIndexed = (PFNGLENDQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glEndQueryIndexed")) == NULL) || r;
4017      r = ((glGetQueryIndexediv = (PFNGLGETQUERYINDEXEDIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryIndexediv")) == NULL) || r;
4018    
4019      return r;
4020    }
4021    
4022    #endif /* GL_ARB_transform_feedback3 */
4023    
4024  #ifdef GL_ARB_transpose_matrix  #ifdef GL_ARB_transpose_matrix
4025    
4026  static GLboolean _glewInit_GL_ARB_transpose_matrix (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_ARB_transpose_matrix (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 3135  static GLboolean _glewInit_GL_ARB_transp Line 4037  static GLboolean _glewInit_GL_ARB_transp
4037    
4038  #endif /* GL_ARB_transpose_matrix */  #endif /* GL_ARB_transpose_matrix */
4039    
4040    #ifdef GL_ARB_uniform_buffer_object
4041    
4042    static GLboolean _glewInit_GL_ARB_uniform_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
4043    {
4044      GLboolean r = GL_FALSE;
4045    
4046      r = ((glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBase")) == NULL) || r;
4047      r = ((glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRange")) == NULL) || r;
4048      r = ((glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockName")) == NULL) || r;
4049      r = ((glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockiv")) == NULL) || r;
4050      r = ((glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformName")) == NULL) || r;
4051      r = ((glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformsiv")) == NULL) || r;
4052      r = ((glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)glewGetProcAddress((const GLubyte*)"glGetIntegeri_v")) == NULL) || r;
4053      r = ((glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBlockIndex")) == NULL) || r;
4054      r = ((glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)glewGetProcAddress((const GLubyte*)"glGetUniformIndices")) == NULL) || r;
4055      r = ((glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glUniformBlockBinding")) == NULL) || r;
4056    
4057      return r;
4058    }
4059    
4060    #endif /* GL_ARB_uniform_buffer_object */
4061    
4062    #ifdef GL_ARB_vertex_array_bgra
4063    
4064    #endif /* GL_ARB_vertex_array_bgra */
4065    
4066  #ifdef GL_ARB_vertex_array_object  #ifdef GL_ARB_vertex_array_object
4067    
4068  static GLboolean _glewInit_GL_ARB_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_ARB_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 3285  static GLboolean _glewInit_GL_ARB_vertex Line 4213  static GLboolean _glewInit_GL_ARB_vertex
4213    
4214  #endif /* GL_ARB_vertex_shader */  #endif /* GL_ARB_vertex_shader */
4215    
4216    #ifdef GL_ARB_vertex_type_2_10_10_10_rev
4217    
4218    static GLboolean _glewInit_GL_ARB_vertex_type_2_10_10_10_rev (GLEW_CONTEXT_ARG_DEF_INIT)
4219    {
4220      GLboolean r = GL_FALSE;
4221    
4222      r = ((glColorP3ui = (PFNGLCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glColorP3ui")) == NULL) || r;
4223      r = ((glColorP3uiv = (PFNGLCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP3uiv")) == NULL) || r;
4224      r = ((glColorP4ui = (PFNGLCOLORP4UIPROC)glewGetProcAddress((const GLubyte*)"glColorP4ui")) == NULL) || r;
4225      r = ((glColorP4uiv = (PFNGLCOLORP4UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP4uiv")) == NULL) || r;
4226      r = ((glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1ui")) == NULL) || r;
4227      r = ((glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1uiv")) == NULL) || r;
4228      r = ((glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2ui")) == NULL) || r;
4229      r = ((glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2uiv")) == NULL) || r;
4230      r = ((glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3ui")) == NULL) || r;
4231      r = ((glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3uiv")) == NULL) || r;
4232      r = ((glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4ui")) == NULL) || r;
4233      r = ((glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4uiv")) == NULL) || r;
4234      r = ((glNormalP3ui = (PFNGLNORMALP3UIPROC)glewGetProcAddress((const GLubyte*)"glNormalP3ui")) == NULL) || r;
4235      r = ((glNormalP3uiv = (PFNGLNORMALP3UIVPROC)glewGetProcAddress((const GLubyte*)"glNormalP3uiv")) == NULL) || r;
4236      r = ((glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3ui")) == NULL) || r;
4237      r = ((glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3uiv")) == NULL) || r;
4238      r = ((glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1ui")) == NULL) || r;
4239      r = ((glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1uiv")) == NULL) || r;
4240      r = ((glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2ui")) == NULL) || r;
4241      r = ((glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2uiv")) == NULL) || r;
4242      r = ((glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3ui")) == NULL) || r;
4243      r = ((glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3uiv")) == NULL) || r;
4244      r = ((glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4ui")) == NULL) || r;
4245      r = ((glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4uiv")) == NULL) || r;
4246      r = ((glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1ui")) == NULL) || r;
4247      r = ((glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1uiv")) == NULL) || r;
4248      r = ((glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2ui")) == NULL) || r;
4249      r = ((glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2uiv")) == NULL) || r;
4250      r = ((glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3ui")) == NULL) || r;
4251      r = ((glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3uiv")) == NULL) || r;
4252      r = ((glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4ui")) == NULL) || r;
4253      r = ((glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4uiv")) == NULL) || r;
4254      r = ((glVertexP2ui = (PFNGLVERTEXP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP2ui")) == NULL) || r;
4255      r = ((glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP2uiv")) == NULL) || r;
4256      r = ((glVertexP3ui = (PFNGLVERTEXP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP3ui")) == NULL) || r;
4257      r = ((glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP3uiv")) == NULL) || r;
4258      r = ((glVertexP4ui = (PFNGLVERTEXP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP4ui")) == NULL) || r;
4259      r = ((glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP4uiv")) == NULL) || r;
4260    
4261      return r;
4262    }
4263    
4264    #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
4265    
4266  #ifdef GL_ARB_window_pos  #ifdef GL_ARB_window_pos
4267    
4268  static GLboolean _glewInit_GL_ARB_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_ARB_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 3413  static GLboolean _glewInit_GL_ATI_map_ob Line 4391  static GLboolean _glewInit_GL_ATI_map_ob
4391    
4392  #endif /* GL_ATI_map_object_buffer */  #endif /* GL_ATI_map_object_buffer */
4393    
4394    #ifdef GL_ATI_meminfo
4395    
4396    #endif /* GL_ATI_meminfo */
4397    
4398  #ifdef GL_ATI_pn_triangles  #ifdef GL_ATI_pn_triangles
4399    
4400  static GLboolean _glewInit_GL_ATI_pn_triangles (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_ATI_pn_triangles (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 3795  static GLboolean _glewInit_GL_EXT_direct Line 4777  static GLboolean _glewInit_GL_EXT_direct
4777    r = ((glCopyTextureSubImage2DEXT = (PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage2DEXT")) == NULL) || r;    r = ((glCopyTextureSubImage2DEXT = (PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage2DEXT")) == NULL) || r;
4778    r = ((glCopyTextureSubImage3DEXT = (PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage3DEXT")) == NULL) || r;    r = ((glCopyTextureSubImage3DEXT = (PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage3DEXT")) == NULL) || r;
4779    r = ((glDisableClientStateIndexedEXT = (PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateIndexedEXT")) == NULL) || r;    r = ((glDisableClientStateIndexedEXT = (PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateIndexedEXT")) == NULL) || r;
4780      r = ((glDisableClientStateiEXT = (PFNGLDISABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateiEXT")) == NULL) || r;
4781      r = ((glDisableVertexArrayAttribEXT = (PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayAttribEXT")) == NULL) || r;
4782      r = ((glDisableVertexArrayEXT = (PFNGLDISABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayEXT")) == NULL) || r;
4783    r = ((glEnableClientStateIndexedEXT = (PFNGLENABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateIndexedEXT")) == NULL) || r;    r = ((glEnableClientStateIndexedEXT = (PFNGLENABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateIndexedEXT")) == NULL) || r;
4784      r = ((glEnableClientStateiEXT = (PFNGLENABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateiEXT")) == NULL) || r;
4785      r = ((glEnableVertexArrayAttribEXT = (PFNGLENABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayAttribEXT")) == NULL) || r;
4786      r = ((glEnableVertexArrayEXT = (PFNGLENABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayEXT")) == NULL) || r;
4787      r = ((glFlushMappedNamedBufferRangeEXT = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedNamedBufferRangeEXT")) == NULL) || r;
4788    r = ((glFramebufferDrawBufferEXT = (PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBufferEXT")) == NULL) || r;    r = ((glFramebufferDrawBufferEXT = (PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBufferEXT")) == NULL) || r;
4789    r = ((glFramebufferDrawBuffersEXT = (PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBuffersEXT")) == NULL) || r;    r = ((glFramebufferDrawBuffersEXT = (PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBuffersEXT")) == NULL) || r;
4790    r = ((glFramebufferReadBufferEXT = (PFNGLFRAMEBUFFERREADBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferReadBufferEXT")) == NULL) || r;    r = ((glFramebufferReadBufferEXT = (PFNGLFRAMEBUFFERREADBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferReadBufferEXT")) == NULL) || r;
# Line 3804  static GLboolean _glewInit_GL_EXT_direct Line 4793  static GLboolean _glewInit_GL_EXT_direct
4793    r = ((glGetCompressedMultiTexImageEXT = (PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedMultiTexImageEXT")) == NULL) || r;    r = ((glGetCompressedMultiTexImageEXT = (PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedMultiTexImageEXT")) == NULL) || r;
4794    r = ((glGetCompressedTextureImageEXT = (PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureImageEXT")) == NULL) || r;    r = ((glGetCompressedTextureImageEXT = (PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureImageEXT")) == NULL) || r;
4795    r = ((glGetDoubleIndexedvEXT = (PFNGLGETDOUBLEINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoubleIndexedvEXT")) == NULL) || r;    r = ((glGetDoubleIndexedvEXT = (PFNGLGETDOUBLEINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoubleIndexedvEXT")) == NULL) || r;
4796      r = ((glGetDoublei_vEXT = (PFNGLGETDOUBLEI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_vEXT")) == NULL) || r;
4797    r = ((glGetFloatIndexedvEXT = (PFNGLGETFLOATINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloatIndexedvEXT")) == NULL) || r;    r = ((glGetFloatIndexedvEXT = (PFNGLGETFLOATINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloatIndexedvEXT")) == NULL) || r;
4798      r = ((glGetFloati_vEXT = (PFNGLGETFLOATI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_vEXT")) == NULL) || r;
4799    r = ((glGetFramebufferParameterivEXT = (PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameterivEXT")) == NULL) || r;    r = ((glGetFramebufferParameterivEXT = (PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameterivEXT")) == NULL) || r;
4800    r = ((glGetMultiTexEnvfvEXT = (PFNGLGETMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvfvEXT")) == NULL) || r;    r = ((glGetMultiTexEnvfvEXT = (PFNGLGETMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvfvEXT")) == NULL) || r;
4801    r = ((glGetMultiTexEnvivEXT = (PFNGLGETMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvivEXT")) == NULL) || r;    r = ((glGetMultiTexEnvivEXT = (PFNGLGETMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvivEXT")) == NULL) || r;
# Line 3830  static GLboolean _glewInit_GL_EXT_direct Line 4821  static GLboolean _glewInit_GL_EXT_direct
4821    r = ((glGetNamedProgramivEXT = (PFNGLGETNAMEDPROGRAMIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramivEXT")) == NULL) || r;    r = ((glGetNamedProgramivEXT = (PFNGLGETNAMEDPROGRAMIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramivEXT")) == NULL) || r;
4822    r = ((glGetNamedRenderbufferParameterivEXT = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedRenderbufferParameterivEXT")) == NULL) || r;    r = ((glGetNamedRenderbufferParameterivEXT = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedRenderbufferParameterivEXT")) == NULL) || r;
4823    r = ((glGetPointerIndexedvEXT = (PFNGLGETPOINTERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointerIndexedvEXT")) == NULL) || r;    r = ((glGetPointerIndexedvEXT = (PFNGLGETPOINTERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointerIndexedvEXT")) == NULL) || r;
4824      r = ((glGetPointeri_vEXT = (PFNGLGETPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointeri_vEXT")) == NULL) || r;
4825    r = ((glGetTextureImageEXT = (PFNGLGETTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureImageEXT")) == NULL) || r;    r = ((glGetTextureImageEXT = (PFNGLGETTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureImageEXT")) == NULL) || r;
4826    r = ((glGetTextureLevelParameterfvEXT = (PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterfvEXT")) == NULL) || r;    r = ((glGetTextureLevelParameterfvEXT = (PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterfvEXT")) == NULL) || r;
4827    r = ((glGetTextureLevelParameterivEXT = (PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterivEXT")) == NULL) || r;    r = ((glGetTextureLevelParameterivEXT = (PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterivEXT")) == NULL) || r;
# Line 3837  static GLboolean _glewInit_GL_EXT_direct Line 4829  static GLboolean _glewInit_GL_EXT_direct
4829    r = ((glGetTextureParameterIuivEXT = (PFNGLGETTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIuivEXT")) == NULL) || r;    r = ((glGetTextureParameterIuivEXT = (PFNGLGETTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIuivEXT")) == NULL) || r;
4830    r = ((glGetTextureParameterfvEXT = (PFNGLGETTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterfvEXT")) == NULL) || r;    r = ((glGetTextureParameterfvEXT = (PFNGLGETTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterfvEXT")) == NULL) || r;
4831    r = ((glGetTextureParameterivEXT = (PFNGLGETTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterivEXT")) == NULL) || r;    r = ((glGetTextureParameterivEXT = (PFNGLGETTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterivEXT")) == NULL) || r;
4832      r = ((glGetVertexArrayIntegeri_vEXT = (PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegeri_vEXT")) == NULL) || r;
4833      r = ((glGetVertexArrayIntegervEXT = (PFNGLGETVERTEXARRAYINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegervEXT")) == NULL) || r;
4834      r = ((glGetVertexArrayPointeri_vEXT = (PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointeri_vEXT")) == NULL) || r;
4835      r = ((glGetVertexArrayPointervEXT = (PFNGLGETVERTEXARRAYPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointervEXT")) == NULL) || r;
4836    r = ((glMapNamedBufferEXT = (PFNGLMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferEXT")) == NULL) || r;    r = ((glMapNamedBufferEXT = (PFNGLMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferEXT")) == NULL) || r;
4837      r = ((glMapNamedBufferRangeEXT = (PFNGLMAPNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferRangeEXT")) == NULL) || r;
4838    r = ((glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixFrustumEXT")) == NULL) || r;    r = ((glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixFrustumEXT")) == NULL) || r;
4839    r = ((glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadIdentityEXT")) == NULL) || r;    r = ((glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadIdentityEXT")) == NULL) || r;
4840    r = ((glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposedEXT")) == NULL) || r;    r = ((glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposedEXT")) == NULL) || r;
# Line 3884  static GLboolean _glewInit_GL_EXT_direct Line 4881  static GLboolean _glewInit_GL_EXT_direct
4881    r = ((glMultiTexSubImage3DEXT = (PFNGLMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage3DEXT")) == NULL) || r;    r = ((glMultiTexSubImage3DEXT = (PFNGLMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage3DEXT")) == NULL) || r;
4882    r = ((glNamedBufferDataEXT = (PFNGLNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferDataEXT")) == NULL) || r;    r = ((glNamedBufferDataEXT = (PFNGLNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferDataEXT")) == NULL) || r;
4883    r = ((glNamedBufferSubDataEXT = (PFNGLNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferSubDataEXT")) == NULL) || r;    r = ((glNamedBufferSubDataEXT = (PFNGLNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferSubDataEXT")) == NULL) || r;
4884      r = ((glNamedCopyBufferSubDataEXT = (PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedCopyBufferSubDataEXT")) == NULL) || r;
4885    r = ((glNamedFramebufferRenderbufferEXT = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferRenderbufferEXT")) == NULL) || r;    r = ((glNamedFramebufferRenderbufferEXT = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferRenderbufferEXT")) == NULL) || r;
4886    r = ((glNamedFramebufferTexture1DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture1DEXT")) == NULL) || r;    r = ((glNamedFramebufferTexture1DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture1DEXT")) == NULL) || r;
4887    r = ((glNamedFramebufferTexture2DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture2DEXT")) == NULL) || r;    r = ((glNamedFramebufferTexture2DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture2DEXT")) == NULL) || r;
# Line 3955  static GLboolean _glewInit_GL_EXT_direct Line 4953  static GLboolean _glewInit_GL_EXT_direct
4953    r = ((glTextureSubImage2DEXT = (PFNGLTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage2DEXT")) == NULL) || r;    r = ((glTextureSubImage2DEXT = (PFNGLTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage2DEXT")) == NULL) || r;
4954    r = ((glTextureSubImage3DEXT = (PFNGLTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage3DEXT")) == NULL) || r;    r = ((glTextureSubImage3DEXT = (PFNGLTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage3DEXT")) == NULL) || r;
4955    r = ((glUnmapNamedBufferEXT = (PFNGLUNMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUnmapNamedBufferEXT")) == NULL) || r;    r = ((glUnmapNamedBufferEXT = (PFNGLUNMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUnmapNamedBufferEXT")) == NULL) || r;
4956      r = ((glVertexArrayColorOffsetEXT = (PFNGLVERTEXARRAYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayColorOffsetEXT")) == NULL) || r;
4957      r = ((glVertexArrayEdgeFlagOffsetEXT = (PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayEdgeFlagOffsetEXT")) == NULL) || r;
4958      r = ((glVertexArrayFogCoordOffsetEXT = (PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayFogCoordOffsetEXT")) == NULL) || r;
4959      r = ((glVertexArrayIndexOffsetEXT = (PFNGLVERTEXARRAYINDEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayIndexOffsetEXT")) == NULL) || r;
4960      r = ((glVertexArrayMultiTexCoordOffsetEXT = (PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayMultiTexCoordOffsetEXT")) == NULL) || r;
4961      r = ((glVertexArrayNormalOffsetEXT = (PFNGLVERTEXARRAYNORMALOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayNormalOffsetEXT")) == NULL) || r;
4962      r = ((glVertexArraySecondaryColorOffsetEXT = (PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArraySecondaryColorOffsetEXT")) == NULL) || r;
4963      r = ((glVertexArrayTexCoordOffsetEXT = (PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayTexCoordOffsetEXT")) == NULL) || r;
4964      r = ((glVertexArrayVertexAttribIOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribIOffsetEXT")) == NULL) || r;
4965      r = ((glVertexArrayVertexAttribOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribOffsetEXT")) == NULL) || r;
4966      r = ((glVertexArrayVertexOffsetEXT = (PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexOffsetEXT")) == NULL) || r;
4967    
4968    return r;    return r;
4969  }  }
# Line 4372  static GLboolean _glewInit_GL_EXT_polygo Line 5381  static GLboolean _glewInit_GL_EXT_polygo
5381    
5382  #endif /* GL_EXT_polygon_offset */  #endif /* GL_EXT_polygon_offset */
5383    
5384    #ifdef GL_EXT_provoking_vertex
5385    
5386    static GLboolean _glewInit_GL_EXT_provoking_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
5387    {
5388      GLboolean r = GL_FALSE;
5389    
5390      r = ((glProvokingVertexEXT = (PFNGLPROVOKINGVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertexEXT")) == NULL) || r;
5391    
5392      return r;
5393    }
5394    
5395    #endif /* GL_EXT_provoking_vertex */
5396    
5397  #ifdef GL_EXT_rescale_normal  #ifdef GL_EXT_rescale_normal
5398    
5399  #endif /* GL_EXT_rescale_normal */  #endif /* GL_EXT_rescale_normal */
# Line 4419  static GLboolean _glewInit_GL_EXT_second Line 5441  static GLboolean _glewInit_GL_EXT_second
5441    
5442  #endif /* GL_EXT_secondary_color */  #endif /* GL_EXT_secondary_color */
5443    
5444    #ifdef GL_EXT_separate_shader_objects
5445    
5446    static GLboolean _glewInit_GL_EXT_separate_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)
5447    {
5448      GLboolean r = GL_FALSE;
5449    
5450      r = ((glActiveProgramEXT = (PFNGLACTIVEPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveProgramEXT")) == NULL) || r;
5451      r = ((glCreateShaderProgramEXT = (PFNGLCREATESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramEXT")) == NULL) || r;
5452      r = ((glUseShaderProgramEXT = (PFNGLUSESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glUseShaderProgramEXT")) == NULL) || r;
5453    
5454      return r;
5455    }
5456    
5457    #endif /* GL_EXT_separate_shader_objects */
5458    
5459  #ifdef GL_EXT_separate_specular_color  #ifdef GL_EXT_separate_specular_color
5460    
5461  #endif /* GL_EXT_separate_specular_color */  #endif /* GL_EXT_separate_specular_color */
5462    
5463    #ifdef GL_EXT_shader_image_load_store
5464    
5465    static GLboolean _glewInit_GL_EXT_shader_image_load_store (GLEW_CONTEXT_ARG_DEF_INIT)
5466    {
5467      GLboolean r = GL_FALSE;
5468    
5469      r = ((glBindImageTextureEXT = (PFNGLBINDIMAGETEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindImageTextureEXT")) == NULL) || r;
5470      r = ((glMemoryBarrierEXT = (PFNGLMEMORYBARRIEREXTPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrierEXT")) == NULL) || r;
5471    
5472      return r;
5473    }
5474    
5475    #endif /* GL_EXT_shader_image_load_store */
5476    
5477  #ifdef GL_EXT_shadow_funcs  #ifdef GL_EXT_shadow_funcs
5478    
5479  #endif /* GL_EXT_shadow_funcs */  #endif /* GL_EXT_shadow_funcs */
# Line 4614  static GLboolean _glewInit_GL_EXT_textur Line 5665  static GLboolean _glewInit_GL_EXT_textur
5665    
5666  #endif /* GL_EXT_texture_shared_exponent */  #endif /* GL_EXT_texture_shared_exponent */
5667    
5668    #ifdef GL_EXT_texture_snorm
5669    
5670    #endif /* GL_EXT_texture_snorm */
5671    
5672  #ifdef GL_EXT_texture_swizzle  #ifdef GL_EXT_texture_swizzle
5673    
5674  #endif /* GL_EXT_texture_swizzle */  #endif /* GL_EXT_texture_swizzle */
# Line 4676  static GLboolean _glewInit_GL_EXT_vertex Line 5731  static GLboolean _glewInit_GL_EXT_vertex
5731    
5732  #endif /* GL_EXT_vertex_array_bgra */  #endif /* GL_EXT_vertex_array_bgra */
5733    
5734    #ifdef GL_EXT_vertex_attrib_64bit
5735    
5736    static GLboolean _glewInit_GL_EXT_vertex_attrib_64bit (GLEW_CONTEXT_ARG_DEF_INIT)
5737    {
5738      GLboolean r = GL_FALSE;
5739    
5740      r = ((glGetVertexAttribLdvEXT = (PFNGLGETVERTEXATTRIBLDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdvEXT")) == NULL) || r;
5741      r = ((glVertexArrayVertexAttribLOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribLOffsetEXT")) == NULL) || r;
5742      r = ((glVertexAttribL1dEXT = (PFNGLVERTEXATTRIBL1DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dEXT")) == NULL) || r;
5743      r = ((glVertexAttribL1dvEXT = (PFNGLVERTEXATTRIBL1DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dvEXT")) == NULL) || r;
5744      r = ((glVertexAttribL2dEXT = (PFNGLVERTEXATTRIBL2DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dEXT")) == NULL) || r;
5745      r = ((glVertexAttribL2dvEXT = (PFNGLVERTEXATTRIBL2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dvEXT")) == NULL) || r;
5746      r = ((glVertexAttribL3dEXT = (PFNGLVERTEXATTRIBL3DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dEXT")) == NULL) || r;
5747      r = ((glVertexAttribL3dvEXT = (PFNGLVERTEXATTRIBL3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dvEXT")) == NULL) || r;
5748      r = ((glVertexAttribL4dEXT = (PFNGLVERTEXATTRIBL4DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dEXT")) == NULL) || r;
5749      r = ((glVertexAttribL4dvEXT = (PFNGLVERTEXATTRIBL4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dvEXT")) == NULL) || r;
5750      r = ((glVertexAttribLPointerEXT = (PFNGLVERTEXATTRIBLPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointerEXT")) == NULL) || r;
5751    
5752      return r;
5753    }
5754    
5755    #endif /* GL_EXT_vertex_attrib_64bit */
5756    
5757  #ifdef GL_EXT_vertex_shader  #ifdef GL_EXT_vertex_shader
5758    
5759  static GLboolean _glewInit_GL_EXT_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_EXT_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 4989  static GLboolean _glewInit_GL_NV_conditi Line 6067  static GLboolean _glewInit_GL_NV_conditi
6067    
6068  #endif /* GL_NV_copy_depth_to_color */  #endif /* GL_NV_copy_depth_to_color */
6069    
6070    #ifdef GL_NV_copy_image
6071    
6072    static GLboolean _glewInit_GL_NV_copy_image (GLEW_CONTEXT_ARG_DEF_INIT)
6073    {
6074      GLboolean r = GL_FALSE;
6075    
6076      r = ((glCopyImageSubDataNV = (PFNGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubDataNV")) == NULL) || r;
6077    
6078      return r;
6079    }
6080    
6081    #endif /* GL_NV_copy_image */
6082    
6083  #ifdef GL_NV_depth_buffer_float  #ifdef GL_NV_depth_buffer_float
6084    
6085  static GLboolean _glewInit_GL_NV_depth_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_NV_depth_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 5159  static GLboolean _glewInit_GL_NV_gpu_pro Line 6250  static GLboolean _glewInit_GL_NV_gpu_pro
6250    
6251  #endif /* GL_NV_gpu_program4 */  #endif /* GL_NV_gpu_program4 */
6252    
6253    #ifdef GL_NV_gpu_program5
6254    
6255    #endif /* GL_NV_gpu_program5 */
6256    
6257    #ifdef GL_NV_gpu_program_fp64
6258    
6259    #endif /* GL_NV_gpu_program_fp64 */
6260    
6261    #ifdef GL_NV_gpu_shader5
6262    
6263    static GLboolean _glewInit_GL_NV_gpu_shader5 (GLEW_CONTEXT_ARG_DEF_INIT)
6264    {
6265      GLboolean r = GL_FALSE;
6266    
6267      r = ((glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformi64vNV")) == NULL) || r;
6268      r = ((glGetUniformui64vNV = (PFNGLGETUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformui64vNV")) == NULL) || r;
6269      r = ((glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64NV")) == NULL) || r;
6270      r = ((glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64vNV")) == NULL) || r;
6271      r = ((glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64NV")) == NULL) || r;
6272      r = ((glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64vNV")) == NULL) || r;
6273      r = ((glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64NV")) == NULL) || r;
6274      r = ((glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64vNV")) == NULL) || r;
6275      r = ((glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64NV")) == NULL) || r;
6276      r = ((glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64vNV")) == NULL) || r;
6277      r = ((glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64NV")) == NULL) || r;
6278      r = ((glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64vNV")) == NULL) || r;
6279      r = ((glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64NV")) == NULL) || r;
6280      r = ((glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64vNV")) == NULL) || r;
6281      r = ((glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64NV")) == NULL) || r;
6282      r = ((glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64vNV")) == NULL) || r;
6283      r = ((glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64NV")) == NULL) || r;
6284      r = ((glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64vNV")) == NULL) || r;
6285      r = ((glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64NV")) == NULL) || r;
6286      r = ((glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64vNV")) == NULL) || r;
6287      r = ((glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64NV")) == NULL) || r;
6288      r = ((glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64vNV")) == NULL) || r;
6289      r = ((glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64NV")) == NULL) || r;
6290      r = ((glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64vNV")) == NULL) || r;
6291      r = ((glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64NV")) == NULL) || r;
6292      r = ((glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64vNV")) == NULL) || r;
6293      r = ((glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64NV")) == NULL) || r;
6294      r = ((glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64vNV")) == NULL) || r;
6295      r = ((glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64NV")) == NULL) || r;
6296      r = ((glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64vNV")) == NULL) || r;
6297      r = ((glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64NV")) == NULL) || r;
6298      r = ((glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64vNV")) == NULL) || r;
6299      r = ((glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64NV")) == NULL) || r;
6300      r = ((glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64vNV")) == NULL) || r;
6301    
6302      return r;
6303    }
6304    
6305    #endif /* GL_NV_gpu_shader5 */
6306    
6307  #ifdef GL_NV_half_float  #ifdef GL_NV_half_float
6308    
6309  static GLboolean _glewInit_GL_NV_half_float (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_NV_half_float (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 5263  static GLboolean _glewInit_GL_NV_paramet Line 6408  static GLboolean _glewInit_GL_NV_paramet
6408    
6409  #endif /* GL_NV_parameter_buffer_object */  #endif /* GL_NV_parameter_buffer_object */
6410    
6411    #ifdef GL_NV_parameter_buffer_object2
6412    
6413    #endif /* GL_NV_parameter_buffer_object2 */
6414    
6415  #ifdef GL_NV_pixel_data_range  #ifdef GL_NV_pixel_data_range
6416    
6417  static GLboolean _glewInit_GL_NV_pixel_data_range (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_NV_pixel_data_range (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 5303  static GLboolean _glewInit_GL_NV_present Line 6452  static GLboolean _glewInit_GL_NV_present
6452    r = ((glGetVideouivNV = (PFNGLGETVIDEOUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideouivNV")) == NULL) || r;    r = ((glGetVideouivNV = (PFNGLGETVIDEOUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideouivNV")) == NULL) || r;
6453    r = ((glPresentFrameDualFillNV = (PFNGLPRESENTFRAMEDUALFILLNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameDualFillNV")) == NULL) || r;    r = ((glPresentFrameDualFillNV = (PFNGLPRESENTFRAMEDUALFILLNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameDualFillNV")) == NULL) || r;
6454    r = ((glPresentFrameKeyedNV = (PFNGLPRESENTFRAMEKEYEDNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameKeyedNV")) == NULL) || r;    r = ((glPresentFrameKeyedNV = (PFNGLPRESENTFRAMEKEYEDNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameKeyedNV")) == NULL) || r;
   r = ((glVideoParameterivNV = (PFNGLVIDEOPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoParameterivNV")) == NULL) || r;  
6455    
6456    return r;    return r;
6457  }  }
# Line 5363  static GLboolean _glewInit_GL_NV_registe Line 6511  static GLboolean _glewInit_GL_NV_registe
6511    
6512  #endif /* GL_NV_register_combiners2 */  #endif /* GL_NV_register_combiners2 */
6513    
6514    #ifdef GL_NV_shader_buffer_load
6515    
6516    static GLboolean _glewInit_GL_NV_shader_buffer_load (GLEW_CONTEXT_ARG_DEF_INIT)
6517    {
6518      GLboolean r = GL_FALSE;
6519    
6520      r = ((glGetBufferParameterui64vNV = (PFNGLGETBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterui64vNV")) == NULL) || r;
6521      r = ((glGetIntegerui64vNV = (PFNGLGETINTEGERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64vNV")) == NULL) || r;
6522      r = ((glGetNamedBufferParameterui64vNV = (PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterui64vNV")) == NULL) || r;
6523      r = ((glIsBufferResidentNV = (PFNGLISBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsBufferResidentNV")) == NULL) || r;
6524      r = ((glIsNamedBufferResidentNV = (PFNGLISNAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsNamedBufferResidentNV")) == NULL) || r;
6525      r = ((glMakeBufferNonResidentNV = (PFNGLMAKEBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferNonResidentNV")) == NULL) || r;
6526      r = ((glMakeBufferResidentNV = (PFNGLMAKEBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferResidentNV")) == NULL) || r;
6527      r = ((glMakeNamedBufferNonResidentNV = (PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferNonResidentNV")) == NULL) || r;
6528      r = ((glMakeNamedBufferResidentNV = (PFNGLMAKENAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferResidentNV")) == NULL) || r;
6529      r = ((glProgramUniformui64NV = (PFNGLPROGRAMUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64NV")) == NULL) || r;
6530      r = ((glProgramUniformui64vNV = (PFNGLPROGRAMUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64vNV")) == NULL) || r;
6531      r = ((glUniformui64NV = (PFNGLUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64NV")) == NULL) || r;
6532      r = ((glUniformui64vNV = (PFNGLUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64vNV")) == NULL) || r;
6533    
6534      return r;
6535    }
6536    
6537    #endif /* GL_NV_shader_buffer_load */
6538    
6539    #ifdef GL_NV_tessellation_program5
6540    
6541    #endif /* GL_NV_tessellation_program5 */
6542    
6543  #ifdef GL_NV_texgen_emboss  #ifdef GL_NV_texgen_emboss
6544    
6545  #endif /* GL_NV_texgen_emboss */  #endif /* GL_NV_texgen_emboss */
# Line 5371  static GLboolean _glewInit_GL_NV_registe Line 6548  static GLboolean _glewInit_GL_NV_registe
6548    
6549  #endif /* GL_NV_texgen_reflection */  #endif /* GL_NV_texgen_reflection */
6550    
6551    #ifdef GL_NV_texture_barrier
6552    
6553    static GLboolean _glewInit_GL_NV_texture_barrier (GLEW_CONTEXT_ARG_DEF_INIT)
6554    {
6555      GLboolean r = GL_FALSE;
6556    
6557      r = ((glTextureBarrierNV = (PFNGLTEXTUREBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glTextureBarrierNV")) == NULL) || r;
6558    
6559      return r;
6560    }
6561    
6562    #endif /* GL_NV_texture_barrier */
6563    
6564  #ifdef GL_NV_texture_compression_vtc  #ifdef GL_NV_texture_compression_vtc
6565    
6566  #endif /* GL_NV_texture_compression_vtc */  #endif /* GL_NV_texture_compression_vtc */
# Line 5422  static GLboolean _glewInit_GL_NV_transfo Line 6612  static GLboolean _glewInit_GL_NV_transfo
6612    
6613  #endif /* GL_NV_transform_feedback */  #endif /* GL_NV_transform_feedback */
6614    
6615    #ifdef GL_NV_transform_feedback2
6616    
6617    static GLboolean _glewInit_GL_NV_transform_feedback2 (GLEW_CONTEXT_ARG_DEF_INIT)
6618    {
6619      GLboolean r = GL_FALSE;
6620    
6621      r = ((glBindTransformFeedbackNV = (PFNGLBINDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedbackNV")) == NULL) || r;
6622      r = ((glDeleteTransformFeedbacksNV = (PFNGLDELETETRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacksNV")) == NULL) || r;
6623      r = ((glDrawTransformFeedbackNV = (PFNGLDRAWTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackNV")) == NULL) || r;
6624      r = ((glGenTransformFeedbacksNV = (PFNGLGENTRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacksNV")) == NULL) || r;
6625      r = ((glIsTransformFeedbackNV = (PFNGLISTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedbackNV")) == NULL) || r;
6626      r = ((glPauseTransformFeedbackNV = (PFNGLPAUSETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedbackNV")) == NULL) || r;
6627      r = ((glResumeTransformFeedbackNV = (PFNGLRESUMETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedbackNV")) == NULL) || r;
6628    
6629      return r;
6630    }
6631    
6632    #endif /* GL_NV_transform_feedback2 */
6633    
6634  #ifdef GL_NV_vertex_array_range  #ifdef GL_NV_vertex_array_range
6635    
6636  static GLboolean _glewInit_GL_NV_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_NV_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 5440  static GLboolean _glewInit_GL_NV_vertex_ Line 6649  static GLboolean _glewInit_GL_NV_vertex_
6649    
6650  #endif /* GL_NV_vertex_array_range2 */  #endif /* GL_NV_vertex_array_range2 */
6651    
6652    #ifdef GL_NV_vertex_attrib_integer_64bit
6653    
6654    static GLboolean _glewInit_GL_NV_vertex_attrib_integer_64bit (GLEW_CONTEXT_ARG_DEF_INIT)
6655    {
6656      GLboolean r = GL_FALSE;
6657    
6658      r = ((glGetVertexAttribLi64vNV = (PFNGLGETVERTEXATTRIBLI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLi64vNV")) == NULL) || r;
6659      r = ((glGetVertexAttribLui64vNV = (PFNGLGETVERTEXATTRIBLUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLui64vNV")) == NULL) || r;
6660      r = ((glVertexAttribL1i64NV = (PFNGLVERTEXATTRIBL1I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64NV")) == NULL) || r;
6661      r = ((glVertexAttribL1i64vNV = (PFNGLVERTEXATTRIBL1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64vNV")) == NULL) || r;
6662      r = ((glVertexAttribL1ui64NV = (PFNGLVERTEXATTRIBL1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64NV")) == NULL) || r;
6663      r = ((glVertexAttribL1ui64vNV = (PFNGLVERTEXATTRIBL1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64vNV")) == NULL) || r;
6664      r = ((glVertexAttribL2i64NV = (PFNGLVERTEXATTRIBL2I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64NV")) == NULL) || r;
6665      r = ((glVertexAttribL2i64vNV = (PFNGLVERTEXATTRIBL2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64vNV")) == NULL) || r;
6666      r = ((glVertexAttribL2ui64NV = (PFNGLVERTEXATTRIBL2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64NV")) == NULL) || r;
6667      r = ((glVertexAttribL2ui64vNV = (PFNGLVERTEXATTRIBL2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64vNV")) == NULL) || r;
6668      r = ((glVertexAttribL3i64NV = (PFNGLVERTEXATTRIBL3I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64NV")) == NULL) || r;
6669      r = ((glVertexAttribL3i64vNV = (PFNGLVERTEXATTRIBL3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64vNV")) == NULL) || r;
6670      r = ((glVertexAttribL3ui64NV = (PFNGLVERTEXATTRIBL3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64NV")) == NULL) || r;
6671      r = ((glVertexAttribL3ui64vNV = (PFNGLVERTEXATTRIBL3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64vNV")) == NULL) || r;
6672      r = ((glVertexAttribL4i64NV = (PFNGLVERTEXATTRIBL4I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64NV")) == NULL) || r;
6673      r = ((glVertexAttribL4i64vNV = (PFNGLVERTEXATTRIBL4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64vNV")) == NULL) || r;
6674      r = ((glVertexAttribL4ui64NV = (PFNGLVERTEXATTRIBL4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64NV")) == NULL) || r;
6675      r = ((glVertexAttribL4ui64vNV = (PFNGLVERTEXATTRIBL4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64vNV")) == NULL) || r;
6676      r = ((glVertexAttribLFormatNV = (PFNGLVERTEXATTRIBLFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormatNV")) == NULL) || r;
6677    
6678      return r;
6679    }
6680    
6681    #endif /* GL_NV_vertex_attrib_integer_64bit */
6682    
6683    #ifdef GL_NV_vertex_buffer_unified_memory
6684    
6685    static GLboolean _glewInit_GL_NV_vertex_buffer_unified_memory (GLEW_CONTEXT_ARG_DEF_INIT)
6686    {
6687      GLboolean r = GL_FALSE;
6688    
6689      r = ((glBufferAddressRangeNV = (PFNGLBUFFERADDRESSRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBufferAddressRangeNV")) == NULL) || r;
6690      r = ((glColorFormatNV = (PFNGLCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glColorFormatNV")) == NULL) || r;
6691      r = ((glEdgeFlagFormatNV = (PFNGLEDGEFLAGFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagFormatNV")) == NULL) || r;
6692      r = ((glFogCoordFormatNV = (PFNGLFOGCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordFormatNV")) == NULL) || r;
6693      r = ((glGetIntegerui64i_vNV = (PFNGLGETINTEGERUI64I_VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64i_vNV")) == NULL) || r;
6694      r = ((glIndexFormatNV = (PFNGLINDEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glIndexFormatNV")) == NULL) || r;
6695      r = ((glNormalFormatNV = (PFNGLNORMALFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glNormalFormatNV")) == NULL) || r;
6696      r = ((glSecondaryColorFormatNV = (PFNGLSECONDARYCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorFormatNV")) == NULL) || r;
6697      r = ((glTexCoordFormatNV = (PFNGLTEXCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordFormatNV")) == NULL) || r;
6698      r = ((glVertexAttribFormatNV = (PFNGLVERTEXATTRIBFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormatNV")) == NULL) || r;
6699      r = ((glVertexAttribIFormatNV = (PFNGLVERTEXATTRIBIFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormatNV")) == NULL) || r;
6700      r = ((glVertexFormatNV = (PFNGLVERTEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexFormatNV")) == NULL) || r;
6701    
6702      return r;
6703    }
6704    
6705    #endif /* GL_NV_vertex_buffer_unified_memory */
6706    
6707  #ifdef GL_NV_vertex_program  #ifdef GL_NV_vertex_program
6708    
6709  static GLboolean _glewInit_GL_NV_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GL_NV_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT)
# Line 6122  static GLboolean _glewInit_GL_WIN_swap_h Line 7386  static GLboolean _glewInit_GL_WIN_swap_h
7386    
7387  /* ------------------------------------------------------------------------- */  /* ------------------------------------------------------------------------- */
7388    
7389  /*  /*
7390   * Search for name in the extensions string. Use of strstr()   * Search for name in the extensions string. Use of strstr()
7391   * is not sufficient because extension names can be prefixes of   * is not sufficient because extension names can be prefixes of
7392   * other extension names. Could use strtok() but the constant   * other extension names. Could use strtok() but the constant
7393   * string returned by glGetString might be in read-only memory.   * string returned by glGetString might be in read-only memory.
7394   */   */
7395  GLboolean glewGetExtension (const char* name)  GLboolean glewGetExtension (const char* name)
7396  {  {    
7397    GLubyte* p;    GLubyte* p;
7398    GLubyte* end;    GLubyte* end;
7399    GLuint len = _glewStrLen((const GLubyte*)name);    GLuint len = _glewStrLen((const GLubyte*)name);
# Line 6153  static Line 7417  static
7417  GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)  GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
7418  {  {
7419    const GLubyte* s;    const GLubyte* s;
7420    GLuint dot, major, minor;    GLuint dot;
7421      GLint major, minor;
7422    /* query opengl version */    /* query opengl version */
7423    s = glGetString(GL_VERSION);    s = glGetString(GL_VERSION);
7424    dot = _glewStrCLen(s, '.');    dot = _glewStrCLen(s, '.');
7425    major = dot-1;    if (dot == 0)
7426    minor = dot+1;      return GLEW_ERROR_NO_GL_VERSION;
7427    if (dot == 0 || s[minor] == '\0')    
7428      major = s[dot-1]-'0';
7429      minor = s[dot+1]-'0';
7430    
7431      if (minor < 0 || minor > 9)
7432        minor = 0;
7433      if (major<0 || major>9)
7434      return GLEW_ERROR_NO_GL_VERSION;      return GLEW_ERROR_NO_GL_VERSION;
7435    if (s[major] == '1' && s[minor] == '0')    
7436    
7437      if (major == 1 && minor == 0)
7438    {    {
7439          return GLEW_ERROR_GL_VERSION_10_ONLY;      return GLEW_ERROR_GL_VERSION_10_ONLY;
7440    }    }
7441    else    else
7442    {    {
7443      CONST_CAST(GLEW_VERSION_1_1) = GL_TRUE;      CONST_CAST(GLEW_VERSION_4_0) = ( major > 4 )               || ( major == 4               ) ? GL_TRUE : GL_FALSE;
7444          if (s[major] >= '2')      CONST_CAST(GLEW_VERSION_3_3) = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
7445          {      CONST_CAST(GLEW_VERSION_3_2) = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
7446        CONST_CAST(GLEW_VERSION_1_2) = GL_TRUE;      CONST_CAST(GLEW_VERSION_3_1) = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
7447        CONST_CAST(GLEW_VERSION_1_3) = GL_TRUE;      CONST_CAST(GLEW_VERSION_3_0) = GLEW_VERSION_3_1 == GL_TRUE || ( major == 3               ) ? GL_TRUE : GL_FALSE;
7448        CONST_CAST(GLEW_VERSION_1_4) = GL_TRUE;      CONST_CAST(GLEW_VERSION_2_1) = GLEW_VERSION_3_0 == GL_TRUE || ( major == 2 && minor >= 1 ) ? GL_TRUE : GL_FALSE;    
7449            CONST_CAST(GLEW_VERSION_1_5) = GL_TRUE;      CONST_CAST(GLEW_VERSION_2_0) = GLEW_VERSION_2_1 == GL_TRUE || ( major == 2               ) ? GL_TRUE : GL_FALSE;
7450            CONST_CAST(GLEW_VERSION_2_0) = GL_TRUE;      CONST_CAST(GLEW_VERSION_1_5) = GLEW_VERSION_2_0 == GL_TRUE || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
7451            if (s[minor] >= '1')      CONST_CAST(GLEW_VERSION_1_4) = GLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
7452            {      CONST_CAST(GLEW_VERSION_1_3) = GLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
7453              CONST_CAST(GLEW_VERSION_2_1) = GL_TRUE;      CONST_CAST(GLEW_VERSION_1_2) = GLEW_VERSION_1_3 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
7454        }      CONST_CAST(GLEW_VERSION_1_1) = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
         }  
         else  
         {  
           if (s[minor] >= '5')  
           {  
                 CONST_CAST(GLEW_VERSION_1_2) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_1_3) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_1_4) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_1_5) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_2_0) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_2_1) = GL_FALSE;  
           }  
           if (s[minor] == '4')  
           {  
                 CONST_CAST(GLEW_VERSION_1_2) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_1_3) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_1_4) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_1_5) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_2_0) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_2_1) = GL_FALSE;  
           }  
           if (s[minor] == '3')  
           {  
                 CONST_CAST(GLEW_VERSION_1_2) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_1_3) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_1_4) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_1_5) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_2_0) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_2_1) = GL_FALSE;  
           }  
           if (s[minor] == '2')  
           {  
                 CONST_CAST(GLEW_VERSION_1_2) = GL_TRUE;  
                 CONST_CAST(GLEW_VERSION_1_3) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_1_4) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_1_5) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_2_0) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_2_1) = GL_FALSE;  
           }  
           if (s[minor] < '2')  
           {  
                 CONST_CAST(GLEW_VERSION_1_2) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_1_3) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_1_4) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_1_5) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_2_0) = GL_FALSE;  
                 CONST_CAST(GLEW_VERSION_2_1) = GL_FALSE;  
           }  
         }  
7455    }    }
7456    /* initialize extensions */    /* initialize extensions */
7457  #ifdef GL_VERSION_1_2  #ifdef GL_VERSION_1_2
# Line 6251  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7475  GLenum glewContextInit (GLEW_CONTEXT_ARG
7475  #ifdef GL_VERSION_3_0  #ifdef GL_VERSION_3_0
7476    if (glewExperimental || GLEW_VERSION_3_0) CONST_CAST(GLEW_VERSION_3_0) = !_glewInit_GL_VERSION_3_0(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_VERSION_3_0) CONST_CAST(GLEW_VERSION_3_0) = !_glewInit_GL_VERSION_3_0(GLEW_CONTEXT_ARG_VAR_INIT);
7477  #endif /* GL_VERSION_3_0 */  #endif /* GL_VERSION_3_0 */
7478    #ifdef GL_VERSION_3_1
7479      if (glewExperimental || GLEW_VERSION_3_1) CONST_CAST(GLEW_VERSION_3_1) = !_glewInit_GL_VERSION_3_1(GLEW_CONTEXT_ARG_VAR_INIT);
7480    #endif /* GL_VERSION_3_1 */
7481    #ifdef GL_VERSION_3_2
7482      if (glewExperimental || GLEW_VERSION_3_2) CONST_CAST(GLEW_VERSION_3_2) = !_glewInit_GL_VERSION_3_2(GLEW_CONTEXT_ARG_VAR_INIT);
7483    #endif /* GL_VERSION_3_2 */
7484    #ifdef GL_VERSION_3_3
7485    #endif /* GL_VERSION_3_3 */
7486    #ifdef GL_VERSION_4_0
7487      if (glewExperimental || GLEW_VERSION_4_0) CONST_CAST(GLEW_VERSION_4_0) = !_glewInit_GL_VERSION_4_0(GLEW_CONTEXT_ARG_VAR_INIT);
7488    #endif /* GL_VERSION_4_0 */
7489  #ifdef GL_3DFX_multisample  #ifdef GL_3DFX_multisample
7490    CONST_CAST(GLEW_3DFX_multisample) = glewGetExtension("GL_3DFX_multisample");    CONST_CAST(GLEW_3DFX_multisample) = glewGetExtension("GL_3DFX_multisample");
7491  #endif /* GL_3DFX_multisample */  #endif /* GL_3DFX_multisample */
# Line 6261  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7496  GLenum glewContextInit (GLEW_CONTEXT_ARG
7496  #ifdef GL_3DFX_texture_compression_FXT1  #ifdef GL_3DFX_texture_compression_FXT1
7497    CONST_CAST(GLEW_3DFX_texture_compression_FXT1) = glewGetExtension("GL_3DFX_texture_compression_FXT1");    CONST_CAST(GLEW_3DFX_texture_compression_FXT1) = glewGetExtension("GL_3DFX_texture_compression_FXT1");
7498  #endif /* GL_3DFX_texture_compression_FXT1 */  #endif /* GL_3DFX_texture_compression_FXT1 */
7499    #ifdef GL_AMD_conservative_depth
7500      CONST_CAST(GLEW_AMD_conservative_depth) = glewGetExtension("GL_AMD_conservative_depth");
7501    #endif /* GL_AMD_conservative_depth */
7502    #ifdef GL_AMD_draw_buffers_blend
7503      CONST_CAST(GLEW_AMD_draw_buffers_blend) = glewGetExtension("GL_AMD_draw_buffers_blend");
7504      if (glewExperimental || GLEW_AMD_draw_buffers_blend) CONST_CAST(GLEW_AMD_draw_buffers_blend) = !_glewInit_GL_AMD_draw_buffers_blend(GLEW_CONTEXT_ARG_VAR_INIT);
7505    #endif /* GL_AMD_draw_buffers_blend */
7506    #ifdef GL_AMD_performance_monitor
7507      CONST_CAST(GLEW_AMD_performance_monitor) = glewGetExtension("GL_AMD_performance_monitor");
7508      if (glewExperimental || GLEW_AMD_performance_monitor) CONST_CAST(GLEW_AMD_performance_monitor) = !_glewInit_GL_AMD_performance_monitor(GLEW_CONTEXT_ARG_VAR_INIT);
7509    #endif /* GL_AMD_performance_monitor */
7510    #ifdef GL_AMD_seamless_cubemap_per_texture
7511      CONST_CAST(GLEW_AMD_seamless_cubemap_per_texture) = glewGetExtension("GL_AMD_seamless_cubemap_per_texture");
7512    #endif /* GL_AMD_seamless_cubemap_per_texture */
7513    #ifdef GL_AMD_shader_stencil_export
7514      CONST_CAST(GLEW_AMD_shader_stencil_export) = glewGetExtension("GL_AMD_shader_stencil_export");
7515    #endif /* GL_AMD_shader_stencil_export */
7516    #ifdef GL_AMD_texture_texture4
7517      CONST_CAST(GLEW_AMD_texture_texture4) = glewGetExtension("GL_AMD_texture_texture4");
7518    #endif /* GL_AMD_texture_texture4 */
7519    #ifdef GL_AMD_vertex_shader_tessellator
7520      CONST_CAST(GLEW_AMD_vertex_shader_tessellator) = glewGetExtension("GL_AMD_vertex_shader_tessellator");
7521      if (glewExperimental || GLEW_AMD_vertex_shader_tessellator) CONST_CAST(GLEW_AMD_vertex_shader_tessellator) = !_glewInit_GL_AMD_vertex_shader_tessellator(GLEW_CONTEXT_ARG_VAR_INIT);
7522    #endif /* GL_AMD_vertex_shader_tessellator */
7523    #ifdef GL_APPLE_aux_depth_stencil
7524      CONST_CAST(GLEW_APPLE_aux_depth_stencil) = glewGetExtension("GL_APPLE_aux_depth_stencil");
7525    #endif /* GL_APPLE_aux_depth_stencil */
7526  #ifdef GL_APPLE_client_storage  #ifdef GL_APPLE_client_storage
7527    CONST_CAST(GLEW_APPLE_client_storage) = glewGetExtension("GL_APPLE_client_storage");    CONST_CAST(GLEW_APPLE_client_storage) = glewGetExtension("GL_APPLE_client_storage");
7528  #endif /* GL_APPLE_client_storage */  #endif /* GL_APPLE_client_storage */
# Line 6279  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7541  GLenum glewContextInit (GLEW_CONTEXT_ARG
7541    CONST_CAST(GLEW_APPLE_flush_buffer_range) = glewGetExtension("GL_APPLE_flush_buffer_range");    CONST_CAST(GLEW_APPLE_flush_buffer_range) = glewGetExtension("GL_APPLE_flush_buffer_range");
7542    if (glewExperimental || GLEW_APPLE_flush_buffer_range) CONST_CAST(GLEW_APPLE_flush_buffer_range) = !_glewInit_GL_APPLE_flush_buffer_range(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_APPLE_flush_buffer_range) CONST_CAST(GLEW_APPLE_flush_buffer_range) = !_glewInit_GL_APPLE_flush_buffer_range(GLEW_CONTEXT_ARG_VAR_INIT);
7543  #endif /* GL_APPLE_flush_buffer_range */  #endif /* GL_APPLE_flush_buffer_range */
7544    #ifdef GL_APPLE_object_purgeable
7545      CONST_CAST(GLEW_APPLE_object_purgeable) = glewGetExtension("GL_APPLE_object_purgeable");
7546      if (glewExperimental || GLEW_APPLE_object_purgeable) CONST_CAST(GLEW_APPLE_object_purgeable) = !_glewInit_GL_APPLE_object_purgeable(GLEW_CONTEXT_ARG_VAR_INIT);
7547    #endif /* GL_APPLE_object_purgeable */
7548  #ifdef GL_APPLE_pixel_buffer  #ifdef GL_APPLE_pixel_buffer
7549    CONST_CAST(GLEW_APPLE_pixel_buffer) = glewGetExtension("GL_APPLE_pixel_buffer");    CONST_CAST(GLEW_APPLE_pixel_buffer) = glewGetExtension("GL_APPLE_pixel_buffer");
7550  #endif /* GL_APPLE_pixel_buffer */  #endif /* GL_APPLE_pixel_buffer */
7551    #ifdef GL_APPLE_rgb_422
7552      CONST_CAST(GLEW_APPLE_rgb_422) = glewGetExtension("GL_APPLE_rgb_422");
7553    #endif /* GL_APPLE_rgb_422 */
7554    #ifdef GL_APPLE_row_bytes
7555      CONST_CAST(GLEW_APPLE_row_bytes) = glewGetExtension("GL_APPLE_row_bytes");
7556    #endif /* GL_APPLE_row_bytes */
7557  #ifdef GL_APPLE_specular_vector  #ifdef GL_APPLE_specular_vector
7558    CONST_CAST(GLEW_APPLE_specular_vector) = glewGetExtension("GL_APPLE_specular_vector");    CONST_CAST(GLEW_APPLE_specular_vector) = glewGetExtension("GL_APPLE_specular_vector");
7559  #endif /* GL_APPLE_specular_vector */  #endif /* GL_APPLE_specular_vector */
# Line 6300  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7572  GLenum glewContextInit (GLEW_CONTEXT_ARG
7572    CONST_CAST(GLEW_APPLE_vertex_array_range) = glewGetExtension("GL_APPLE_vertex_array_range");    CONST_CAST(GLEW_APPLE_vertex_array_range) = glewGetExtension("GL_APPLE_vertex_array_range");
7573    if (glewExperimental || GLEW_APPLE_vertex_array_range) CONST_CAST(GLEW_APPLE_vertex_array_range) = !_glewInit_GL_APPLE_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_APPLE_vertex_array_range) CONST_CAST(GLEW_APPLE_vertex_array_range) = !_glewInit_GL_APPLE_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
7574  #endif /* GL_APPLE_vertex_array_range */  #endif /* GL_APPLE_vertex_array_range */
7575    #ifdef GL_APPLE_vertex_program_evaluators
7576      CONST_CAST(GLEW_APPLE_vertex_program_evaluators) = glewGetExtension("GL_APPLE_vertex_program_evaluators");
7577      if (glewExperimental || GLEW_APPLE_vertex_program_evaluators) CONST_CAST(GLEW_APPLE_vertex_program_evaluators) = !_glewInit_GL_APPLE_vertex_program_evaluators(GLEW_CONTEXT_ARG_VAR_INIT);
7578    #endif /* GL_APPLE_vertex_program_evaluators */
7579  #ifdef GL_APPLE_ycbcr_422  #ifdef GL_APPLE_ycbcr_422
7580    CONST_CAST(GLEW_APPLE_ycbcr_422) = glewGetExtension("GL_APPLE_ycbcr_422");    CONST_CAST(GLEW_APPLE_ycbcr_422) = glewGetExtension("GL_APPLE_ycbcr_422");
7581  #endif /* GL_APPLE_ycbcr_422 */  #endif /* GL_APPLE_ycbcr_422 */
7582    #ifdef GL_ARB_blend_func_extended
7583      CONST_CAST(GLEW_ARB_blend_func_extended) = glewGetExtension("GL_ARB_blend_func_extended");
7584      if (glewExperimental || GLEW_ARB_blend_func_extended) CONST_CAST(GLEW_ARB_blend_func_extended) = !_glewInit_GL_ARB_blend_func_extended(GLEW_CONTEXT_ARG_VAR_INIT);
7585    #endif /* GL_ARB_blend_func_extended */
7586  #ifdef GL_ARB_color_buffer_float  #ifdef GL_ARB_color_buffer_float
7587    CONST_CAST(GLEW_ARB_color_buffer_float) = glewGetExtension("GL_ARB_color_buffer_float");    CONST_CAST(GLEW_ARB_color_buffer_float) = glewGetExtension("GL_ARB_color_buffer_float");
7588    if (glewExperimental || GLEW_ARB_color_buffer_float) CONST_CAST(GLEW_ARB_color_buffer_float) = !_glewInit_GL_ARB_color_buffer_float(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_color_buffer_float) CONST_CAST(GLEW_ARB_color_buffer_float) = !_glewInit_GL_ARB_color_buffer_float(GLEW_CONTEXT_ARG_VAR_INIT);
7589  #endif /* GL_ARB_color_buffer_float */  #endif /* GL_ARB_color_buffer_float */
7590    #ifdef GL_ARB_compatibility
7591      CONST_CAST(GLEW_ARB_compatibility) = glewGetExtension("GL_ARB_compatibility");
7592    #endif /* GL_ARB_compatibility */
7593    #ifdef GL_ARB_copy_buffer
7594      CONST_CAST(GLEW_ARB_copy_buffer) = glewGetExtension("GL_ARB_copy_buffer");
7595      if (glewExperimental || GLEW_ARB_copy_buffer) CONST_CAST(GLEW_ARB_copy_buffer) = !_glewInit_GL_ARB_copy_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
7596    #endif /* GL_ARB_copy_buffer */
7597  #ifdef GL_ARB_depth_buffer_float  #ifdef GL_ARB_depth_buffer_float
7598    CONST_CAST(GLEW_ARB_depth_buffer_float) = glewGetExtension("GL_ARB_depth_buffer_float");    CONST_CAST(GLEW_ARB_depth_buffer_float) = glewGetExtension("GL_ARB_depth_buffer_float");
7599  #endif /* GL_ARB_depth_buffer_float */  #endif /* GL_ARB_depth_buffer_float */
7600    #ifdef GL_ARB_depth_clamp
7601      CONST_CAST(GLEW_ARB_depth_clamp) = glewGetExtension("GL_ARB_depth_clamp");
7602    #endif /* GL_ARB_depth_clamp */
7603  #ifdef GL_ARB_depth_texture  #ifdef GL_ARB_depth_texture
7604    CONST_CAST(GLEW_ARB_depth_texture) = glewGetExtension("GL_ARB_depth_texture");    CONST_CAST(GLEW_ARB_depth_texture) = glewGetExtension("GL_ARB_depth_texture");
7605  #endif /* GL_ARB_depth_texture */  #endif /* GL_ARB_depth_texture */
# Line 6317  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7607  GLenum glewContextInit (GLEW_CONTEXT_ARG
7607    CONST_CAST(GLEW_ARB_draw_buffers) = glewGetExtension("GL_ARB_draw_buffers");    CONST_CAST(GLEW_ARB_draw_buffers) = glewGetExtension("GL_ARB_draw_buffers");
7608    if (glewExperimental || GLEW_ARB_draw_buffers) CONST_CAST(GLEW_ARB_draw_buffers) = !_glewInit_GL_ARB_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_draw_buffers) CONST_CAST(GLEW_ARB_draw_buffers) = !_glewInit_GL_ARB_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
7609  #endif /* GL_ARB_draw_buffers */  #endif /* GL_ARB_draw_buffers */
7610    #ifdef GL_ARB_draw_buffers_blend
7611      CONST_CAST(GLEW_ARB_draw_buffers_blend) = glewGetExtension("GL_ARB_draw_buffers_blend");
7612      if (glewExperimental || GLEW_ARB_draw_buffers_blend) CONST_CAST(GLEW_ARB_draw_buffers_blend) = !_glewInit_GL_ARB_draw_buffers_blend(GLEW_CONTEXT_ARG_VAR_INIT);
7613    #endif /* GL_ARB_draw_buffers_blend */
7614    #ifdef GL_ARB_draw_elements_base_vertex
7615      CONST_CAST(GLEW_ARB_draw_elements_base_vertex) = glewGetExtension("GL_ARB_draw_elements_base_vertex");
7616      if (glewExperimental || GLEW_ARB_draw_elements_base_vertex) CONST_CAST(GLEW_ARB_draw_elements_base_vertex) = !_glewInit_GL_ARB_draw_elements_base_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
7617    #endif /* GL_ARB_draw_elements_base_vertex */
7618    #ifdef GL_ARB_draw_indirect
7619      CONST_CAST(GLEW_ARB_draw_indirect) = glewGetExtension("GL_ARB_draw_indirect");
7620      if (glewExperimental || GLEW_ARB_draw_indirect) CONST_CAST(GLEW_ARB_draw_indirect) = !_glewInit_GL_ARB_draw_indirect(GLEW_CONTEXT_ARG_VAR_INIT);
7621    #endif /* GL_ARB_draw_indirect */
7622  #ifdef GL_ARB_draw_instanced  #ifdef GL_ARB_draw_instanced
7623    CONST_CAST(GLEW_ARB_draw_instanced) = glewGetExtension("GL_ARB_draw_instanced");    CONST_CAST(GLEW_ARB_draw_instanced) = glewGetExtension("GL_ARB_draw_instanced");
7624    if (glewExperimental || GLEW_ARB_draw_instanced) CONST_CAST(GLEW_ARB_draw_instanced) = !_glewInit_GL_ARB_draw_instanced(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_draw_instanced) CONST_CAST(GLEW_ARB_draw_instanced) = !_glewInit_GL_ARB_draw_instanced(GLEW_CONTEXT_ARG_VAR_INIT);
7625  #endif /* GL_ARB_draw_instanced */  #endif /* GL_ARB_draw_instanced */
7626    #ifdef GL_ARB_explicit_attrib_location
7627      CONST_CAST(GLEW_ARB_explicit_attrib_location) = glewGetExtension("GL_ARB_explicit_attrib_location");
7628    #endif /* GL_ARB_explicit_attrib_location */
7629    #ifdef GL_ARB_fragment_coord_conventions
7630      CONST_CAST(GLEW_ARB_fragment_coord_conventions) = glewGetExtension("GL_ARB_fragment_coord_conventions");
7631    #endif /* GL_ARB_fragment_coord_conventions */
7632  #ifdef GL_ARB_fragment_program  #ifdef GL_ARB_fragment_program
7633    CONST_CAST(GLEW_ARB_fragment_program) = glewGetExtension("GL_ARB_fragment_program");    CONST_CAST(GLEW_ARB_fragment_program) = glewGetExtension("GL_ARB_fragment_program");
7634  #endif /* GL_ARB_fragment_program */  #endif /* GL_ARB_fragment_program */
# Line 6341  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7649  GLenum glewContextInit (GLEW_CONTEXT_ARG
7649    CONST_CAST(GLEW_ARB_geometry_shader4) = glewGetExtension("GL_ARB_geometry_shader4");    CONST_CAST(GLEW_ARB_geometry_shader4) = glewGetExtension("GL_ARB_geometry_shader4");
7650    if (glewExperimental || GLEW_ARB_geometry_shader4) CONST_CAST(GLEW_ARB_geometry_shader4) = !_glewInit_GL_ARB_geometry_shader4(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_geometry_shader4) CONST_CAST(GLEW_ARB_geometry_shader4) = !_glewInit_GL_ARB_geometry_shader4(GLEW_CONTEXT_ARG_VAR_INIT);
7651  #endif /* GL_ARB_geometry_shader4 */  #endif /* GL_ARB_geometry_shader4 */
7652    #ifdef GL_ARB_gpu_shader5
7653      CONST_CAST(GLEW_ARB_gpu_shader5) = glewGetExtension("GL_ARB_gpu_shader5");
7654    #endif /* GL_ARB_gpu_shader5 */
7655    #ifdef GL_ARB_gpu_shader_fp64
7656      CONST_CAST(GLEW_ARB_gpu_shader_fp64) = glewGetExtension("GL_ARB_gpu_shader_fp64");
7657    #endif /* GL_ARB_gpu_shader_fp64 */
7658  #ifdef GL_ARB_half_float_pixel  #ifdef GL_ARB_half_float_pixel
7659    CONST_CAST(GLEW_ARB_half_float_pixel) = glewGetExtension("GL_ARB_half_float_pixel");    CONST_CAST(GLEW_ARB_half_float_pixel) = glewGetExtension("GL_ARB_half_float_pixel");
7660  #endif /* GL_ARB_half_float_pixel */  #endif /* GL_ARB_half_float_pixel */
# Line 6375  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7689  GLenum glewContextInit (GLEW_CONTEXT_ARG
7689    CONST_CAST(GLEW_ARB_occlusion_query) = glewGetExtension("GL_ARB_occlusion_query");    CONST_CAST(GLEW_ARB_occlusion_query) = glewGetExtension("GL_ARB_occlusion_query");
7690    if (glewExperimental || GLEW_ARB_occlusion_query) CONST_CAST(GLEW_ARB_occlusion_query) = !_glewInit_GL_ARB_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_occlusion_query) CONST_CAST(GLEW_ARB_occlusion_query) = !_glewInit_GL_ARB_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT);
7691  #endif /* GL_ARB_occlusion_query */  #endif /* GL_ARB_occlusion_query */
7692    #ifdef GL_ARB_occlusion_query2
7693      CONST_CAST(GLEW_ARB_occlusion_query2) = glewGetExtension("GL_ARB_occlusion_query2");
7694    #endif /* GL_ARB_occlusion_query2 */
7695  #ifdef GL_ARB_pixel_buffer_object  #ifdef GL_ARB_pixel_buffer_object
7696    CONST_CAST(GLEW_ARB_pixel_buffer_object) = glewGetExtension("GL_ARB_pixel_buffer_object");    CONST_CAST(GLEW_ARB_pixel_buffer_object) = glewGetExtension("GL_ARB_pixel_buffer_object");
7697  #endif /* GL_ARB_pixel_buffer_object */  #endif /* GL_ARB_pixel_buffer_object */
# Line 6385  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7702  GLenum glewContextInit (GLEW_CONTEXT_ARG
7702  #ifdef GL_ARB_point_sprite  #ifdef GL_ARB_point_sprite
7703    CONST_CAST(GLEW_ARB_point_sprite) = glewGetExtension("GL_ARB_point_sprite");    CONST_CAST(GLEW_ARB_point_sprite) = glewGetExtension("GL_ARB_point_sprite");
7704  #endif /* GL_ARB_point_sprite */  #endif /* GL_ARB_point_sprite */
7705    #ifdef GL_ARB_provoking_vertex
7706      CONST_CAST(GLEW_ARB_provoking_vertex) = glewGetExtension("GL_ARB_provoking_vertex");
7707      if (glewExperimental || GLEW_ARB_provoking_vertex) CONST_CAST(GLEW_ARB_provoking_vertex) = !_glewInit_GL_ARB_provoking_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
7708    #endif /* GL_ARB_provoking_vertex */
7709    #ifdef GL_ARB_sample_shading
7710      CONST_CAST(GLEW_ARB_sample_shading) = glewGetExtension("GL_ARB_sample_shading");
7711      if (glewExperimental || GLEW_ARB_sample_shading) CONST_CAST(GLEW_ARB_sample_shading) = !_glewInit_GL_ARB_sample_shading(GLEW_CONTEXT_ARG_VAR_INIT);
7712    #endif /* GL_ARB_sample_shading */
7713    #ifdef GL_ARB_sampler_objects
7714      CONST_CAST(GLEW_ARB_sampler_objects) = glewGetExtension("GL_ARB_sampler_objects");
7715      if (glewExperimental || GLEW_ARB_sampler_objects) CONST_CAST(GLEW_ARB_sampler_objects) = !_glewInit_GL_ARB_sampler_objects(GLEW_CONTEXT_ARG_VAR_INIT);
7716    #endif /* GL_ARB_sampler_objects */
7717    #ifdef GL_ARB_seamless_cube_map
7718      CONST_CAST(GLEW_ARB_seamless_cube_map) = glewGetExtension("GL_ARB_seamless_cube_map");
7719    #endif /* GL_ARB_seamless_cube_map */
7720    #ifdef GL_ARB_shader_bit_encoding
7721      CONST_CAST(GLEW_ARB_shader_bit_encoding) = glewGetExtension("GL_ARB_shader_bit_encoding");
7722    #endif /* GL_ARB_shader_bit_encoding */
7723  #ifdef GL_ARB_shader_objects  #ifdef GL_ARB_shader_objects
7724    CONST_CAST(GLEW_ARB_shader_objects) = glewGetExtension("GL_ARB_shader_objects");    CONST_CAST(GLEW_ARB_shader_objects) = glewGetExtension("GL_ARB_shader_objects");
7725    if (glewExperimental || GLEW_ARB_shader_objects) CONST_CAST(GLEW_ARB_shader_objects) = !_glewInit_GL_ARB_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_shader_objects) CONST_CAST(GLEW_ARB_shader_objects) = !_glewInit_GL_ARB_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT);
7726  #endif /* GL_ARB_shader_objects */  #endif /* GL_ARB_shader_objects */
7727    #ifdef GL_ARB_shader_subroutine
7728      CONST_CAST(GLEW_ARB_shader_subroutine) = glewGetExtension("GL_ARB_shader_subroutine");
7729      if (glewExperimental || GLEW_ARB_shader_subroutine) CONST_CAST(GLEW_ARB_shader_subroutine) = !_glewInit_GL_ARB_shader_subroutine(GLEW_CONTEXT_ARG_VAR_INIT);
7730    #endif /* GL_ARB_shader_subroutine */
7731    #ifdef GL_ARB_shader_texture_lod
7732      CONST_CAST(GLEW_ARB_shader_texture_lod) = glewGetExtension("GL_ARB_shader_texture_lod");
7733    #endif /* GL_ARB_shader_texture_lod */
7734  #ifdef GL_ARB_shading_language_100  #ifdef GL_ARB_shading_language_100
7735    CONST_CAST(GLEW_ARB_shading_language_100) = glewGetExtension("GL_ARB_shading_language_100");    CONST_CAST(GLEW_ARB_shading_language_100) = glewGetExtension("GL_ARB_shading_language_100");
7736  #endif /* GL_ARB_shading_language_100 */  #endif /* GL_ARB_shading_language_100 */
7737    #ifdef GL_ARB_shading_language_include
7738      CONST_CAST(GLEW_ARB_shading_language_include) = glewGetExtension("GL_ARB_shading_language_include");
7739      if (glewExperimental || GLEW_ARB_shading_language_include) CONST_CAST(GLEW_ARB_shading_language_include) = !_glewInit_GL_ARB_shading_language_include(GLEW_CONTEXT_ARG_VAR_INIT);
7740    #endif /* GL_ARB_shading_language_include */
7741  #ifdef GL_ARB_shadow  #ifdef GL_ARB_shadow
7742    CONST_CAST(GLEW_ARB_shadow) = glewGetExtension("GL_ARB_shadow");    CONST_CAST(GLEW_ARB_shadow) = glewGetExtension("GL_ARB_shadow");
7743  #endif /* GL_ARB_shadow */  #endif /* GL_ARB_shadow */
7744  #ifdef GL_ARB_shadow_ambient  #ifdef GL_ARB_shadow_ambient
7745    CONST_CAST(GLEW_ARB_shadow_ambient) = glewGetExtension("GL_ARB_shadow_ambient");    CONST_CAST(GLEW_ARB_shadow_ambient) = glewGetExtension("GL_ARB_shadow_ambient");
7746  #endif /* GL_ARB_shadow_ambient */  #endif /* GL_ARB_shadow_ambient */
7747    #ifdef GL_ARB_sync
7748      CONST_CAST(GLEW_ARB_sync) = glewGetExtension("GL_ARB_sync");
7749      if (glewExperimental || GLEW_ARB_sync) CONST_CAST(GLEW_ARB_sync) = !_glewInit_GL_ARB_sync(GLEW_CONTEXT_ARG_VAR_INIT);
7750    #endif /* GL_ARB_sync */
7751    #ifdef GL_ARB_tessellation_shader
7752      CONST_CAST(GLEW_ARB_tessellation_shader) = glewGetExtension("GL_ARB_tessellation_shader");
7753      if (glewExperimental || GLEW_ARB_tessellation_shader) CONST_CAST(GLEW_ARB_tessellation_shader) = !_glewInit_GL_ARB_tessellation_shader(GLEW_CONTEXT_ARG_VAR_INIT);
7754    #endif /* GL_ARB_tessellation_shader */
7755  #ifdef GL_ARB_texture_border_clamp  #ifdef GL_ARB_texture_border_clamp
7756    CONST_CAST(GLEW_ARB_texture_border_clamp) = glewGetExtension("GL_ARB_texture_border_clamp");    CONST_CAST(GLEW_ARB_texture_border_clamp) = glewGetExtension("GL_ARB_texture_border_clamp");
7757  #endif /* GL_ARB_texture_border_clamp */  #endif /* GL_ARB_texture_border_clamp */
# Line 6405  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7759  GLenum glewContextInit (GLEW_CONTEXT_ARG
7759    CONST_CAST(GLEW_ARB_texture_buffer_object) = glewGetExtension("GL_ARB_texture_buffer_object");    CONST_CAST(GLEW_ARB_texture_buffer_object) = glewGetExtension("GL_ARB_texture_buffer_object");
7760    if (glewExperimental || GLEW_ARB_texture_buffer_object) CONST_CAST(GLEW_ARB_texture_buffer_object) = !_glewInit_GL_ARB_texture_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_texture_buffer_object) CONST_CAST(GLEW_ARB_texture_buffer_object) = !_glewInit_GL_ARB_texture_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
7761  #endif /* GL_ARB_texture_buffer_object */  #endif /* GL_ARB_texture_buffer_object */
7762    #ifdef GL_ARB_texture_buffer_object_rgb32
7763      CONST_CAST(GLEW_ARB_texture_buffer_object_rgb32) = glewGetExtension("GL_ARB_texture_buffer_object_rgb32");
7764    #endif /* GL_ARB_texture_buffer_object_rgb32 */
7765  #ifdef GL_ARB_texture_compression  #ifdef GL_ARB_texture_compression
7766    CONST_CAST(GLEW_ARB_texture_compression) = glewGetExtension("GL_ARB_texture_compression");    CONST_CAST(GLEW_ARB_texture_compression) = glewGetExtension("GL_ARB_texture_compression");
7767    if (glewExperimental || GLEW_ARB_texture_compression) CONST_CAST(GLEW_ARB_texture_compression) = !_glewInit_GL_ARB_texture_compression(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_texture_compression) CONST_CAST(GLEW_ARB_texture_compression) = !_glewInit_GL_ARB_texture_compression(GLEW_CONTEXT_ARG_VAR_INIT);
7768  #endif /* GL_ARB_texture_compression */  #endif /* GL_ARB_texture_compression */
7769    #ifdef GL_ARB_texture_compression_bptc
7770      CONST_CAST(GLEW_ARB_texture_compression_bptc) = glewGetExtension("GL_ARB_texture_compression_bptc");
7771    #endif /* GL_ARB_texture_compression_bptc */
7772  #ifdef GL_ARB_texture_compression_rgtc  #ifdef GL_ARB_texture_compression_rgtc
7773    CONST_CAST(GLEW_ARB_texture_compression_rgtc) = glewGetExtension("GL_ARB_texture_compression_rgtc");    CONST_CAST(GLEW_ARB_texture_compression_rgtc) = glewGetExtension("GL_ARB_texture_compression_rgtc");
7774  #endif /* GL_ARB_texture_compression_rgtc */  #endif /* GL_ARB_texture_compression_rgtc */
7775  #ifdef GL_ARB_texture_cube_map  #ifdef GL_ARB_texture_cube_map
7776    CONST_CAST(GLEW_ARB_texture_cube_map) = glewGetExtension("GL_ARB_texture_cube_map");    CONST_CAST(GLEW_ARB_texture_cube_map) = glewGetExtension("GL_ARB_texture_cube_map");
7777  #endif /* GL_ARB_texture_cube_map */  #endif /* GL_ARB_texture_cube_map */
7778    #ifdef GL_ARB_texture_cube_map_array
7779      CONST_CAST(GLEW_ARB_texture_cube_map_array) = glewGetExtension("GL_ARB_texture_cube_map_array");
7780    #endif /* GL_ARB_texture_cube_map_array */
7781  #ifdef GL_ARB_texture_env_add  #ifdef GL_ARB_texture_env_add
7782    CONST_CAST(GLEW_ARB_texture_env_add) = glewGetExtension("GL_ARB_texture_env_add");    CONST_CAST(GLEW_ARB_texture_env_add) = glewGetExtension("GL_ARB_texture_env_add");
7783  #endif /* GL_ARB_texture_env_add */  #endif /* GL_ARB_texture_env_add */
# Line 6430  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7793  GLenum glewContextInit (GLEW_CONTEXT_ARG
7793  #ifdef GL_ARB_texture_float  #ifdef GL_ARB_texture_float
7794    CONST_CAST(GLEW_ARB_texture_float) = glewGetExtension("GL_ARB_texture_float");    CONST_CAST(GLEW_ARB_texture_float) = glewGetExtension("GL_ARB_texture_float");
7795  #endif /* GL_ARB_texture_float */  #endif /* GL_ARB_texture_float */
7796    #ifdef GL_ARB_texture_gather
7797      CONST_CAST(GLEW_ARB_texture_gather) = glewGetExtension("GL_ARB_texture_gather");
7798    #endif /* GL_ARB_texture_gather */
7799  #ifdef GL_ARB_texture_mirrored_repeat  #ifdef GL_ARB_texture_mirrored_repeat
7800    CONST_CAST(GLEW_ARB_texture_mirrored_repeat) = glewGetExtension("GL_ARB_texture_mirrored_repeat");    CONST_CAST(GLEW_ARB_texture_mirrored_repeat) = glewGetExtension("GL_ARB_texture_mirrored_repeat");
7801  #endif /* GL_ARB_texture_mirrored_repeat */  #endif /* GL_ARB_texture_mirrored_repeat */
7802    #ifdef GL_ARB_texture_multisample
7803      CONST_CAST(GLEW_ARB_texture_multisample) = glewGetExtension("GL_ARB_texture_multisample");
7804      if (glewExperimental || GLEW_ARB_texture_multisample) CONST_CAST(GLEW_ARB_texture_multisample) = !_glewInit_GL_ARB_texture_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
7805    #endif /* GL_ARB_texture_multisample */
7806  #ifdef GL_ARB_texture_non_power_of_two  #ifdef GL_ARB_texture_non_power_of_two
7807    CONST_CAST(GLEW_ARB_texture_non_power_of_two) = glewGetExtension("GL_ARB_texture_non_power_of_two");    CONST_CAST(GLEW_ARB_texture_non_power_of_two) = glewGetExtension("GL_ARB_texture_non_power_of_two");
7808  #endif /* GL_ARB_texture_non_power_of_two */  #endif /* GL_ARB_texture_non_power_of_two */
7809    #ifdef GL_ARB_texture_query_lod
7810      CONST_CAST(GLEW_ARB_texture_query_lod) = glewGetExtension("GL_ARB_texture_query_lod");
7811    #endif /* GL_ARB_texture_query_lod */
7812  #ifdef GL_ARB_texture_rectangle  #ifdef GL_ARB_texture_rectangle
7813    CONST_CAST(GLEW_ARB_texture_rectangle) = glewGetExtension("GL_ARB_texture_rectangle");    CONST_CAST(GLEW_ARB_texture_rectangle) = glewGetExtension("GL_ARB_texture_rectangle");
7814  #endif /* GL_ARB_texture_rectangle */  #endif /* GL_ARB_texture_rectangle */
7815  #ifdef GL_ARB_texture_rg  #ifdef GL_ARB_texture_rg
7816    CONST_CAST(GLEW_ARB_texture_rg) = glewGetExtension("GL_ARB_texture_rg");    CONST_CAST(GLEW_ARB_texture_rg) = glewGetExtension("GL_ARB_texture_rg");
7817  #endif /* GL_ARB_texture_rg */  #endif /* GL_ARB_texture_rg */
7818    #ifdef GL_ARB_texture_rgb10_a2ui
7819      CONST_CAST(GLEW_ARB_texture_rgb10_a2ui) = glewGetExtension("GL_ARB_texture_rgb10_a2ui");
7820    #endif /* GL_ARB_texture_rgb10_a2ui */
7821    #ifdef GL_ARB_texture_swizzle
7822      CONST_CAST(GLEW_ARB_texture_swizzle) = glewGetExtension("GL_ARB_texture_swizzle");
7823    #endif /* GL_ARB_texture_swizzle */
7824    #ifdef GL_ARB_timer_query
7825      CONST_CAST(GLEW_ARB_timer_query) = glewGetExtension("GL_ARB_timer_query");
7826      if (glewExperimental || GLEW_ARB_timer_query) CONST_CAST(GLEW_ARB_timer_query) = !_glewInit_GL_ARB_timer_query(GLEW_CONTEXT_ARG_VAR_INIT);
7827    #endif /* GL_ARB_timer_query */
7828    #ifdef GL_ARB_transform_feedback2
7829      CONST_CAST(GLEW_ARB_transform_feedback2) = glewGetExtension("GL_ARB_transform_feedback2");
7830      if (glewExperimental || GLEW_ARB_transform_feedback2) CONST_CAST(GLEW_ARB_transform_feedback2) = !_glewInit_GL_ARB_transform_feedback2(GLEW_CONTEXT_ARG_VAR_INIT);
7831    #endif /* GL_ARB_transform_feedback2 */
7832    #ifdef GL_ARB_transform_feedback3
7833      CONST_CAST(GLEW_ARB_transform_feedback3) = glewGetExtension("GL_ARB_transform_feedback3");
7834      if (glewExperimental || GLEW_ARB_transform_feedback3) CONST_CAST(GLEW_ARB_transform_feedback3) = !_glewInit_GL_ARB_transform_feedback3(GLEW_CONTEXT_ARG_VAR_INIT);
7835    #endif /* GL_ARB_transform_feedback3 */
7836  #ifdef GL_ARB_transpose_matrix  #ifdef GL_ARB_transpose_matrix
7837    CONST_CAST(GLEW_ARB_transpose_matrix) = glewGetExtension("GL_ARB_transpose_matrix");    CONST_CAST(GLEW_ARB_transpose_matrix) = glewGetExtension("GL_ARB_transpose_matrix");
7838    if (glewExperimental || GLEW_ARB_transpose_matrix) CONST_CAST(GLEW_ARB_transpose_matrix) = !_glewInit_GL_ARB_transpose_matrix(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_transpose_matrix) CONST_CAST(GLEW_ARB_transpose_matrix) = !_glewInit_GL_ARB_transpose_matrix(GLEW_CONTEXT_ARG_VAR_INIT);
7839  #endif /* GL_ARB_transpose_matrix */  #endif /* GL_ARB_transpose_matrix */
7840    #ifdef GL_ARB_uniform_buffer_object
7841      CONST_CAST(GLEW_ARB_uniform_buffer_object) = glewGetExtension("GL_ARB_uniform_buffer_object");
7842      if (glewExperimental || GLEW_ARB_uniform_buffer_object) CONST_CAST(GLEW_ARB_uniform_buffer_object) = !_glewInit_GL_ARB_uniform_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
7843    #endif /* GL_ARB_uniform_buffer_object */
7844    #ifdef GL_ARB_vertex_array_bgra
7845      CONST_CAST(GLEW_ARB_vertex_array_bgra) = glewGetExtension("GL_ARB_vertex_array_bgra");
7846    #endif /* GL_ARB_vertex_array_bgra */
7847  #ifdef GL_ARB_vertex_array_object  #ifdef GL_ARB_vertex_array_object
7848    CONST_CAST(GLEW_ARB_vertex_array_object) = glewGetExtension("GL_ARB_vertex_array_object");    CONST_CAST(GLEW_ARB_vertex_array_object) = glewGetExtension("GL_ARB_vertex_array_object");
7849    if (glewExperimental || GLEW_ARB_vertex_array_object) CONST_CAST(GLEW_ARB_vertex_array_object) = !_glewInit_GL_ARB_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_vertex_array_object) CONST_CAST(GLEW_ARB_vertex_array_object) = !_glewInit_GL_ARB_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 6466  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7864  GLenum glewContextInit (GLEW_CONTEXT_ARG
7864    CONST_CAST(GLEW_ARB_vertex_shader) = glewGetExtension("GL_ARB_vertex_shader");    CONST_CAST(GLEW_ARB_vertex_shader) = glewGetExtension("GL_ARB_vertex_shader");
7865    if (glewExperimental || GLEW_ARB_vertex_shader) CONST_CAST(GLEW_ARB_vertex_shader) = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_vertex_shader) CONST_CAST(GLEW_ARB_vertex_shader) = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT);
7866  #endif /* GL_ARB_vertex_shader */  #endif /* GL_ARB_vertex_shader */
7867    #ifdef GL_ARB_vertex_type_2_10_10_10_rev
7868      CONST_CAST(GLEW_ARB_vertex_type_2_10_10_10_rev) = glewGetExtension("GL_ARB_vertex_type_2_10_10_10_rev");
7869      if (glewExperimental || GLEW_ARB_vertex_type_2_10_10_10_rev) CONST_CAST(GLEW_ARB_vertex_type_2_10_10_10_rev) = !_glewInit_GL_ARB_vertex_type_2_10_10_10_rev(GLEW_CONTEXT_ARG_VAR_INIT);
7870    #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
7871  #ifdef GL_ARB_window_pos  #ifdef GL_ARB_window_pos
7872    CONST_CAST(GLEW_ARB_window_pos) = glewGetExtension("GL_ARB_window_pos");    CONST_CAST(GLEW_ARB_window_pos) = glewGetExtension("GL_ARB_window_pos");
7873    if (glewExperimental || GLEW_ARB_window_pos) CONST_CAST(GLEW_ARB_window_pos) = !_glewInit_GL_ARB_window_pos(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ARB_window_pos) CONST_CAST(GLEW_ARB_window_pos) = !_glewInit_GL_ARB_window_pos(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 6502  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 7904  GLenum glewContextInit (GLEW_CONTEXT_ARG
7904    CONST_CAST(GLEW_ATI_map_object_buffer) = glewGetExtension("GL_ATI_map_object_buffer");    CONST_CAST(GLEW_ATI_map_object_buffer) = glewGetExtension("GL_ATI_map_object_buffer");
7905    if (glewExperimental || GLEW_ATI_map_object_buffer) CONST_CAST(GLEW_ATI_map_object_buffer) = !_glewInit_GL_ATI_map_object_buffer(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ATI_map_object_buffer) CONST_CAST(GLEW_ATI_map_object_buffer) = !_glewInit_GL_ATI_map_object_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
7906  #endif /* GL_ATI_map_object_buffer */  #endif /* GL_ATI_map_object_buffer */
7907    #ifdef GL_ATI_meminfo
7908      CONST_CAST(GLEW_ATI_meminfo) = glewGetExtension("GL_ATI_meminfo");
7909    #endif /* GL_ATI_meminfo */
7910  #ifdef GL_ATI_pn_triangles  #ifdef GL_ATI_pn_triangles
7911    CONST_CAST(GLEW_ATI_pn_triangles) = glewGetExtension("GL_ATI_pn_triangles");    CONST_CAST(GLEW_ATI_pn_triangles) = glewGetExtension("GL_ATI_pn_triangles");
7912    if (glewExperimental || GLEW_ATI_pn_triangles) CONST_CAST(GLEW_ATI_pn_triangles) = !_glewInit_GL_ATI_pn_triangles(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_ATI_pn_triangles) CONST_CAST(GLEW_ATI_pn_triangles) = !_glewInit_GL_ATI_pn_triangles(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 6727  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8132  GLenum glewContextInit (GLEW_CONTEXT_ARG
8132    CONST_CAST(GLEW_EXT_polygon_offset) = glewGetExtension("GL_EXT_polygon_offset");    CONST_CAST(GLEW_EXT_polygon_offset) = glewGetExtension("GL_EXT_polygon_offset");
8133    if (glewExperimental || GLEW_EXT_polygon_offset) CONST_CAST(GLEW_EXT_polygon_offset) = !_glewInit_GL_EXT_polygon_offset(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_EXT_polygon_offset) CONST_CAST(GLEW_EXT_polygon_offset) = !_glewInit_GL_EXT_polygon_offset(GLEW_CONTEXT_ARG_VAR_INIT);
8134  #endif /* GL_EXT_polygon_offset */  #endif /* GL_EXT_polygon_offset */
8135    #ifdef GL_EXT_provoking_vertex
8136      CONST_CAST(GLEW_EXT_provoking_vertex) = glewGetExtension("GL_EXT_provoking_vertex");
8137      if (glewExperimental || GLEW_EXT_provoking_vertex) CONST_CAST(GLEW_EXT_provoking_vertex) = !_glewInit_GL_EXT_provoking_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
8138    #endif /* GL_EXT_provoking_vertex */
8139  #ifdef GL_EXT_rescale_normal  #ifdef GL_EXT_rescale_normal
8140    CONST_CAST(GLEW_EXT_rescale_normal) = glewGetExtension("GL_EXT_rescale_normal");    CONST_CAST(GLEW_EXT_rescale_normal) = glewGetExtension("GL_EXT_rescale_normal");
8141  #endif /* GL_EXT_rescale_normal */  #endif /* GL_EXT_rescale_normal */
# Line 6738  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8147  GLenum glewContextInit (GLEW_CONTEXT_ARG
8147    CONST_CAST(GLEW_EXT_secondary_color) = glewGetExtension("GL_EXT_secondary_color");    CONST_CAST(GLEW_EXT_secondary_color) = glewGetExtension("GL_EXT_secondary_color");
8148    if (glewExperimental || GLEW_EXT_secondary_color) CONST_CAST(GLEW_EXT_secondary_color) = !_glewInit_GL_EXT_secondary_color(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_EXT_secondary_color) CONST_CAST(GLEW_EXT_secondary_color) = !_glewInit_GL_EXT_secondary_color(GLEW_CONTEXT_ARG_VAR_INIT);
8149  #endif /* GL_EXT_secondary_color */  #endif /* GL_EXT_secondary_color */
8150    #ifdef GL_EXT_separate_shader_objects
8151      CONST_CAST(GLEW_EXT_separate_shader_objects) = glewGetExtension("GL_EXT_separate_shader_objects");
8152      if (glewExperimental || GLEW_EXT_separate_shader_objects) CONST_CAST(GLEW_EXT_separate_shader_objects) = !_glewInit_GL_EXT_separate_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT);
8153    #endif /* GL_EXT_separate_shader_objects */
8154  #ifdef GL_EXT_separate_specular_color  #ifdef GL_EXT_separate_specular_color
8155    CONST_CAST(GLEW_EXT_separate_specular_color) = glewGetExtension("GL_EXT_separate_specular_color");    CONST_CAST(GLEW_EXT_separate_specular_color) = glewGetExtension("GL_EXT_separate_specular_color");
8156  #endif /* GL_EXT_separate_specular_color */  #endif /* GL_EXT_separate_specular_color */
8157    #ifdef GL_EXT_shader_image_load_store
8158      CONST_CAST(GLEW_EXT_shader_image_load_store) = glewGetExtension("GL_EXT_shader_image_load_store");
8159      if (glewExperimental || GLEW_EXT_shader_image_load_store) CONST_CAST(GLEW_EXT_shader_image_load_store) = !_glewInit_GL_EXT_shader_image_load_store(GLEW_CONTEXT_ARG_VAR_INIT);
8160    #endif /* GL_EXT_shader_image_load_store */
8161  #ifdef GL_EXT_shadow_funcs  #ifdef GL_EXT_shadow_funcs
8162    CONST_CAST(GLEW_EXT_shadow_funcs) = glewGetExtension("GL_EXT_shadow_funcs");    CONST_CAST(GLEW_EXT_shadow_funcs) = glewGetExtension("GL_EXT_shadow_funcs");
8163  #endif /* GL_EXT_shadow_funcs */  #endif /* GL_EXT_shadow_funcs */
# Line 6835  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8252  GLenum glewContextInit (GLEW_CONTEXT_ARG
8252  #ifdef GL_EXT_texture_shared_exponent  #ifdef GL_EXT_texture_shared_exponent
8253    CONST_CAST(GLEW_EXT_texture_shared_exponent) = glewGetExtension("GL_EXT_texture_shared_exponent");    CONST_CAST(GLEW_EXT_texture_shared_exponent) = glewGetExtension("GL_EXT_texture_shared_exponent");
8254  #endif /* GL_EXT_texture_shared_exponent */  #endif /* GL_EXT_texture_shared_exponent */
8255    #ifdef GL_EXT_texture_snorm
8256      CONST_CAST(GLEW_EXT_texture_snorm) = glewGetExtension("GL_EXT_texture_snorm");
8257    #endif /* GL_EXT_texture_snorm */
8258  #ifdef GL_EXT_texture_swizzle  #ifdef GL_EXT_texture_swizzle
8259    CONST_CAST(GLEW_EXT_texture_swizzle) = glewGetExtension("GL_EXT_texture_swizzle");    CONST_CAST(GLEW_EXT_texture_swizzle) = glewGetExtension("GL_EXT_texture_swizzle");
8260  #endif /* GL_EXT_texture_swizzle */  #endif /* GL_EXT_texture_swizzle */
# Line 6853  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8273  GLenum glewContextInit (GLEW_CONTEXT_ARG
8273  #ifdef GL_EXT_vertex_array_bgra  #ifdef GL_EXT_vertex_array_bgra
8274    CONST_CAST(GLEW_EXT_vertex_array_bgra) = glewGetExtension("GL_EXT_vertex_array_bgra");    CONST_CAST(GLEW_EXT_vertex_array_bgra) = glewGetExtension("GL_EXT_vertex_array_bgra");
8275  #endif /* GL_EXT_vertex_array_bgra */  #endif /* GL_EXT_vertex_array_bgra */
8276    #ifdef GL_EXT_vertex_attrib_64bit
8277      CONST_CAST(GLEW_EXT_vertex_attrib_64bit) = glewGetExtension("GL_EXT_vertex_attrib_64bit");
8278      if (glewExperimental || GLEW_EXT_vertex_attrib_64bit) CONST_CAST(GLEW_EXT_vertex_attrib_64bit) = !_glewInit_GL_EXT_vertex_attrib_64bit(GLEW_CONTEXT_ARG_VAR_INIT);
8279    #endif /* GL_EXT_vertex_attrib_64bit */
8280  #ifdef GL_EXT_vertex_shader  #ifdef GL_EXT_vertex_shader
8281    CONST_CAST(GLEW_EXT_vertex_shader) = glewGetExtension("GL_EXT_vertex_shader");    CONST_CAST(GLEW_EXT_vertex_shader) = glewGetExtension("GL_EXT_vertex_shader");
8282    if (glewExperimental || GLEW_EXT_vertex_shader) CONST_CAST(GLEW_EXT_vertex_shader) = !_glewInit_GL_EXT_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_EXT_vertex_shader) CONST_CAST(GLEW_EXT_vertex_shader) = !_glewInit_GL_EXT_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 6947  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8371  GLenum glewContextInit (GLEW_CONTEXT_ARG
8371  #ifdef GL_NV_copy_depth_to_color  #ifdef GL_NV_copy_depth_to_color
8372    CONST_CAST(GLEW_NV_copy_depth_to_color) = glewGetExtension("GL_NV_copy_depth_to_color");    CONST_CAST(GLEW_NV_copy_depth_to_color) = glewGetExtension("GL_NV_copy_depth_to_color");
8373  #endif /* GL_NV_copy_depth_to_color */  #endif /* GL_NV_copy_depth_to_color */
8374    #ifdef GL_NV_copy_image
8375      CONST_CAST(GLEW_NV_copy_image) = glewGetExtension("GL_NV_copy_image");
8376      if (glewExperimental || GLEW_NV_copy_image) CONST_CAST(GLEW_NV_copy_image) = !_glewInit_GL_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
8377    #endif /* GL_NV_copy_image */
8378  #ifdef GL_NV_depth_buffer_float  #ifdef GL_NV_depth_buffer_float
8379    CONST_CAST(GLEW_NV_depth_buffer_float) = glewGetExtension("GL_NV_depth_buffer_float");    CONST_CAST(GLEW_NV_depth_buffer_float) = glewGetExtension("GL_NV_depth_buffer_float");
8380    if (glewExperimental || GLEW_NV_depth_buffer_float) CONST_CAST(GLEW_NV_depth_buffer_float) = !_glewInit_GL_NV_depth_buffer_float(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_depth_buffer_float) CONST_CAST(GLEW_NV_depth_buffer_float) = !_glewInit_GL_NV_depth_buffer_float(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 6983  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8411  GLenum glewContextInit (GLEW_CONTEXT_ARG
8411    CONST_CAST(GLEW_NV_fragment_program2) = glewGetExtension("GL_NV_fragment_program2");    CONST_CAST(GLEW_NV_fragment_program2) = glewGetExtension("GL_NV_fragment_program2");
8412  #endif /* GL_NV_fragment_program2 */  #endif /* GL_NV_fragment_program2 */
8413  #ifdef GL_NV_fragment_program4  #ifdef GL_NV_fragment_program4
8414    CONST_CAST(GLEW_NV_fragment_program4) = glewGetExtension("GL_NV_fragment_program4");    CONST_CAST(GLEW_NV_fragment_program4) = glewGetExtension("GL_NV_gpu_program4");
8415  #endif /* GL_NV_fragment_program4 */  #endif /* GL_NV_fragment_program4 */
8416  #ifdef GL_NV_fragment_program_option  #ifdef GL_NV_fragment_program_option
8417    CONST_CAST(GLEW_NV_fragment_program_option) = glewGetExtension("GL_NV_fragment_program_option");    CONST_CAST(GLEW_NV_fragment_program_option) = glewGetExtension("GL_NV_fragment_program_option");
# Line 6993  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8421  GLenum glewContextInit (GLEW_CONTEXT_ARG
8421    if (glewExperimental || GLEW_NV_framebuffer_multisample_coverage) CONST_CAST(GLEW_NV_framebuffer_multisample_coverage) = !_glewInit_GL_NV_framebuffer_multisample_coverage(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_framebuffer_multisample_coverage) CONST_CAST(GLEW_NV_framebuffer_multisample_coverage) = !_glewInit_GL_NV_framebuffer_multisample_coverage(GLEW_CONTEXT_ARG_VAR_INIT);
8422  #endif /* GL_NV_framebuffer_multisample_coverage */  #endif /* GL_NV_framebuffer_multisample_coverage */
8423  #ifdef GL_NV_geometry_program4  #ifdef GL_NV_geometry_program4
8424    CONST_CAST(GLEW_NV_geometry_program4) = glewGetExtension("GL_NV_geometry_program4");    CONST_CAST(GLEW_NV_geometry_program4) = glewGetExtension("GL_NV_gpu_program4");
8425    if (glewExperimental || GLEW_NV_geometry_program4) CONST_CAST(GLEW_NV_geometry_program4) = !_glewInit_GL_NV_geometry_program4(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_geometry_program4) CONST_CAST(GLEW_NV_geometry_program4) = !_glewInit_GL_NV_geometry_program4(GLEW_CONTEXT_ARG_VAR_INIT);
8426  #endif /* GL_NV_geometry_program4 */  #endif /* GL_NV_geometry_program4 */
8427  #ifdef GL_NV_geometry_shader4  #ifdef GL_NV_geometry_shader4
# Line 7003  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8431  GLenum glewContextInit (GLEW_CONTEXT_ARG
8431    CONST_CAST(GLEW_NV_gpu_program4) = glewGetExtension("GL_NV_gpu_program4");    CONST_CAST(GLEW_NV_gpu_program4) = glewGetExtension("GL_NV_gpu_program4");
8432    if (glewExperimental || GLEW_NV_gpu_program4) CONST_CAST(GLEW_NV_gpu_program4) = !_glewInit_GL_NV_gpu_program4(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_gpu_program4) CONST_CAST(GLEW_NV_gpu_program4) = !_glewInit_GL_NV_gpu_program4(GLEW_CONTEXT_ARG_VAR_INIT);
8433  #endif /* GL_NV_gpu_program4 */  #endif /* GL_NV_gpu_program4 */
8434    #ifdef GL_NV_gpu_program5
8435      CONST_CAST(GLEW_NV_gpu_program5) = glewGetExtension("GL_NV_gpu_program5");
8436    #endif /* GL_NV_gpu_program5 */
8437    #ifdef GL_NV_gpu_program_fp64
8438      CONST_CAST(GLEW_NV_gpu_program_fp64) = glewGetExtension("GL_NV_gpu_program_fp64");
8439    #endif /* GL_NV_gpu_program_fp64 */
8440    #ifdef GL_NV_gpu_shader5
8441      CONST_CAST(GLEW_NV_gpu_shader5) = glewGetExtension("GL_NV_gpu_shader5");
8442      if (glewExperimental || GLEW_NV_gpu_shader5) CONST_CAST(GLEW_NV_gpu_shader5) = !_glewInit_GL_NV_gpu_shader5(GLEW_CONTEXT_ARG_VAR_INIT);
8443    #endif /* GL_NV_gpu_shader5 */
8444  #ifdef GL_NV_half_float  #ifdef GL_NV_half_float
8445    CONST_CAST(GLEW_NV_half_float) = glewGetExtension("GL_NV_half_float");    CONST_CAST(GLEW_NV_half_float) = glewGetExtension("GL_NV_half_float");
8446    if (glewExperimental || GLEW_NV_half_float) CONST_CAST(GLEW_NV_half_float) = !_glewInit_GL_NV_half_float(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_half_float) CONST_CAST(GLEW_NV_half_float) = !_glewInit_GL_NV_half_float(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 7024  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8462  GLenum glewContextInit (GLEW_CONTEXT_ARG
8462    CONST_CAST(GLEW_NV_parameter_buffer_object) = glewGetExtension("GL_NV_parameter_buffer_object");    CONST_CAST(GLEW_NV_parameter_buffer_object) = glewGetExtension("GL_NV_parameter_buffer_object");
8463    if (glewExperimental || GLEW_NV_parameter_buffer_object) CONST_CAST(GLEW_NV_parameter_buffer_object) = !_glewInit_GL_NV_parameter_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_parameter_buffer_object) CONST_CAST(GLEW_NV_parameter_buffer_object) = !_glewInit_GL_NV_parameter_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
8464  #endif /* GL_NV_parameter_buffer_object */  #endif /* GL_NV_parameter_buffer_object */
8465    #ifdef GL_NV_parameter_buffer_object2
8466      CONST_CAST(GLEW_NV_parameter_buffer_object2) = glewGetExtension("GL_NV_parameter_buffer_object2");
8467    #endif /* GL_NV_parameter_buffer_object2 */
8468  #ifdef GL_NV_pixel_data_range  #ifdef GL_NV_pixel_data_range
8469    CONST_CAST(GLEW_NV_pixel_data_range) = glewGetExtension("GL_NV_pixel_data_range");    CONST_CAST(GLEW_NV_pixel_data_range) = glewGetExtension("GL_NV_pixel_data_range");
8470    if (glewExperimental || GLEW_NV_pixel_data_range) CONST_CAST(GLEW_NV_pixel_data_range) = !_glewInit_GL_NV_pixel_data_range(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_pixel_data_range) CONST_CAST(GLEW_NV_pixel_data_range) = !_glewInit_GL_NV_pixel_data_range(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 7048  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8489  GLenum glewContextInit (GLEW_CONTEXT_ARG
8489    CONST_CAST(GLEW_NV_register_combiners2) = glewGetExtension("GL_NV_register_combiners2");    CONST_CAST(GLEW_NV_register_combiners2) = glewGetExtension("GL_NV_register_combiners2");
8490    if (glewExperimental || GLEW_NV_register_combiners2) CONST_CAST(GLEW_NV_register_combiners2) = !_glewInit_GL_NV_register_combiners2(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_register_combiners2) CONST_CAST(GLEW_NV_register_combiners2) = !_glewInit_GL_NV_register_combiners2(GLEW_CONTEXT_ARG_VAR_INIT);
8491  #endif /* GL_NV_register_combiners2 */  #endif /* GL_NV_register_combiners2 */
8492    #ifdef GL_NV_shader_buffer_load
8493      CONST_CAST(GLEW_NV_shader_buffer_load) = glewGetExtension("GL_NV_shader_buffer_load");
8494      if (glewExperimental || GLEW_NV_shader_buffer_load) CONST_CAST(GLEW_NV_shader_buffer_load) = !_glewInit_GL_NV_shader_buffer_load(GLEW_CONTEXT_ARG_VAR_INIT);
8495    #endif /* GL_NV_shader_buffer_load */
8496    #ifdef GL_NV_tessellation_program5
8497      CONST_CAST(GLEW_NV_tessellation_program5) = glewGetExtension("GL_NV_gpu_program5");
8498    #endif /* GL_NV_tessellation_program5 */
8499  #ifdef GL_NV_texgen_emboss  #ifdef GL_NV_texgen_emboss
8500    CONST_CAST(GLEW_NV_texgen_emboss) = glewGetExtension("GL_NV_texgen_emboss");    CONST_CAST(GLEW_NV_texgen_emboss) = glewGetExtension("GL_NV_texgen_emboss");
8501  #endif /* GL_NV_texgen_emboss */  #endif /* GL_NV_texgen_emboss */
8502  #ifdef GL_NV_texgen_reflection  #ifdef GL_NV_texgen_reflection
8503    CONST_CAST(GLEW_NV_texgen_reflection) = glewGetExtension("GL_NV_texgen_reflection");    CONST_CAST(GLEW_NV_texgen_reflection) = glewGetExtension("GL_NV_texgen_reflection");
8504  #endif /* GL_NV_texgen_reflection */  #endif /* GL_NV_texgen_reflection */
8505    #ifdef GL_NV_texture_barrier
8506      CONST_CAST(GLEW_NV_texture_barrier) = glewGetExtension("GL_NV_texture_barrier");
8507      if (glewExperimental || GLEW_NV_texture_barrier) CONST_CAST(GLEW_NV_texture_barrier) = !_glewInit_GL_NV_texture_barrier(GLEW_CONTEXT_ARG_VAR_INIT);
8508    #endif /* GL_NV_texture_barrier */
8509  #ifdef GL_NV_texture_compression_vtc  #ifdef GL_NV_texture_compression_vtc
8510    CONST_CAST(GLEW_NV_texture_compression_vtc) = glewGetExtension("GL_NV_texture_compression_vtc");    CONST_CAST(GLEW_NV_texture_compression_vtc) = glewGetExtension("GL_NV_texture_compression_vtc");
8511  #endif /* GL_NV_texture_compression_vtc */  #endif /* GL_NV_texture_compression_vtc */
# Line 7079  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8531  GLenum glewContextInit (GLEW_CONTEXT_ARG
8531    CONST_CAST(GLEW_NV_transform_feedback) = glewGetExtension("GL_NV_transform_feedback");    CONST_CAST(GLEW_NV_transform_feedback) = glewGetExtension("GL_NV_transform_feedback");
8532    if (glewExperimental || GLEW_NV_transform_feedback) CONST_CAST(GLEW_NV_transform_feedback) = !_glewInit_GL_NV_transform_feedback(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_transform_feedback) CONST_CAST(GLEW_NV_transform_feedback) = !_glewInit_GL_NV_transform_feedback(GLEW_CONTEXT_ARG_VAR_INIT);
8533  #endif /* GL_NV_transform_feedback */  #endif /* GL_NV_transform_feedback */
8534    #ifdef GL_NV_transform_feedback2
8535      CONST_CAST(GLEW_NV_transform_feedback2) = glewGetExtension("GL_NV_transform_feedback2");
8536      if (glewExperimental || GLEW_NV_transform_feedback2) CONST_CAST(GLEW_NV_transform_feedback2) = !_glewInit_GL_NV_transform_feedback2(GLEW_CONTEXT_ARG_VAR_INIT);
8537    #endif /* GL_NV_transform_feedback2 */
8538  #ifdef GL_NV_vertex_array_range  #ifdef GL_NV_vertex_array_range
8539    CONST_CAST(GLEW_NV_vertex_array_range) = glewGetExtension("GL_NV_vertex_array_range");    CONST_CAST(GLEW_NV_vertex_array_range) = glewGetExtension("GL_NV_vertex_array_range");
8540    if (glewExperimental || GLEW_NV_vertex_array_range) CONST_CAST(GLEW_NV_vertex_array_range) = !_glewInit_GL_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_vertex_array_range) CONST_CAST(GLEW_NV_vertex_array_range) = !_glewInit_GL_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 7086  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8542  GLenum glewContextInit (GLEW_CONTEXT_ARG
8542  #ifdef GL_NV_vertex_array_range2  #ifdef GL_NV_vertex_array_range2
8543    CONST_CAST(GLEW_NV_vertex_array_range2) = glewGetExtension("GL_NV_vertex_array_range2");    CONST_CAST(GLEW_NV_vertex_array_range2) = glewGetExtension("GL_NV_vertex_array_range2");
8544  #endif /* GL_NV_vertex_array_range2 */  #endif /* GL_NV_vertex_array_range2 */
8545    #ifdef GL_NV_vertex_attrib_integer_64bit
8546      CONST_CAST(GLEW_NV_vertex_attrib_integer_64bit) = glewGetExtension("GL_NV_vertex_attrib_integer_64bit");
8547      if (glewExperimental || GLEW_NV_vertex_attrib_integer_64bit) CONST_CAST(GLEW_NV_vertex_attrib_integer_64bit) = !_glewInit_GL_NV_vertex_attrib_integer_64bit(GLEW_CONTEXT_ARG_VAR_INIT);
8548    #endif /* GL_NV_vertex_attrib_integer_64bit */
8549    #ifdef GL_NV_vertex_buffer_unified_memory
8550      CONST_CAST(GLEW_NV_vertex_buffer_unified_memory) = glewGetExtension("GL_NV_vertex_buffer_unified_memory");
8551      if (glewExperimental || GLEW_NV_vertex_buffer_unified_memory) CONST_CAST(GLEW_NV_vertex_buffer_unified_memory) = !_glewInit_GL_NV_vertex_buffer_unified_memory(GLEW_CONTEXT_ARG_VAR_INIT);
8552    #endif /* GL_NV_vertex_buffer_unified_memory */
8553  #ifdef GL_NV_vertex_program  #ifdef GL_NV_vertex_program
8554    CONST_CAST(GLEW_NV_vertex_program) = glewGetExtension("GL_NV_vertex_program");    CONST_CAST(GLEW_NV_vertex_program) = glewGetExtension("GL_NV_vertex_program");
8555    if (glewExperimental || GLEW_NV_vertex_program) CONST_CAST(GLEW_NV_vertex_program) = !_glewInit_GL_NV_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLEW_NV_vertex_program) CONST_CAST(GLEW_NV_vertex_program) = !_glewInit_GL_NV_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 7103  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8567  GLenum glewContextInit (GLEW_CONTEXT_ARG
8567    CONST_CAST(GLEW_NV_vertex_program3) = glewGetExtension("GL_NV_vertex_program3");    CONST_CAST(GLEW_NV_vertex_program3) = glewGetExtension("GL_NV_vertex_program3");
8568  #endif /* GL_NV_vertex_program3 */  #endif /* GL_NV_vertex_program3 */
8569  #ifdef GL_NV_vertex_program4  #ifdef GL_NV_vertex_program4
8570    CONST_CAST(GLEW_NV_vertex_program4) = glewGetExtension("GL_NV_vertex_program4");    CONST_CAST(GLEW_NV_vertex_program4) = glewGetExtension("GL_NV_gpu_program4");
8571  #endif /* GL_NV_vertex_program4 */  #endif /* GL_NV_vertex_program4 */
8572  #ifdef GL_OES_byte_coordinates  #ifdef GL_OES_byte_coordinates
8573    CONST_CAST(GLEW_OES_byte_coordinates) = glewGetExtension("GL_OES_byte_coordinates");    CONST_CAST(GLEW_OES_byte_coordinates) = glewGetExtension("GL_OES_byte_coordinates");
# Line 7352  GLenum glewContextInit (GLEW_CONTEXT_ARG Line 8816  GLenum glewContextInit (GLEW_CONTEXT_ARG
8816    
8817  PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL = NULL;  PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL = NULL;
8818    
8819    PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD = NULL;
8820    PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD = NULL;
8821    PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD = NULL;
8822    PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD = NULL;
8823    PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD = NULL;
8824    PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD = NULL;
8825    PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD = NULL;
8826    PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD = NULL;
8827    PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD = NULL;
8828    
8829  PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB = NULL;  PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB = NULL;
8830  PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB = NULL;  PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB = NULL;
8831  PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB = NULL;  PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB = NULL;
# Line 7437  PFNWGLENDFRAMETRACKINGI3DPROC __wglewEnd Line 8911  PFNWGLENDFRAMETRACKINGI3DPROC __wglewEnd
8911  PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D = NULL;  PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D = NULL;
8912  PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D = NULL;  PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D = NULL;
8913    
8914    PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV = NULL;
8915    
8916  PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV = NULL;  PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV = NULL;
8917  PFNWGLDELETEDCNVPROC __wglewDeleteDCNV = NULL;  PFNWGLDELETEDCNVPROC __wglewDeleteDCNV = NULL;
8918  PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV = NULL;  PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV = NULL;
# Line 7472  PFNWGLWAITFORMSCOMLPROC __wglewWaitForMs Line 8948  PFNWGLWAITFORMSCOMLPROC __wglewWaitForMs
8948  PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML = NULL;  PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML = NULL;
8949  GLboolean __WGLEW_3DFX_multisample = GL_FALSE;  GLboolean __WGLEW_3DFX_multisample = GL_FALSE;
8950  GLboolean __WGLEW_3DL_stereo_control = GL_FALSE;  GLboolean __WGLEW_3DL_stereo_control = GL_FALSE;
8951    GLboolean __WGLEW_AMD_gpu_association = GL_FALSE;
8952  GLboolean __WGLEW_ARB_buffer_region = GL_FALSE;  GLboolean __WGLEW_ARB_buffer_region = GL_FALSE;
8953  GLboolean __WGLEW_ARB_create_context = GL_FALSE;  GLboolean __WGLEW_ARB_create_context = GL_FALSE;
8954    GLboolean __WGLEW_ARB_create_context_profile = GL_FALSE;
8955  GLboolean __WGLEW_ARB_extensions_string = GL_FALSE;  GLboolean __WGLEW_ARB_extensions_string = GL_FALSE;
8956  GLboolean __WGLEW_ARB_framebuffer_sRGB = GL_FALSE;  GLboolean __WGLEW_ARB_framebuffer_sRGB = GL_FALSE;
8957  GLboolean __WGLEW_ARB_make_current_read = GL_FALSE;  GLboolean __WGLEW_ARB_make_current_read = GL_FALSE;
# Line 7500  GLboolean __WGLEW_I3D_genlock = GL_FALSE Line 8978  GLboolean __WGLEW_I3D_genlock = GL_FALSE
8978  GLboolean __WGLEW_I3D_image_buffer = GL_FALSE;  GLboolean __WGLEW_I3D_image_buffer = GL_FALSE;
8979  GLboolean __WGLEW_I3D_swap_frame_lock = GL_FALSE;  GLboolean __WGLEW_I3D_swap_frame_lock = GL_FALSE;
8980  GLboolean __WGLEW_I3D_swap_frame_usage = GL_FALSE;  GLboolean __WGLEW_I3D_swap_frame_usage = GL_FALSE;
8981    GLboolean __WGLEW_NV_copy_image = GL_FALSE;
8982  GLboolean __WGLEW_NV_float_buffer = GL_FALSE;  GLboolean __WGLEW_NV_float_buffer = GL_FALSE;
8983  GLboolean __WGLEW_NV_gpu_affinity = GL_FALSE;  GLboolean __WGLEW_NV_gpu_affinity = GL_FALSE;
8984  GLboolean __WGLEW_NV_present_video = GL_FALSE;  GLboolean __WGLEW_NV_present_video = GL_FALSE;
# Line 7529  static GLboolean _glewInit_WGL_3DL_stere Line 9008  static GLboolean _glewInit_WGL_3DL_stere
9008    
9009  #endif /* WGL_3DL_stereo_control */  #endif /* WGL_3DL_stereo_control */
9010    
9011    #ifdef WGL_AMD_gpu_association
9012    
9013    static GLboolean _glewInit_WGL_AMD_gpu_association (WGLEW_CONTEXT_ARG_DEF_INIT)
9014    {
9015      GLboolean r = GL_FALSE;
9016    
9017      r = ((wglBlitContextFramebufferAMD = (PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC)glewGetProcAddress((const GLubyte*)"wglBlitContextFramebufferAMD")) == NULL) || r;
9018      r = ((wglCreateAssociatedContextAMD = (PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAMD")) == NULL) || r;
9019      r = ((wglCreateAssociatedContextAttribsAMD = (PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAttribsAMD")) == NULL) || r;
9020      r = ((wglDeleteAssociatedContextAMD = (PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglDeleteAssociatedContextAMD")) == NULL) || r;
9021      r = ((wglGetContextGPUIDAMD = (PFNWGLGETCONTEXTGPUIDAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetContextGPUIDAMD")) == NULL) || r;
9022      r = ((wglGetCurrentAssociatedContextAMD = (PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentAssociatedContextAMD")) == NULL) || r;
9023      r = ((wglGetGPUIDsAMD = (PFNWGLGETGPUIDSAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUIDsAMD")) == NULL) || r;
9024      r = ((wglGetGPUInfoAMD = (PFNWGLGETGPUINFOAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUInfoAMD")) == NULL) || r;
9025      r = ((wglMakeAssociatedContextCurrentAMD = (PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)glewGetProcAddress((const GLubyte*)"wglMakeAssociatedContextCurrentAMD")) == NULL) || r;
9026    
9027      return r;
9028    }
9029    
9030    #endif /* WGL_AMD_gpu_association */
9031    
9032  #ifdef WGL_ARB_buffer_region  #ifdef WGL_ARB_buffer_region
9033    
9034  static GLboolean _glewInit_WGL_ARB_buffer_region (WGLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_WGL_ARB_buffer_region (WGLEW_CONTEXT_ARG_DEF_INIT)
# Line 7558  static GLboolean _glewInit_WGL_ARB_creat Line 9058  static GLboolean _glewInit_WGL_ARB_creat
9058    
9059  #endif /* WGL_ARB_create_context */  #endif /* WGL_ARB_create_context */
9060    
9061    #ifdef WGL_ARB_create_context_profile
9062    
9063    #endif /* WGL_ARB_create_context_profile */
9064    
9065  #ifdef WGL_ARB_extensions_string  #ifdef WGL_ARB_extensions_string
9066    
9067  static GLboolean _glewInit_WGL_ARB_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_WGL_ARB_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT)
# Line 7859  static GLboolean _glewInit_WGL_I3D_swap_ Line 9363  static GLboolean _glewInit_WGL_I3D_swap_
9363    
9364  #endif /* WGL_I3D_swap_frame_usage */  #endif /* WGL_I3D_swap_frame_usage */
9365    
9366    #ifdef WGL_NV_copy_image
9367    
9368    static GLboolean _glewInit_WGL_NV_copy_image (WGLEW_CONTEXT_ARG_DEF_INIT)
9369    {
9370      GLboolean r = GL_FALSE;
9371    
9372      r = ((wglCopyImageSubDataNV = (PFNWGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"wglCopyImageSubDataNV")) == NULL) || r;
9373    
9374      return r;
9375    }
9376    
9377    #endif /* WGL_NV_copy_image */
9378    
9379  #ifdef WGL_NV_float_buffer  #ifdef WGL_NV_float_buffer
9380    
9381  #endif /* WGL_NV_float_buffer */  #endif /* WGL_NV_float_buffer */
# Line 7977  static PFNWGLGETEXTENSIONSSTRINGARBPROC Line 9494  static PFNWGLGETEXTENSIONSSTRINGARBPROC
9494  static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;  static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;
9495    
9496  GLboolean wglewGetExtension (const char* name)  GLboolean wglewGetExtension (const char* name)
9497  {  {    
9498    GLubyte* p;    GLubyte* p;
9499    GLubyte* end;    GLubyte* end;
9500    GLuint len = _glewStrLen((const GLubyte*)name);    GLuint len = _glewStrLen((const GLubyte*)name);
# Line 8014  GLenum wglewContextInit (WGLEW_CONTEXT_A Line 9531  GLenum wglewContextInit (WGLEW_CONTEXT_A
9531    CONST_CAST(WGLEW_3DL_stereo_control) = wglewGetExtension("WGL_3DL_stereo_control");    CONST_CAST(WGLEW_3DL_stereo_control) = wglewGetExtension("WGL_3DL_stereo_control");
9532    if (glewExperimental || WGLEW_3DL_stereo_control|| crippled) CONST_CAST(WGLEW_3DL_stereo_control)= !_glewInit_WGL_3DL_stereo_control(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || WGLEW_3DL_stereo_control|| crippled) CONST_CAST(WGLEW_3DL_stereo_control)= !_glewInit_WGL_3DL_stereo_control(GLEW_CONTEXT_ARG_VAR_INIT);
9533  #endif /* WGL_3DL_stereo_control */  #endif /* WGL_3DL_stereo_control */
9534    #ifdef WGL_AMD_gpu_association
9535      CONST_CAST(WGLEW_AMD_gpu_association) = wglewGetExtension("WGL_AMD_gpu_association");
9536      if (glewExperimental || WGLEW_AMD_gpu_association|| crippled) CONST_CAST(WGLEW_AMD_gpu_association)= !_glewInit_WGL_AMD_gpu_association(GLEW_CONTEXT_ARG_VAR_INIT);
9537    #endif /* WGL_AMD_gpu_association */
9538  #ifdef WGL_ARB_buffer_region  #ifdef WGL_ARB_buffer_region
9539    CONST_CAST(WGLEW_ARB_buffer_region) = wglewGetExtension("WGL_ARB_buffer_region");    CONST_CAST(WGLEW_ARB_buffer_region) = wglewGetExtension("WGL_ARB_buffer_region");
9540    if (glewExperimental || WGLEW_ARB_buffer_region|| crippled) CONST_CAST(WGLEW_ARB_buffer_region)= !_glewInit_WGL_ARB_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || WGLEW_ARB_buffer_region|| crippled) CONST_CAST(WGLEW_ARB_buffer_region)= !_glewInit_WGL_ARB_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 8022  GLenum wglewContextInit (WGLEW_CONTEXT_A Line 9543  GLenum wglewContextInit (WGLEW_CONTEXT_A
9543    CONST_CAST(WGLEW_ARB_create_context) = wglewGetExtension("WGL_ARB_create_context");    CONST_CAST(WGLEW_ARB_create_context) = wglewGetExtension("WGL_ARB_create_context");
9544    if (glewExperimental || WGLEW_ARB_create_context|| crippled) CONST_CAST(WGLEW_ARB_create_context)= !_glewInit_WGL_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || WGLEW_ARB_create_context|| crippled) CONST_CAST(WGLEW_ARB_create_context)= !_glewInit_WGL_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT);
9545  #endif /* WGL_ARB_create_context */  #endif /* WGL_ARB_create_context */
9546    #ifdef WGL_ARB_create_context_profile
9547      CONST_CAST(WGLEW_ARB_create_context_profile) = wglewGetExtension("WGL_ARB_create_context_profile");
9548    #endif /* WGL_ARB_create_context_profile */
9549  #ifdef WGL_ARB_extensions_string  #ifdef WGL_ARB_extensions_string
9550    CONST_CAST(WGLEW_ARB_extensions_string) = wglewGetExtension("WGL_ARB_extensions_string");    CONST_CAST(WGLEW_ARB_extensions_string) = wglewGetExtension("WGL_ARB_extensions_string");
9551    if (glewExperimental || WGLEW_ARB_extensions_string|| crippled) CONST_CAST(WGLEW_ARB_extensions_string)= !_glewInit_WGL_ARB_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || WGLEW_ARB_extensions_string|| crippled) CONST_CAST(WGLEW_ARB_extensions_string)= !_glewInit_WGL_ARB_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 8117  GLenum wglewContextInit (WGLEW_CONTEXT_A Line 9641  GLenum wglewContextInit (WGLEW_CONTEXT_A
9641    CONST_CAST(WGLEW_I3D_swap_frame_usage) = wglewGetExtension("WGL_I3D_swap_frame_usage");    CONST_CAST(WGLEW_I3D_swap_frame_usage) = wglewGetExtension("WGL_I3D_swap_frame_usage");
9642    if (glewExperimental || WGLEW_I3D_swap_frame_usage|| crippled) CONST_CAST(WGLEW_I3D_swap_frame_usage)= !_glewInit_WGL_I3D_swap_frame_usage(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || WGLEW_I3D_swap_frame_usage|| crippled) CONST_CAST(WGLEW_I3D_swap_frame_usage)= !_glewInit_WGL_I3D_swap_frame_usage(GLEW_CONTEXT_ARG_VAR_INIT);
9643  #endif /* WGL_I3D_swap_frame_usage */  #endif /* WGL_I3D_swap_frame_usage */
9644    #ifdef WGL_NV_copy_image
9645      CONST_CAST(WGLEW_NV_copy_image) = wglewGetExtension("WGL_NV_copy_image");
9646      if (glewExperimental || WGLEW_NV_copy_image|| crippled) CONST_CAST(WGLEW_NV_copy_image)= !_glewInit_WGL_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
9647    #endif /* WGL_NV_copy_image */
9648  #ifdef WGL_NV_float_buffer  #ifdef WGL_NV_float_buffer
9649    CONST_CAST(WGLEW_NV_float_buffer) = wglewGetExtension("WGL_NV_float_buffer");    CONST_CAST(WGLEW_NV_float_buffer) = wglewGetExtension("WGL_NV_float_buffer");
9650  #endif /* WGL_NV_float_buffer */  #endif /* WGL_NV_float_buffer */
# Line 8187  PFNGLXGETCONTEXTIDEXTPROC __glewXGetCont Line 9715  PFNGLXGETCONTEXTIDEXTPROC __glewXGetCont
9715  PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT = NULL;  PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT = NULL;
9716  PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT = NULL;  PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT = NULL;
9717    
9718    PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT = NULL;
9719    
9720  PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT = NULL;  PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT = NULL;
9721  PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT = NULL;  PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT = NULL;
9722    
# Line 8200  PFNGLXRELEASEBUFFERSMESAPROC __glewXRele Line 9730  PFNGLXRELEASEBUFFERSMESAPROC __glewXRele
9730    
9731  PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA = NULL;  PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA = NULL;
9732    
9733    PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV = NULL;
9734    
9735  PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV = NULL;  PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV = NULL;
9736  PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV = NULL;  PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV = NULL;
9737    
# Line 8285  GLboolean __GLXEW_VERSION_1_3 = GL_FALSE Line 9817  GLboolean __GLXEW_VERSION_1_3 = GL_FALSE
9817  GLboolean __GLXEW_VERSION_1_4 = GL_FALSE;  GLboolean __GLXEW_VERSION_1_4 = GL_FALSE;
9818  GLboolean __GLXEW_3DFX_multisample = GL_FALSE;  GLboolean __GLXEW_3DFX_multisample = GL_FALSE;
9819  GLboolean __GLXEW_ARB_create_context = GL_FALSE;  GLboolean __GLXEW_ARB_create_context = GL_FALSE;
9820    GLboolean __GLXEW_ARB_create_context_profile = GL_FALSE;
9821  GLboolean __GLXEW_ARB_fbconfig_float = GL_FALSE;  GLboolean __GLXEW_ARB_fbconfig_float = GL_FALSE;
9822  GLboolean __GLXEW_ARB_framebuffer_sRGB = GL_FALSE;  GLboolean __GLXEW_ARB_framebuffer_sRGB = GL_FALSE;
9823  GLboolean __GLXEW_ARB_get_proc_address = GL_FALSE;  GLboolean __GLXEW_ARB_get_proc_address = GL_FALSE;
9824  GLboolean __GLXEW_ARB_multisample = GL_FALSE;  GLboolean __GLXEW_ARB_multisample = GL_FALSE;
9825    GLboolean __GLXEW_ARB_vertex_buffer_object = GL_FALSE;
9826  GLboolean __GLXEW_ATI_pixel_format_float = GL_FALSE;  GLboolean __GLXEW_ATI_pixel_format_float = GL_FALSE;
9827  GLboolean __GLXEW_ATI_render_texture = GL_FALSE;  GLboolean __GLXEW_ATI_render_texture = GL_FALSE;
9828  GLboolean __GLXEW_EXT_fbconfig_packed_float = GL_FALSE;  GLboolean __GLXEW_EXT_fbconfig_packed_float = GL_FALSE;
9829  GLboolean __GLXEW_EXT_framebuffer_sRGB = GL_FALSE;  GLboolean __GLXEW_EXT_framebuffer_sRGB = GL_FALSE;
9830  GLboolean __GLXEW_EXT_import_context = GL_FALSE;  GLboolean __GLXEW_EXT_import_context = GL_FALSE;
9831  GLboolean __GLXEW_EXT_scene_marker = GL_FALSE;  GLboolean __GLXEW_EXT_scene_marker = GL_FALSE;
9832    GLboolean __GLXEW_EXT_swap_control = GL_FALSE;
9833  GLboolean __GLXEW_EXT_texture_from_pixmap = GL_FALSE;  GLboolean __GLXEW_EXT_texture_from_pixmap = GL_FALSE;
9834  GLboolean __GLXEW_EXT_visual_info = GL_FALSE;  GLboolean __GLXEW_EXT_visual_info = GL_FALSE;
9835  GLboolean __GLXEW_EXT_visual_rating = GL_FALSE;  GLboolean __GLXEW_EXT_visual_rating = GL_FALSE;
9836    GLboolean __GLXEW_INTEL_swap_event = GL_FALSE;
9837  GLboolean __GLXEW_MESA_agp_offset = GL_FALSE;  GLboolean __GLXEW_MESA_agp_offset = GL_FALSE;
9838  GLboolean __GLXEW_MESA_copy_sub_buffer = GL_FALSE;  GLboolean __GLXEW_MESA_copy_sub_buffer = GL_FALSE;
9839  GLboolean __GLXEW_MESA_pixmap_colormap = GL_FALSE;  GLboolean __GLXEW_MESA_pixmap_colormap = GL_FALSE;
9840  GLboolean __GLXEW_MESA_release_buffers = GL_FALSE;  GLboolean __GLXEW_MESA_release_buffers = GL_FALSE;
9841  GLboolean __GLXEW_MESA_set_3dfx_mode = GL_FALSE;  GLboolean __GLXEW_MESA_set_3dfx_mode = GL_FALSE;
9842    GLboolean __GLXEW_NV_copy_image = GL_FALSE;
9843  GLboolean __GLXEW_NV_float_buffer = GL_FALSE;  GLboolean __GLXEW_NV_float_buffer = GL_FALSE;
9844  GLboolean __GLXEW_NV_present_video = GL_FALSE;  GLboolean __GLXEW_NV_present_video = GL_FALSE;
9845  GLboolean __GLXEW_NV_swap_group = GL_FALSE;  GLboolean __GLXEW_NV_swap_group = GL_FALSE;
# Line 8395  static GLboolean _glewInit_GLX_ARB_creat Line 9932  static GLboolean _glewInit_GLX_ARB_creat
9932    
9933  #endif /* GLX_ARB_create_context */  #endif /* GLX_ARB_create_context */
9934    
9935    #ifdef GLX_ARB_create_context_profile
9936    
9937    #endif /* GLX_ARB_create_context_profile */
9938    
9939  #ifdef GLX_ARB_fbconfig_float  #ifdef GLX_ARB_fbconfig_float
9940    
9941  #endif /* GLX_ARB_fbconfig_float */  #endif /* GLX_ARB_fbconfig_float */
# Line 8411  static GLboolean _glewInit_GLX_ARB_creat Line 9952  static GLboolean _glewInit_GLX_ARB_creat
9952    
9953  #endif /* GLX_ARB_multisample */  #endif /* GLX_ARB_multisample */
9954    
9955    #ifdef GLX_ARB_vertex_buffer_object
9956    
9957    #endif /* GLX_ARB_vertex_buffer_object */
9958    
9959  #ifdef GLX_ATI_pixel_format_float  #ifdef GLX_ATI_pixel_format_float
9960    
9961  #endif /* GLX_ATI_pixel_format_float */  #endif /* GLX_ATI_pixel_format_float */
# Line 8458  static GLboolean _glewInit_GLX_EXT_impor Line 10003  static GLboolean _glewInit_GLX_EXT_impor
10003    
10004  #endif /* GLX_EXT_scene_marker */  #endif /* GLX_EXT_scene_marker */
10005    
10006    #ifdef GLX_EXT_swap_control
10007    
10008    static GLboolean _glewInit_GLX_EXT_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT)
10009    {
10010      GLboolean r = GL_FALSE;
10011    
10012      r = ((glXSwapIntervalEXT = (PFNGLXSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalEXT")) == NULL) || r;
10013    
10014      return r;
10015    }
10016    
10017    #endif /* GLX_EXT_swap_control */
10018    
10019  #ifdef GLX_EXT_texture_from_pixmap  #ifdef GLX_EXT_texture_from_pixmap
10020    
10021  static GLboolean _glewInit_GLX_EXT_texture_from_pixmap (GLXEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GLX_EXT_texture_from_pixmap (GLXEW_CONTEXT_ARG_DEF_INIT)
# Line 8480  static GLboolean _glewInit_GLX_EXT_textu Line 10038  static GLboolean _glewInit_GLX_EXT_textu
10038    
10039  #endif /* GLX_EXT_visual_rating */  #endif /* GLX_EXT_visual_rating */
10040    
10041    #ifdef GLX_INTEL_swap_event
10042    
10043    #endif /* GLX_INTEL_swap_event */
10044    
10045  #ifdef GLX_MESA_agp_offset  #ifdef GLX_MESA_agp_offset
10046    
10047  static GLboolean _glewInit_GLX_MESA_agp_offset (GLXEW_CONTEXT_ARG_DEF_INIT)  static GLboolean _glewInit_GLX_MESA_agp_offset (GLXEW_CONTEXT_ARG_DEF_INIT)
# Line 8545  static GLboolean _glewInit_GLX_MESA_set_ Line 10107  static GLboolean _glewInit_GLX_MESA_set_
10107    
10108  #endif /* GLX_MESA_set_3dfx_mode */  #endif /* GLX_MESA_set_3dfx_mode */
10109    
10110    #ifdef GLX_NV_copy_image
10111    
10112    static GLboolean _glewInit_GLX_NV_copy_image (GLXEW_CONTEXT_ARG_DEF_INIT)
10113    {
10114      GLboolean r = GL_FALSE;
10115    
10116      r = ((glXCopyImageSubDataNV = (PFNGLXCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXCopyImageSubDataNV")) == NULL) || r;
10117    
10118      return r;
10119    }
10120    
10121    #endif /* GLX_NV_copy_image */
10122    
10123  #ifdef GLX_NV_float_buffer  #ifdef GLX_NV_float_buffer
10124    
10125  #endif /* GLX_NV_float_buffer */  #endif /* GLX_NV_float_buffer */
# Line 8838  static GLboolean _glewInit_GLX_SUN_video Line 10413  static GLboolean _glewInit_GLX_SUN_video
10413  /* ------------------------------------------------------------------------ */  /* ------------------------------------------------------------------------ */
10414    
10415  GLboolean glxewGetExtension (const char* name)  GLboolean glxewGetExtension (const char* name)
10416  {  {    
10417    GLubyte* p;    GLubyte* p;
10418    GLubyte* end;    GLubyte* end;
10419    GLuint len = _glewStrLen((const GLubyte*)name);    GLuint len;
10420  /*   if (glXQueryExtensionsString == NULL || glXGetCurrentDisplay == NULL) return GL_FALSE; */  
10421  /*   p = (GLubyte*)glXQueryExtensionsString(glXGetCurrentDisplay(), DefaultScreen(glXGetCurrentDisplay())); */    if (glXGetCurrentDisplay == NULL) return GL_FALSE;
10422    if (glXGetClientString == NULL || glXGetCurrentDisplay == NULL) return GL_FALSE;    len = _glewStrLen((const GLubyte*)name);
10423    p = (GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS);    p = (GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS);
10424    if (0 == p) return GL_FALSE;    if (0 == p) return GL_FALSE;
10425    end = p + _glewStrLen(p);    end = p + _glewStrLen(p);
# Line 8897  GLenum glxewContextInit (GLXEW_CONTEXT_A Line 10472  GLenum glxewContextInit (GLXEW_CONTEXT_A
10472    CONST_CAST(GLXEW_ARB_create_context) = glxewGetExtension("GLX_ARB_create_context");    CONST_CAST(GLXEW_ARB_create_context) = glxewGetExtension("GLX_ARB_create_context");
10473    if (glewExperimental || GLXEW_ARB_create_context) CONST_CAST(GLXEW_ARB_create_context) = !_glewInit_GLX_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLXEW_ARB_create_context) CONST_CAST(GLXEW_ARB_create_context) = !_glewInit_GLX_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT);
10474  #endif /* GLX_ARB_create_context */  #endif /* GLX_ARB_create_context */
10475    #ifdef GLX_ARB_create_context_profile
10476      CONST_CAST(GLXEW_ARB_create_context_profile) = glxewGetExtension("GLX_ARB_create_context_profile");
10477    #endif /* GLX_ARB_create_context_profile */
10478  #ifdef GLX_ARB_fbconfig_float  #ifdef GLX_ARB_fbconfig_float
10479    CONST_CAST(GLXEW_ARB_fbconfig_float) = glxewGetExtension("GLX_ARB_fbconfig_float");    CONST_CAST(GLXEW_ARB_fbconfig_float) = glxewGetExtension("GLX_ARB_fbconfig_float");
10480  #endif /* GLX_ARB_fbconfig_float */  #endif /* GLX_ARB_fbconfig_float */
# Line 8909  GLenum glxewContextInit (GLXEW_CONTEXT_A Line 10487  GLenum glxewContextInit (GLXEW_CONTEXT_A
10487  #ifdef GLX_ARB_multisample  #ifdef GLX_ARB_multisample
10488    CONST_CAST(GLXEW_ARB_multisample) = glxewGetExtension("GLX_ARB_multisample");    CONST_CAST(GLXEW_ARB_multisample) = glxewGetExtension("GLX_ARB_multisample");
10489  #endif /* GLX_ARB_multisample */  #endif /* GLX_ARB_multisample */
10490    #ifdef GLX_ARB_vertex_buffer_object
10491      CONST_CAST(GLXEW_ARB_vertex_buffer_object) = glxewGetExtension("GLX_ARB_vertex_buffer_object");
10492    #endif /* GLX_ARB_vertex_buffer_object */
10493  #ifdef GLX_ATI_pixel_format_float  #ifdef GLX_ATI_pixel_format_float
10494    CONST_CAST(GLXEW_ATI_pixel_format_float) = glxewGetExtension("GLX_ATI_pixel_format_float");    CONST_CAST(GLXEW_ATI_pixel_format_float) = glxewGetExtension("GLX_ATI_pixel_format_float");
10495  #endif /* GLX_ATI_pixel_format_float */  #endif /* GLX_ATI_pixel_format_float */
# Line 8929  GLenum glxewContextInit (GLXEW_CONTEXT_A Line 10510  GLenum glxewContextInit (GLXEW_CONTEXT_A
10510  #ifdef GLX_EXT_scene_marker  #ifdef GLX_EXT_scene_marker
10511    CONST_CAST(GLXEW_EXT_scene_marker) = glxewGetExtension("GLX_EXT_scene_marker");    CONST_CAST(GLXEW_EXT_scene_marker) = glxewGetExtension("GLX_EXT_scene_marker");
10512  #endif /* GLX_EXT_scene_marker */  #endif /* GLX_EXT_scene_marker */
10513    #ifdef GLX_EXT_swap_control
10514      CONST_CAST(GLXEW_EXT_swap_control) = glxewGetExtension("GLX_EXT_swap_control");
10515      if (glewExperimental || GLXEW_EXT_swap_control) CONST_CAST(GLXEW_EXT_swap_control) = !_glewInit_GLX_EXT_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
10516    #endif /* GLX_EXT_swap_control */
10517  #ifdef GLX_EXT_texture_from_pixmap  #ifdef GLX_EXT_texture_from_pixmap
10518    CONST_CAST(GLXEW_EXT_texture_from_pixmap) = glxewGetExtension("GLX_EXT_texture_from_pixmap");    CONST_CAST(GLXEW_EXT_texture_from_pixmap) = glxewGetExtension("GLX_EXT_texture_from_pixmap");
10519    if (glewExperimental || GLXEW_EXT_texture_from_pixmap) CONST_CAST(GLXEW_EXT_texture_from_pixmap) = !_glewInit_GLX_EXT_texture_from_pixmap(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLXEW_EXT_texture_from_pixmap) CONST_CAST(GLXEW_EXT_texture_from_pixmap) = !_glewInit_GLX_EXT_texture_from_pixmap(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 8939  GLenum glxewContextInit (GLXEW_CONTEXT_A Line 10524  GLenum glxewContextInit (GLXEW_CONTEXT_A
10524  #ifdef GLX_EXT_visual_rating  #ifdef GLX_EXT_visual_rating
10525    CONST_CAST(GLXEW_EXT_visual_rating) = glxewGetExtension("GLX_EXT_visual_rating");    CONST_CAST(GLXEW_EXT_visual_rating) = glxewGetExtension("GLX_EXT_visual_rating");
10526  #endif /* GLX_EXT_visual_rating */  #endif /* GLX_EXT_visual_rating */
10527    #ifdef GLX_INTEL_swap_event
10528      CONST_CAST(GLXEW_INTEL_swap_event) = glxewGetExtension("GLX_INTEL_swap_event");
10529    #endif /* GLX_INTEL_swap_event */
10530  #ifdef GLX_MESA_agp_offset  #ifdef GLX_MESA_agp_offset
10531    CONST_CAST(GLXEW_MESA_agp_offset) = glxewGetExtension("GLX_MESA_agp_offset");    CONST_CAST(GLXEW_MESA_agp_offset) = glxewGetExtension("GLX_MESA_agp_offset");
10532    if (glewExperimental || GLXEW_MESA_agp_offset) CONST_CAST(GLXEW_MESA_agp_offset) = !_glewInit_GLX_MESA_agp_offset(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLXEW_MESA_agp_offset) CONST_CAST(GLXEW_MESA_agp_offset) = !_glewInit_GLX_MESA_agp_offset(GLEW_CONTEXT_ARG_VAR_INIT);
# Line 8959  GLenum glxewContextInit (GLXEW_CONTEXT_A Line 10547  GLenum glxewContextInit (GLXEW_CONTEXT_A
10547    CONST_CAST(GLXEW_MESA_set_3dfx_mode) = glxewGetExtension("GLX_MESA_set_3dfx_mode");    CONST_CAST(GLXEW_MESA_set_3dfx_mode) = glxewGetExtension("GLX_MESA_set_3dfx_mode");
10548    if (glewExperimental || GLXEW_MESA_set_3dfx_mode) CONST_CAST(GLXEW_MESA_set_3dfx_mode) = !_glewInit_GLX_MESA_set_3dfx_mode(GLEW_CONTEXT_ARG_VAR_INIT);    if (glewExperimental || GLXEW_MESA_set_3dfx_mode) CONST_CAST(GLXEW_MESA_set_3dfx_mode) = !_glewInit_GLX_MESA_set_3dfx_mode(GLEW_CONTEXT_ARG_VAR_INIT);
10549  #endif /* GLX_MESA_set_3dfx_mode */  #endif /* GLX_MESA_set_3dfx_mode */
10550    #ifdef GLX_NV_copy_image
10551      CONST_CAST(GLXEW_NV_copy_image) = glxewGetExtension("GLX_NV_copy_image");
10552      if (glewExperimental || GLXEW_NV_copy_image) CONST_CAST(GLXEW_NV_copy_image) = !_glewInit_GLX_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
10553    #endif /* GLX_NV_copy_image */
10554  #ifdef GLX_NV_float_buffer  #ifdef GLX_NV_float_buffer
10555    CONST_CAST(GLXEW_NV_float_buffer) = glxewGetExtension("GLX_NV_float_buffer");    CONST_CAST(GLXEW_NV_float_buffer) = glxewGetExtension("GLX_NV_float_buffer");
10556  #endif /* GLX_NV_float_buffer */  #endif /* GLX_NV_float_buffer */
# Line 9076  const GLubyte* glewGetString (GLenum nam Line 10668  const GLubyte* glewGetString (GLenum nam
10668    static const GLubyte* _glewString[] =    static const GLubyte* _glewString[] =
10669    {    {
10670      (const GLubyte*)NULL,      (const GLubyte*)NULL,
10671      (const GLubyte*)"1.5.1",      (const GLubyte*)"1.5.4",
10672      (const GLubyte*)"1",      (const GLubyte*)"1",
10673      (const GLubyte*)"5",      (const GLubyte*)"5",
10674      (const GLubyte*)"1"      (const GLubyte*)"4"
10675    };    };
10676    const int max_string = sizeof(_glewString)/sizeof(*_glewString) - 1;    const int max_string = sizeof(_glewString)/sizeof(*_glewString) - 1;
10677    return _glewString[(int)name > max_string ? 0 : (int)name];    return _glewString[(int)name > max_string ? 0 : (int)name];
# Line 9175  GLboolean glewIsSupported (const char* n Line 10767  GLboolean glewIsSupported (const char* n
10767            continue;            continue;
10768          }          }
10769  #endif  #endif
10770    #ifdef GL_VERSION_3_1
10771            if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_1", 3))
10772            {
10773              ret = GLEW_VERSION_3_1;
10774              continue;
10775            }
10776    #endif
10777    #ifdef GL_VERSION_3_2
10778            if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_2", 3))
10779            {
10780              ret = GLEW_VERSION_3_2;
10781              continue;
10782            }
10783    #endif
10784    #ifdef GL_VERSION_3_3
10785            if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_3", 3))
10786            {
10787              ret = GLEW_VERSION_3_3;
10788              continue;
10789            }
10790    #endif
10791    #ifdef GL_VERSION_4_0
10792            if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_0", 3))
10793            {
10794              ret = GLEW_VERSION_4_0;
10795              continue;
10796            }
10797    #endif
10798        }        }
10799        if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))        if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
10800        {        {
# Line 9200  GLboolean glewIsSupported (const char* n Line 10820  GLboolean glewIsSupported (const char* n
10820          }          }
10821  #endif  #endif
10822        }        }
10823          if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
10824          {
10825    #ifdef GL_AMD_conservative_depth
10826            if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
10827            {
10828              ret = GLEW_AMD_conservative_depth;
10829              continue;
10830            }
10831    #endif
10832    #ifdef GL_AMD_draw_buffers_blend
10833            if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18))
10834            {
10835              ret = GLEW_AMD_draw_buffers_blend;
10836              continue;
10837            }
10838    #endif
10839    #ifdef GL_AMD_performance_monitor
10840            if (_glewStrSame3(&pos, &len, (const GLubyte*)"performance_monitor", 19))
10841            {
10842              ret = GLEW_AMD_performance_monitor;