Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# glh_genext.h

Go to the documentation of this file.

    00001 /* File generated by extgen.cpp -- do not modify */
    00002 #ifndef GLH_GENEXT_H
    00003 #define GLH_GENEXT_H
    00004
    00005 #include <GL/gl.h>
    00006 #include "glext.h"
    00007 #ifdef _WIN32 /* supports windows, x -- need to generalize */
    00008 #  include "wglext.h"
    00009 #  define GLH_EXT_GET_PROC_ADDRESS(p)   wglGetProcAddress(p)
    00010 #else if GLX_VERSION_1_3
    00011 #  include <GL/glxext.h>
    00012 #  define GLH_EXT_GET_PROC_ADDRESS(p)   glXGetProcAddressARB(p)
    00013 #endif
    00014
    00015 #ifdef GLH_EXT_SINGLE_FILE
    00016     #define GLH_EXTERN
    00017  #define GLH_INITIALIZER = 0
    00018 #else
    00019     #define GLH_EXTERN extern
    00020  #define GLH_INITIALIZER
    00021 #endif
    00022
    00023 #define GLH__PREPROCESSOR_GYMNASTICS2(a,b) a##b
    00024 #define GLH__PREPROCESSOR_GYMNASTICS(a,b) GLH__PREPROCESSOR_GYMNASTICS2(a,b)
    00025
    00026 #ifndef GLH_EXT_PREFIX
    00027 # define GLH_EXT_NAME(a) a
    00028 #else
    00029 # define GLH_EXT_NAME(a) GLH__PREPROCESSOR_GYMNASTICS(GLH_EXT_PREFIX,a)
    00030 #endif
    00031
    00032 #ifndef _WIN32
    00033 # ifndef GLH_CORE_1_2_PREFIX
    00034 #  define GLH_CORE_1_2_PREFIX _
    00035 # endif
    00036 #endif
    00037
    00038 #ifndef GLH_CORE_1_2_PREFIX
    00039 # define GLH_CORE_1_2_NAME(a) a
    00040 #else
    00041 # define GLH_CORE_1_2_NAME(a) GLH__PREPROCESSOR_GYMNASTICS(GLH_CORE_1_2_PREFIX,a)
    00042 #endif
    00043
    00044 #ifdef GL_ARB_multitexture
    00045     GLH_EXTERN PFNGLMULTITEXCOORD1DARBPROC GLH_EXT_NAME(glMultiTexCoord1dARB) GLH_INITIALIZER;
    00046     GLH_EXTERN PFNGLMULTITEXCOORD1DVARBPROC GLH_EXT_NAME(glMultiTexCoord1dvARB) GLH_INITIALIZER;
    00047     GLH_EXTERN PFNGLMULTITEXCOORD1FARBPROC GLH_EXT_NAME(glMultiTexCoord1fARB) GLH_INITIALIZER;
    00048     GLH_EXTERN PFNGLMULTITEXCOORD1FVARBPROC GLH_EXT_NAME(glMultiTexCoord1fvARB) GLH_INITIALIZER;
    00049     GLH_EXTERN PFNGLMULTITEXCOORD1IARBPROC GLH_EXT_NAME(glMultiTexCoord1iARB) GLH_INITIALIZER;
    00050     GLH_EXTERN PFNGLMULTITEXCOORD1IVARBPROC GLH_EXT_NAME(glMultiTexCoord1ivARB) GLH_INITIALIZER;
    00051     GLH_EXTERN PFNGLMULTITEXCOORD1SARBPROC GLH_EXT_NAME(glMultiTexCoord1sARB) GLH_INITIALIZER;
    00052     GLH_EXTERN PFNGLMULTITEXCOORD1SVARBPROC GLH_EXT_NAME(glMultiTexCoord1svARB) GLH_INITIALIZER;
    00053     GLH_EXTERN PFNGLMULTITEXCOORD2DARBPROC GLH_EXT_NAME(glMultiTexCoord2dARB) GLH_INITIALIZER;
    00054     GLH_EXTERN PFNGLMULTITEXCOORD2DVARBPROC GLH_EXT_NAME(glMultiTexCoord2dvARB) GLH_INITIALIZER;
    00055     GLH_EXTERN PFNGLMULTITEXCOORD2FARBPROC GLH_EXT_NAME(glMultiTexCoord2fARB) GLH_INITIALIZER;
    00056     GLH_EXTERN PFNGLMULTITEXCOORD2FVARBPROC GLH_EXT_NAME(glMultiTexCoord2fvARB) GLH_INITIALIZER;
    00057     GLH_EXTERN PFNGLMULTITEXCOORD2IARBPROC GLH_EXT_NAME(glMultiTexCoord2iARB) GLH_INITIALIZER;
    00058     GLH_EXTERN PFNGLMULTITEXCOORD2IVARBPROC GLH_EXT_NAME(glMultiTexCoord2ivARB) GLH_INITIALIZER;
    00059     GLH_EXTERN PFNGLMULTITEXCOORD2SARBPROC GLH_EXT_NAME(glMultiTexCoord2sARB) GLH_INITIALIZER;
    00060     GLH_EXTERN PFNGLMULTITEXCOORD2SVARBPROC GLH_EXT_NAME(glMultiTexCoord2svARB) GLH_INITIALIZER;
    00061     GLH_EXTERN PFNGLMULTITEXCOORD3DARBPROC GLH_EXT_NAME(glMultiTexCoord3dARB) GLH_INITIALIZER;
    00062     GLH_EXTERN PFNGLMULTITEXCOORD3DVARBPROC GLH_EXT_NAME(glMultiTexCoord3dvARB) GLH_INITIALIZER;
    00063     GLH_EXTERN PFNGLMULTITEXCOORD3FARBPROC GLH_EXT_NAME(glMultiTexCoord3fARB) GLH_INITIALIZER;
    00064     GLH_EXTERN PFNGLMULTITEXCOORD3FVARBPROC GLH_EXT_NAME(glMultiTexCoord3fvARB) GLH_INITIALIZER;
    00065     GLH_EXTERN PFNGLMULTITEXCOORD3IARBPROC GLH_EXT_NAME(glMultiTexCoord3iARB) GLH_INITIALIZER;
    00066     GLH_EXTERN PFNGLMULTITEXCOORD3IVARBPROC GLH_EXT_NAME(glMultiTexCoord3ivARB) GLH_INITIALIZER;
    00067     GLH_EXTERN PFNGLMULTITEXCOORD3SARBPROC GLH_EXT_NAME(glMultiTexCoord3sARB) GLH_INITIALIZER;
    00068     GLH_EXTERN PFNGLMULTITEXCOORD3SVARBPROC GLH_EXT_NAME(glMultiTexCoord3svARB) GLH_INITIALIZER;
    00069     GLH_EXTERN PFNGLMULTITEXCOORD4DARBPROC GLH_EXT_NAME(glMultiTexCoord4dARB) GLH_INITIALIZER;
    00070     GLH_EXTERN PFNGLMULTITEXCOORD4DVARBPROC GLH_EXT_NAME(glMultiTexCoord4dvARB) GLH_INITIALIZER;
    00071     GLH_EXTERN PFNGLMULTITEXCOORD4FARBPROC GLH_EXT_NAME(glMultiTexCoord4fARB) GLH_INITIALIZER;
    00072     GLH_EXTERN PFNGLMULTITEXCOORD4FVARBPROC GLH_EXT_NAME(glMultiTexCoord4fvARB) GLH_INITIALIZER;
    00073     GLH_EXTERN PFNGLMULTITEXCOORD4IARBPROC GLH_EXT_NAME(glMultiTexCoord4iARB) GLH_INITIALIZER;
    00074     GLH_EXTERN PFNGLMULTITEXCOORD4IVARBPROC GLH_EXT_NAME(glMultiTexCoord4ivARB) GLH_INITIALIZER;
    00075     GLH_EXTERN PFNGLMULTITEXCOORD4SARBPROC GLH_EXT_NAME(glMultiTexCoord4sARB) GLH_INITIALIZER;
    00076     GLH_EXTERN PFNGLMULTITEXCOORD4SVARBPROC GLH_EXT_NAME(glMultiTexCoord4svARB) GLH_INITIALIZER;
    00077     GLH_EXTERN PFNGLACTIVETEXTUREARBPROC GLH_EXT_NAME(glActiveTextureARB) GLH_INITIALIZER;
    00078     GLH_EXTERN PFNGLCLIENTACTIVETEXTUREARBPROC GLH_EXT_NAME(glClientActiveTextureARB) GLH_INITIALIZER;
    00079 #endif
    00080
    00081 #ifdef GL_ARB_texture_border_clamp
    00082 #endif
    00083
    00084 #ifdef GL_ARB_texture_compression
    00085     GLH_EXTERN PFNGLCOMPRESSEDTEXIMAGE3DARBPROC GLH_EXT_NAME(glCompressedTexImage3DARB) GLH_INITIALIZER;
    00086     GLH_EXTERN PFNGLCOMPRESSEDTEXIMAGE2DARBPROC GLH_EXT_NAME(glCompressedTexImage2DARB) GLH_INITIALIZER;
    00087     GLH_EXTERN PFNGLCOMPRESSEDTEXIMAGE1DARBPROC GLH_EXT_NAME(glCompressedTexImage1DARB) GLH_INITIALIZER;
    00088     GLH_EXTERN PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC GLH_EXT_NAME(glCompressedTexSubImage3DARB) GLH_INITIALIZER;
    00089     GLH_EXTERN PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC GLH_EXT_NAME(glCompressedTexSubImage2DARB) GLH_INITIALIZER;
    00090     GLH_EXTERN PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC GLH_EXT_NAME(glCompressedTexSubImage1DARB) GLH_INITIALIZER;
    00091     GLH_EXTERN PFNGLGETCOMPRESSEDTEXIMAGEARBPROC GLH_EXT_NAME(glGetCompressedTexImageARB) GLH_INITIALIZER;
    00092 #endif
    00093
    00094 #ifdef GL_ARB_texture_cube_map
    00095 #endif
    00096
    00097 #ifdef GL_ARB_transpose_matrix
    00098     GLH_EXTERN PFNGLLOADTRANSPOSEMATRIXFARBPROC GLH_EXT_NAME(glLoadTransposeMatrixfARB) GLH_INITIALIZER;
    00099     GLH_EXTERN PFNGLLOADTRANSPOSEMATRIXDARBPROC GLH_EXT_NAME(glLoadTransposeMatrixdARB) GLH_INITIALIZER;
    00100     GLH_EXTERN PFNGLMULTTRANSPOSEMATRIXFARBPROC GLH_EXT_NAME(glMultTransposeMatrixfARB) GLH_INITIALIZER;
    00101     GLH_EXTERN PFNGLMULTTRANSPOSEMATRIXDARBPROC GLH_EXT_NAME(glMultTransposeMatrixdARB) GLH_INITIALIZER;
    00102 #endif
    00103
    00104 #ifdef GL_EXT_abgr
    00105 #endif
    00106
    00107 #ifdef GL_EXT_bgra
    00108 #endif
    00109
    00110 #ifdef GL_EXT_blend_color
    00111     GLH_EXTERN PFNGLBLENDCOLOREXTPROC GLH_EXT_NAME(glBlendColorEXT) GLH_INITIALIZER;
    00112 #endif
    00113
    00114 #ifdef GL_EXT_blend_minmax
    00115     GLH_EXTERN PFNGLBLENDEQUATIONEXTPROC GLH_EXT_NAME(glBlendEquationEXT) GLH_INITIALIZER;
    00116 #endif
    00117
    00118 #ifdef GL_EXT_blend_subtract
    00119 #endif
    00120
    00121 #ifdef GL_EXT_compiled_vertex_array
    00122     GLH_EXTERN PFNGLLOCKARRAYSEXTPROC GLH_EXT_NAME(glLockArraysEXT) GLH_INITIALIZER;
    00123     GLH_EXTERN PFNGLUNLOCKARRAYSEXTPROC GLH_EXT_NAME(glUnlockArraysEXT) GLH_INITIALIZER;
    00124 #endif
    00125
    00126 #ifdef GL_EXT_fog_coord
    00127     GLH_EXTERN PFNGLFOGCOORDDEXTPROC GLH_EXT_NAME(glFogCoorddEXT) GLH_INITIALIZER;
    00128     GLH_EXTERN PFNGLFOGCOORDDVEXTPROC GLH_EXT_NAME(glFogCoorddvEXT) GLH_INITIALIZER;
    00129     GLH_EXTERN PFNGLFOGCOORDFEXTPROC GLH_EXT_NAME(glFogCoordfEXT) GLH_INITIALIZER;
    00130     GLH_EXTERN PFNGLFOGCOORDFVEXTPROC GLH_EXT_NAME(glFogCoordfvEXT) GLH_INITIALIZER;
    00131     GLH_EXTERN PFNGLFOGCOORDPOINTEREXTPROC GLH_EXT_NAME(glFogCoordPointerEXT) GLH_INITIALIZER;
    00132 #endif
    00133
    00134 #ifdef GL_EXT_light_max_exponent
    00135 #endif
    00136
    00137 #ifdef GL_EXT_packed_pixels
    00138 #endif
    00139
    00140 #ifdef GL_EXT_paletted_texture
    00141     GLH_EXTERN PFNGLCOLORSUBTABLEEXTPROC GLH_EXT_NAME(glColorSubTableEXT) GLH_INITIALIZER;
    00142     GLH_EXTERN PFNGLCOLORTABLEEXTPROC GLH_EXT_NAME(glColorTableEXT) GLH_INITIALIZER;
    00143     GLH_EXTERN PFNGLGETCOLORTABLEEXTPROC GLH_EXT_NAME(glGetColorTableEXT) GLH_INITIALIZER;
    00144     GLH_EXTERN PFNGLGETCOLORTABLEPARAMETERFVEXTPROC GLH_EXT_NAME(glGetColorTableParameterfvEXT) GLH_INITIALIZER;
    00145     GLH_EXTERN PFNGLGETCOLORTABLEPARAMETERIVEXTPROC GLH_EXT_NAME(glGetColorTableParameterivEXT) GLH_INITIALIZER;
    00146 #endif
    00147
    00148 #ifdef GL_EXT_point_parameters
    00149     GLH_EXTERN PFNGLPOINTPARAMETERFEXTPROC GLH_EXT_NAME(glPointParameterfEXT) GLH_INITIALIZER;
    00150     GLH_EXTERN PFNGLPOINTPARAMETERFVEXTPROC GLH_EXT_NAME(glPointParameterfvEXT) GLH_INITIALIZER;
    00151 #endif
    00152
    00153 #ifdef GL_EXT_rescale_normal
    00154 #endif
    00155
    00156 #ifdef GL_EXT_secondary_color
    00157     GLH_EXTERN PFNGLSECONDARYCOLOR3BEXTPROC GLH_EXT_NAME(glSecondaryColor3bEXT) GLH_INITIALIZER;
    00158     GLH_EXTERN PFNGLSECONDARYCOLOR3BVEXTPROC GLH_EXT_NAME(glSecondaryColor3bvEXT) GLH_INITIALIZER;
    00159     GLH_EXTERN PFNGLSECONDARYCOLOR3DEXTPROC GLH_EXT_NAME(glSecondaryColor3dEXT) GLH_INITIALIZER;
    00160     GLH_EXTERN PFNGLSECONDARYCOLOR3DVEXTPROC GLH_EXT_NAME(glSecondaryColor3dvEXT) GLH_INITIALIZER;
    00161     GLH_EXTERN PFNGLSECONDARYCOLOR3FEXTPROC GLH_EXT_NAME(glSecondaryColor3fEXT) GLH_INITIALIZER;
    00162     GLH_EXTERN PFNGLSECONDARYCOLOR3FVEXTPROC GLH_EXT_NAME(glSecondaryColor3fvEXT) GLH_INITIALIZER;
    00163     GLH_EXTERN PFNGLSECONDARYCOLOR3IEXTPROC GLH_EXT_NAME(glSecondaryColor3iEXT) GLH_INITIALIZER;
    00164     GLH_EXTERN PFNGLSECONDARYCOLOR3IVEXTPROC GLH_EXT_NAME(glSecondaryColor3ivEXT) GLH_INITIALIZER;
    00165     GLH_EXTERN PFNGLSECONDARYCOLOR3SEXTPROC GLH_EXT_NAME(glSecondaryColor3sEXT) GLH_INITIALIZER;
    00166     GLH_EXTERN PFNGLSECONDARYCOLOR3SVEXTPROC GLH_EXT_NAME(glSecondaryColor3svEXT) GLH_INITIALIZER;
    00167     GLH_EXTERN PFNGLSECONDARYCOLOR3UBEXTPROC GLH_EXT_NAME(glSecondaryColor3ubEXT) GLH_INITIALIZER;
    00168     GLH_EXTERN PFNGLSECONDARYCOLOR3UBVEXTPROC GLH_EXT_NAME(glSecondaryColor3ubvEXT) GLH_INITIALIZER;
    00169     GLH_EXTERN PFNGLSECONDARYCOLOR3UIEXTPROC GLH_EXT_NAME(glSecondaryColor3uiEXT) GLH_INITIALIZER;
    00170     GLH_EXTERN PFNGLSECONDARYCOLOR3UIVEXTPROC GLH_EXT_NAME(glSecondaryColor3uivEXT) GLH_INITIALIZER;
    00171     GLH_EXTERN PFNGLSECONDARYCOLOR3USEXTPROC GLH_EXT_NAME(glSecondaryColor3usEXT) GLH_INITIALIZER;
    00172     GLH_EXTERN PFNGLSECONDARYCOLOR3USVEXTPROC GLH_EXT_NAME(glSecondaryColor3usvEXT) GLH_INITIALIZER;
    00173     GLH_EXTERN PFNGLSECONDARYCOLORPOINTEREXTPROC GLH_EXT_NAME(glSecondaryColorPointerEXT) GLH_INITIALIZER;
    00174 #endif
    00175
    00176 #ifdef GL_EXT_separate_specular_color
    00177 #endif
    00178
    00179 #ifdef GL_EXT_shared_texture_palette
    00180 #endif
    00181
    00182 #ifdef GL_EXT_stencil_wrap
    00183 #endif
    00184
    00185 #ifdef GL_EXT_texture_compression_s3tc
    00186 #endif
    00187
    00188 #ifdef GL_EXT_texture_cube_map
    00189 #endif
    00190
    00191 #ifdef GL_EXT_texture_edge_clamp
    00192 #endif
    00193
    00194 #ifdef GL_EXT_texture_env_add
    00195 #endif
    00196
    00197 #ifdef GL_EXT_texture_env_combine
    00198 #endif
    00199
    00200 #ifdef GL_EXT_texture_filter_anisotropic
    00201 #endif
    00202
    00203 #ifdef GL_EXT_texture_lod_bias
    00204 #endif
    00205
    00206 #ifdef GL_EXT_texture_object
    00207     GLH_EXTERN PFNGLARETEXTURESRESIDENTEXTPROC GLH_EXT_NAME(glAreTexturesResidentEXT) GLH_INITIALIZER;
    00208     GLH_EXTERN PFNGLBINDTEXTUREEXTPROC GLH_EXT_NAME(glBindTextureEXT) GLH_INITIALIZER;
    00209     GLH_EXTERN PFNGLDELETETEXTURESEXTPROC GLH_EXT_NAME(glDeleteTexturesEXT) GLH_INITIALIZER;
    00210     GLH_EXTERN PFNGLGENTEXTURESEXTPROC GLH_EXT_NAME(glGenTexturesEXT) GLH_INITIALIZER;
    00211     GLH_EXTERN PFNGLISTEXTUREEXTPROC GLH_EXT_NAME(glIsTextureEXT) GLH_INITIALIZER;
    00212     GLH_EXTERN PFNGLPRIORITIZETEXTURESEXTPROC GLH_EXT_NAME(glPrioritizeTexturesEXT) GLH_INITIALIZER;
    00213 #endif
    00214
    00215 #ifdef GL_EXT_texture3D
    00216     GLH_EXTERN PFNGLTEXIMAGE3DEXTPROC GLH_EXT_NAME(glTexImage3DEXT) GLH_INITIALIZER;
    00217 #endif
    00218
    00219 #ifdef GL_EXT_vertex_array
    00220     GLH_EXTERN PFNGLARRAYELEMENTEXTPROC GLH_EXT_NAME(glArrayElementEXT) GLH_INITIALIZER;
    00221     GLH_EXTERN PFNGLCOLORPOINTEREXTPROC GLH_EXT_NAME(glColorPointerEXT) GLH_INITIALIZER;
    00222     GLH_EXTERN PFNGLEDGEFLAGPOINTEREXTPROC GLH_EXT_NAME(glEdgeFlagPointerEXT) GLH_INITIALIZER;
    00223     GLH_EXTERN PFNGLGETPOINTERVEXTPROC GLH_EXT_NAME(glGetPointervEXT) GLH_INITIALIZER;
    00224     GLH_EXTERN PFNGLINDEXPOINTEREXTPROC GLH_EXT_NAME(glIndexPointerEXT) GLH_INITIALIZER;
    00225     GLH_EXTERN PFNGLNORMALPOINTEREXTPROC GLH_EXT_NAME(glNormalPointerEXT) GLH_INITIALIZER;
    00226     GLH_EXTERN PFNGLTEXCOORDPOINTEREXTPROC GLH_EXT_NAME(glTexCoordPointerEXT) GLH_INITIALIZER;
    00227     GLH_EXTERN PFNGLVERTEXPOINTEREXTPROC GLH_EXT_NAME(glVertexPointerEXT) GLH_INITIALIZER;
    00228     GLH_EXTERN PFNGLDRAWARRAYSEXTPROC GLH_EXT_NAME(glDrawArraysEXT) GLH_INITIALIZER;
    00229 #endif
    00230
    00231 #ifdef GL_EXT_vertex_weighting
    00232     GLH_EXTERN PFNGLVERTEXWEIGHTFEXTPROC GLH_EXT_NAME(glVertexWeightfEXT) GLH_INITIALIZER;
    00233     GLH_EXTERN PFNGLVERTEXWEIGHTFVEXTPROC GLH_EXT_NAME(glVertexWeightfvEXT) GLH_INITIALIZER;
    00234     GLH_EXTERN PFNGLVERTEXWEIGHTPOINTEREXTPROC GLH_EXT_NAME(glVertexWeightPointerEXT) GLH_INITIALIZER;
    00235 #endif
    00236
    00237 #ifdef GL_NV_blend_square
    00238 #endif
    00239
    00240 #ifdef GL_NV_evaluators
    00241     GLH_EXTERN PFNGLMAPCONTROLPOINTSNVPROC GLH_EXT_NAME(glMapControlPointsNV) GLH_INITIALIZER;
    00242     GLH_EXTERN PFNGLMAPPARAMETERIVNVPROC GLH_EXT_NAME(glMapParameterivNV) GLH_INITIALIZER;
    00243     GLH_EXTERN PFNGLMAPPARAMETERFVNVPROC GLH_EXT_NAME(glMapParameterfvNV) GLH_INITIALIZER;
    00244     GLH_EXTERN PFNGLGETMAPCONTROLPOINTSNVPROC GLH_EXT_NAME(glGetMapControlPointsNV) GLH_INITIALIZER;
    00245     GLH_EXTERN PFNGLGETMAPPARAMETERIVNVPROC GLH_EXT_NAME(glGetMapParameterivNV) GLH_INITIALIZER;
    00246     GLH_EXTERN PFNGLGETMAPPARAMETERFVNVPROC GLH_EXT_NAME(glGetMapParameterfvNV) GLH_INITIALIZER;
    00247     GLH_EXTERN PFNGLGETMAPATTRIBPARAMETERIVNVPROC GLH_EXT_NAME(glGetMapAttribParameterivNV) GLH_INITIALIZER;
    00248     GLH_EXTERN PFNGLGETMAPATTRIBPARAMETERFVNVPROC GLH_EXT_NAME(glGetMapAttribParameterfvNV) GLH_INITIALIZER;
    00249     GLH_EXTERN PFNGLEVALMAPSNVPROC GLH_EXT_NAME(glEvalMapsNV) GLH_INITIALIZER;
    00250 #endif
    00251
    00252 #ifdef GL_NV_fence
    00253     GLH_EXTERN PFNGLGENFENCESNVPROC GLH_EXT_NAME(glGenFencesNV) GLH_INITIALIZER;
    00254     GLH_EXTERN PFNGLDELETEFENCESNVPROC GLH_EXT_NAME(glDeleteFencesNV) GLH_INITIALIZER;
    00255     GLH_EXTERN PFNGLSETFENCENVPROC GLH_EXT_NAME(glSetFenceNV) GLH_INITIALIZER;
    00256     GLH_EXTERN PFNGLTESTFENCENVPROC GLH_EXT_NAME(glTestFenceNV) GLH_INITIALIZER;
    00257     GLH_EXTERN PFNGLFINISHFENCENVPROC GLH_EXT_NAME(glFinishFenceNV) GLH_INITIALIZER;
    00258     GLH_EXTERN PFNGLISFENCENVPROC GLH_EXT_NAME(glIsFenceNV) GLH_INITIALIZER;
    00259     GLH_EXTERN PFNGLGETFENCEIVNVPROC GLH_EXT_NAME(glGetFenceivNV) GLH_INITIALIZER;
    00260 #endif
    00261
    00262 #ifdef GL_NV_fog_distance
    00263 #endif
    00264
    00265 #ifdef GL_NV_packed_depth_stencil
    00266 #endif
    00267
    00268 #ifdef GL_NV_register_combiners
    00269     GLH_EXTERN PFNGLCOMBINERPARAMETERFVNVPROC GLH_EXT_NAME(glCombinerParameterfvNV) GLH_INITIALIZER;
    00270     GLH_EXTERN PFNGLCOMBINERPARAMETERFNVPROC GLH_EXT_NAME(glCombinerParameterfNV) GLH_INITIALIZER;
    00271     GLH_EXTERN PFNGLCOMBINERPARAMETERIVNVPROC GLH_EXT_NAME(glCombinerParameterivNV) GLH_INITIALIZER;
    00272     GLH_EXTERN PFNGLCOMBINERPARAMETERINVPROC GLH_EXT_NAME(glCombinerParameteriNV) GLH_INITIALIZER;
    00273     GLH_EXTERN PFNGLCOMBINERINPUTNVPROC GLH_EXT_NAME(glCombinerInputNV) GLH_INITIALIZER;
    00274     GLH_EXTERN PFNGLCOMBINEROUTPUTNVPROC GLH_EXT_NAME(glCombinerOutputNV) GLH_INITIALIZER;
    00275     GLH_EXTERN PFNGLFINALCOMBINERINPUTNVPROC GLH_EXT_NAME(glFinalCombinerInputNV) GLH_INITIALIZER;
    00276     GLH_EXTERN PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC GLH_EXT_NAME(glGetCombinerInputParameterfvNV) GLH_INITIALIZER;
    00277     GLH_EXTERN PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC GLH_EXT_NAME(glGetCombinerInputParameterivNV) GLH_INITIALIZER;
    00278     GLH_EXTERN PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC GLH_EXT_NAME(glGetCombinerOutputParameterfvNV) GLH_INITIALIZER;
    00279     GLH_EXTERN PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC GLH_EXT_NAME(glGetCombinerOutputParameterivNV) GLH_INITIALIZER;
    00280     GLH_EXTERN PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC GLH_EXT_NAME(glGetFinalCombinerInputParameterfvNV) GLH_INITIALIZER;
    00281     GLH_EXTERN PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC GLH_EXT_NAME(glGetFinalCombinerInputParameterivNV) GLH_INITIALIZER;
    00282 #endif
    00283
    00284 #ifdef GL_NV_register_combiners2
    00285     GLH_EXTERN PFNGLCOMBINERSTAGEPARAMETERFVNVPROC GLH_EXT_NAME(glCombinerStageParameterfvNV) GLH_INITIALIZER;
    00286     GLH_EXTERN PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC GLH_EXT_NAME(glGetCombinerStageParameterfvNV) GLH_INITIALIZER;
    00287 #endif
    00288
    00289 #ifdef GL_NV_texgen_reflection
    00290 #endif
    00291
    00292 #ifdef GL_NV_texture_env_combine4
    00293 #endif
    00294
    00295 #ifdef GL_NV_texture_rectangle
    00296 #endif
    00297
    00298 #ifdef GL_NV_texture_shader
    00299 #endif
    00300
    00301 #ifdef GL_NV_vertex_array_range
    00302     GLH_EXTERN PFNGLFLUSHVERTEXARRAYRANGENVPROC GLH_EXT_NAME(glFlushVertexArrayRangeNV) GLH_INITIALIZER;
    00303     GLH_EXTERN PFNGLVERTEXARRAYRANGENVPROC GLH_EXT_NAME(glVertexArrayRangeNV) GLH_INITIALIZER;
    00304 # ifdef _WIN32
    00305     GLH_EXTERN PFNWGLALLOCATEMEMORYNVPROC GLH_EXT_NAME(wglAllocateMemoryNV) GLH_INITIALIZER;
    00306 # endif
    00307 # ifdef GLX_VERSION_1_3
    00308     GLH_EXTERN PFNGLXALLOCATEMEMORYNVPROC GLH_EXT_NAME(glXAllocateMemoryNV) GLH_INITIALIZER;
    00309 # endif
    00310 # ifdef _WIN32
    00311     GLH_EXTERN PFNWGLFREEMEMORYNVPROC GLH_EXT_NAME(wglFreeMemoryNV) GLH_INITIALIZER;
    00312 # endif
    00313 # ifdef GLX_VERSION_1_3
    00314     GLH_EXTERN PFNGLXFREEMEMORYNVPROC GLH_EXT_NAME(glXFreeMemoryNV) GLH_INITIALIZER;
    00315 # endif
    00316 #endif
    00317
    00318 #ifdef GL_NV_vertex_program
    00319     GLH_EXTERN PFNGLAREPROGRAMSRESIDENTNVPROC GLH_EXT_NAME(glAreProgramsResidentNV) GLH_INITIALIZER;
    00320     GLH_EXTERN PFNGLBINDPROGRAMNVPROC GLH_EXT_NAME(glBindProgramNV) GLH_INITIALIZER;
    00321     GLH_EXTERN PFNGLDELETEPROGRAMSNVPROC GLH_EXT_NAME(glDeleteProgramsNV) GLH_INITIALIZER;
    00322     GLH_EXTERN PFNGLEXECUTEPROGRAMNVPROC GLH_EXT_NAME(glExecuteProgramNV) GLH_INITIALIZER;
    00323     GLH_EXTERN PFNGLGENPROGRAMSNVPROC GLH_EXT_NAME(glGenProgramsNV) GLH_INITIALIZER;
    00324     GLH_EXTERN PFNGLGETPROGRAMPARAMETERDVNVPROC GLH_EXT_NAME(glGetProgramParameterdvNV) GLH_INITIALIZER;
    00325     GLH_EXTERN PFNGLGETPROGRAMPARAMETERFVNVPROC GLH_EXT_NAME(glGetProgramParameterfvNV) GLH_INITIALIZER;
    00326     GLH_EXTERN PFNGLGETPROGRAMIVNVPROC GLH_EXT_NAME(glGetProgramivNV) GLH_INITIALIZER;
    00327     GLH_EXTERN PFNGLGETPROGRAMSTRINGNVPROC GLH_EXT_NAME(glGetProgramStringNV) GLH_INITIALIZER;
    00328     GLH_EXTERN PFNGLGETTRACKMATRIXIVNVPROC GLH_EXT_NAME(glGetTrackMatrixivNV) GLH_INITIALIZER;
    00329     GLH_EXTERN PFNGLGETVERTEXATTRIBDVNVPROC GLH_EXT_NAME(glGetVertexAttribdvNV) GLH_INITIALIZER;
    00330     GLH_EXTERN PFNGLGETVERTEXATTRIBFVNVPROC GLH_EXT_NAME(glGetVertexAttribfvNV) GLH_INITIALIZER;
    00331     GLH_EXTERN PFNGLGETVERTEXATTRIBIVNVPROC GLH_EXT_NAME(glGetVertexAttribivNV) GLH_INITIALIZER;
    00332     GLH_EXTERN PFNGLGETVERTEXATTRIBPOINTERVNVPROC GLH_EXT_NAME(glGetVertexAttribPointervNV) GLH_INITIALIZER;
    00333     GLH_EXTERN PFNGLISPROGRAMNVPROC GLH_EXT_NAME(glIsProgramNV) GLH_INITIALIZER;
    00334     GLH_EXTERN PFNGLLOADPROGRAMNVPROC GLH_EXT_NAME(glLoadProgramNV) GLH_INITIALIZER;
    00335     GLH_EXTERN PFNGLPROGRAMPARAMETER4DNVPROC GLH_EXT_NAME(glProgramParameter4dNV) GLH_INITIALIZER;
    00336     GLH_EXTERN PFNGLPROGRAMPARAMETER4DVNVPROC GLH_EXT_NAME(glProgramParameter4dvNV) GLH_INITIALIZER;
    00337     GLH_EXTERN PFNGLPROGRAMPARAMETER4FNVPROC GLH_EXT_NAME(glProgramParameter4fNV) GLH_INITIALIZER;
    00338     GLH_EXTERN PFNGLPROGRAMPARAMETER4FVNVPROC GLH_EXT_NAME(glProgramParameter4fvNV) GLH_INITIALIZER;
    00339     GLH_EXTERN PFNGLPROGRAMPARAMETERS4DVNVPROC GLH_EXT_NAME(glProgramParameters4dvNV) GLH_INITIALIZER;
    00340     GLH_EXTERN PFNGLPROGRAMPARAMETERS4FVNVPROC GLH_EXT_NAME(glProgramParameters4fvNV) GLH_INITIALIZER;
    00341     GLH_EXTERN PFNGLREQUESTRESIDENTPROGRAMSNVPROC GLH_EXT_NAME(glRequestResidentProgramsNV) GLH_INITIALIZER;
    00342     GLH_EXTERN PFNGLTRACKMATRIXNVPROC GLH_EXT_NAME(glTrackMatrixNV) GLH_INITIALIZER;
    00343     GLH_EXTERN PFNGLVERTEXATTRIBPOINTERNVPROC GLH_EXT_NAME(glVertexAttribPointerNV) GLH_INITIALIZER;
    00344     GLH_EXTERN PFNGLVERTEXATTRIB1DNVPROC GLH_EXT_NAME(glVertexAttrib1dNV) GLH_INITIALIZER;
    00345     GLH_EXTERN PFNGLVERTEXATTRIB1DVNVPROC GLH_EXT_NAME(glVertexAttrib1dvNV) GLH_INITIALIZER;
    00346     GLH_EXTERN PFNGLVERTEXATTRIB1FNVPROC GLH_EXT_NAME(glVertexAttrib1fNV) GLH_INITIALIZER;
    00347     GLH_EXTERN PFNGLVERTEXATTRIB1FVNVPROC GLH_EXT_NAME(glVertexAttrib1fvNV) GLH_INITIALIZER;
    00348     GLH_EXTERN PFNGLVERTEXATTRIB1SNVPROC GLH_EXT_NAME(glVertexAttrib1sNV) GLH_INITIALIZER;
    00349     GLH_EXTERN PFNGLVERTEXATTRIB1SVNVPROC GLH_EXT_NAME(glVertexAttrib1svNV) GLH_INITIALIZER;
    00350     GLH_EXTERN PFNGLVERTEXATTRIB2DNVPROC GLH_EXT_NAME(glVertexAttrib2dNV) GLH_INITIALIZER;
    00351     GLH_EXTERN PFNGLVERTEXATTRIB2DVNVPROC GLH_EXT_NAME(glVertexAttrib2dvNV) GLH_INITIALIZER;
    00352     GLH_EXTERN PFNGLVERTEXATTRIB2FNVPROC GLH_EXT_NAME(glVertexAttrib2fNV) GLH_INITIALIZER;
    00353     GLH_EXTERN PFNGLVERTEXATTRIB2FVNVPROC GLH_EXT_NAME(glVertexAttrib2fvNV) GLH_INITIALIZER;
    00354     GLH_EXTERN PFNGLVERTEXATTRIB2SNVPROC GLH_EXT_NAME(glVertexAttrib2sNV) GLH_INITIALIZER;
    00355     GLH_EXTERN PFNGLVERTEXATTRIB2SVNVPROC GLH_EXT_NAME(glVertexAttrib2svNV) GLH_INITIALIZER;
    00356     GLH_EXTERN PFNGLVERTEXATTRIB3DNVPROC GLH_EXT_NAME(glVertexAttrib3dNV) GLH_INITIALIZER;
    00357     GLH_EXTERN PFNGLVERTEXATTRIB3DVNVPROC GLH_EXT_NAME(glVertexAttrib3dvNV) GLH_INITIALIZER;
    00358     GLH_EXTERN PFNGLVERTEXATTRIB3FNVPROC GLH_EXT_NAME(glVertexAttrib3fNV) GLH_INITIALIZER;
    00359     GLH_EXTERN PFNGLVERTEXATTRIB3FVNVPROC GLH_EXT_NAME(glVertexAttrib3fvNV) GLH_INITIALIZER;
    00360     GLH_EXTERN PFNGLVERTEXATTRIB3SNVPROC GLH_EXT_NAME(glVertexAttrib3sNV) GLH_INITIALIZER;
    00361     GLH_EXTERN PFNGLVERTEXATTRIB3SVNVPROC GLH_EXT_NAME(glVertexAttrib3svNV) GLH_INITIALIZER;
    00362     GLH_EXTERN PFNGLVERTEXATTRIB4DNVPROC GLH_EXT_NAME(glVertexAttrib4dNV) GLH_INITIALIZER;
    00363     GLH_EXTERN PFNGLVERTEXATTRIB4DVNVPROC GLH_EXT_NAME(glVertexAttrib4dvNV) GLH_INITIALIZER;
    00364     GLH_EXTERN PFNGLVERTEXATTRIB4FNVPROC GLH_EXT_NAME(glVertexAttrib4fNV) GLH_INITIALIZER;
    00365     GLH_EXTERN PFNGLVERTEXATTRIB4FVNVPROC GLH_EXT_NAME(glVertexAttrib4fvNV) GLH_INITIALIZER;
    00366     GLH_EXTERN PFNGLVERTEXATTRIB4SNVPROC GLH_EXT_NAME(glVertexAttrib4sNV) GLH_INITIALIZER;
    00367     GLH_EXTERN PFNGLVERTEXATTRIB4SVNVPROC GLH_EXT_NAME(glVertexAttrib4svNV) GLH_INITIALIZER;
    00368     GLH_EXTERN PFNGLVERTEXATTRIB4UBVNVPROC GLH_EXT_NAME(glVertexAttrib4ubvNV) GLH_INITIALIZER;
    00369     GLH_EXTERN PFNGLVERTEXATTRIBS1DVNVPROC GLH_EXT_NAME(glVertexAttribs1dvNV) GLH_INITIALIZER;
    00370     GLH_EXTERN PFNGLVERTEXATTRIBS1FVNVPROC GLH_EXT_NAME(glVertexAttribs1fvNV) GLH_INITIALIZER;
    00371     GLH_EXTERN PFNGLVERTEXATTRIBS1SVNVPROC GLH_EXT_NAME(glVertexAttribs1svNV) GLH_INITIALIZER;
    00372     GLH_EXTERN PFNGLVERTEXATTRIBS2DVNVPROC GLH_EXT_NAME(glVertexAttribs2dvNV) GLH_INITIALIZER;
    00373     GLH_EXTERN PFNGLVERTEXATTRIBS2FVNVPROC GLH_EXT_NAME(glVertexAttribs2fvNV) GLH_INITIALIZER;
    00374     GLH_EXTERN PFNGLVERTEXATTRIBS2SVNVPROC GLH_EXT_NAME(glVertexAttribs2svNV) GLH_INITIALIZER;
    00375     GLH_EXTERN PFNGLVERTEXATTRIBS3DVNVPROC GLH_EXT_NAME(glVertexAttribs3dvNV) GLH_INITIALIZER;
    00376     GLH_EXTERN PFNGLVERTEXATTRIBS3FVNVPROC GLH_EXT_NAME(glVertexAttribs3fvNV) GLH_INITIALIZER;
    00377     GLH_EXTERN PFNGLVERTEXATTRIBS3SVNVPROC GLH_EXT_NAME(glVertexAttribs3svNV) GLH_INITIALIZER;
    00378     GLH_EXTERN PFNGLVERTEXATTRIBS4DVNVPROC GLH_EXT_NAME(glVertexAttribs4dvNV) GLH_INITIALIZER;
    00379     GLH_EXTERN PFNGLVERTEXATTRIBS4FVNVPROC GLH_EXT_NAME(glVertexAttribs4fvNV) GLH_INITIALIZER;
    00380     GLH_EXTERN PFNGLVERTEXATTRIBS4SVNVPROC GLH_EXT_NAME(glVertexAttribs4svNV) GLH_INITIALIZER;
    00381     GLH_EXTERN PFNGLVERTEXATTRIBS4UBVNVPROC GLH_EXT_NAME(glVertexAttribs4ubvNV) GLH_INITIALIZER;
    00382 #endif
    00383
    00384 #ifdef GL_SGIS_generate_mipmap
    00385 #endif
    00386
    00387 #ifdef GL_SGIS_texture_lod
    00388 #endif
    00389
    00390 #ifdef GL_SGIX_depth_texture
    00391 #endif
    00392
    00393 #ifdef GL_SGIX_shadow
    00394 #endif
    00395
    00396 #ifdef GL_VERSION_1_2
    00397     /* These routines are prefixed by the preprocessor constant
    00398        GLH_CORE_1_2_PREFIX to avoid colliding with the OpenGL 1.2 namespace. */
    00399     GLH_EXTERN PFNGLBLENDCOLORPROC GLH_CORE_1_2_NAME(glBlendColor) GLH_INITIALIZER;
    00400     GLH_EXTERN PFNGLBLENDEQUATIONPROC GLH_CORE_1_2_NAME(glBlendEquation) GLH_INITIALIZER;
    00401     GLH_EXTERN PFNGLDRAWRANGEELEMENTSPROC GLH_CORE_1_2_NAME(glDrawRangeElements) GLH_INITIALIZER;
    00402     GLH_EXTERN PFNGLCOLORTABLEPROC GLH_CORE_1_2_NAME(glColorTable) GLH_INITIALIZER;
    00403     GLH_EXTERN PFNGLCOLORTABLEPARAMETERFVPROC GLH_CORE_1_2_NAME(glColorTableParameterfv) GLH_INITIALIZER;
    00404     GLH_EXTERN PFNGLCOLORTABLEPARAMETERIVPROC GLH_CORE_1_2_NAME(glColorTableParameteriv) GLH_INITIALIZER;
    00405     GLH_EXTERN PFNGLCOPYCOLORTABLEPROC GLH_CORE_1_2_NAME(glCopyColorTable) GLH_INITIALIZER;
    00406     GLH_EXTERN PFNGLGETCOLORTABLEPROC GLH_CORE_1_2_NAME(glGetColorTable) GLH_INITIALIZER;
    00407     GLH_EXTERN PFNGLGETCOLORTABLEPARAMETERFVPROC GLH_CORE_1_2_NAME(glGetColorTableParameterfv) GLH_INITIALIZER;
    00408     GLH_EXTERN PFNGLGETCOLORTABLEPARAMETERIVPROC GLH_CORE_1_2_NAME(glGetColorTableParameteriv) GLH_INITIALIZER;
    00409     GLH_EXTERN PFNGLTEXIMAGE3DPROC GLH_CORE_1_2_NAME(glTexImage3D) GLH_INITIALIZER;
    00410     GLH_EXTERN PFNGLTEXSUBIMAGE3DPROC GLH_CORE_1_2_NAME(glTexSubImage3D) GLH_INITIALIZER;
    00411     GLH_EXTERN PFNGLCOPYTEXSUBIMAGE3DPROC GLH_CORE_1_2_NAME(glCopyTexSubImage3D) GLH_INITIALIZER;
    00412 #endif
    00413
    00414 #ifdef GL_WIN_swap_hint
    00415     GLH_EXTERN PFNGLADDSWAPHINTRECTWINPROC GLH_EXT_NAME(glAddSwapHintRectWIN) GLH_INITIALIZER;
    00416 #endif
    00417
    00418 #ifdef WGL_ARB_pbuffer
    00419 # ifdef _WIN32
    00420     GLH_EXTERN PFNWGLCREATEPBUFFERARBPROC GLH_EXT_NAME(wglCreatePbufferARB) GLH_INITIALIZER;
    00421 # endif
    00422 # ifdef _WIN32
    00423     GLH_EXTERN PFNWGLGETPBUFFERDCARBPROC GLH_EXT_NAME(wglGetPbufferDCARB) GLH_INITIALIZER;
    00424 # endif
    00425 # ifdef _WIN32
    00426     GLH_EXTERN PFNWGLRELEASEPBUFFERDCARBPROC GLH_EXT_NAME(wglReleasePbufferDCARB) GLH_INITIALIZER;
    00427 # endif
    00428 # ifdef _WIN32
    00429     GLH_EXTERN PFNWGLDESTROYPBUFFERARBPROC GLH_EXT_NAME(wglDestroyPbufferARB) GLH_INITIALIZER;
    00430 # endif
    00431 # ifdef _WIN32
    00432     GLH_EXTERN PFNWGLQUERYPBUFFERARBPROC GLH_EXT_NAME(wglQueryPbufferARB) GLH_INITIALIZER;
    00433 # endif
    00434 #endif
    00435
    00436 #ifdef WGL_ARB_pixel_format
    00437 # ifdef _WIN32
    00438     GLH_EXTERN PFNWGLGETPIXELFORMATATTRIBIVARBPROC GLH_EXT_NAME(wglGetPixelFormatAttribivARB) GLH_INITIALIZER;
    00439 # endif
    00440 # ifdef _WIN32
    00441     GLH_EXTERN PFNWGLGETPIXELFORMATATTRIBFVARBPROC GLH_EXT_NAME(wglGetPixelFormatAttribfvARB) GLH_INITIALIZER;
    00442 # endif
    00443 # ifdef _WIN32
    00444     GLH_EXTERN PFNWGLCHOOSEPIXELFORMATARBPROC GLH_EXT_NAME(wglChoosePixelFormatARB) GLH_INITIALIZER;
    00445 # endif
    00446 #endif
    00447
    00448
    00449 #ifdef GLH_EXT_SINGLE_FILE
    00450
    00451 int glh_init_extension(const char* extension)
    00452 {
    00453     if (NULL == extension) {
    00454         return FALSE;
    00455 #ifdef GL_ARB_multitexture
    00456     } else if (0 == strcmp(extension, "GL_ARB_multitexture")) {
    00457         GLH_EXT_NAME(glMultiTexCoord1dARB) = (PFNGLMULTITEXCOORD1DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord1dARB");
    00458         if (NULL == GLH_EXT_NAME(glMultiTexCoord1dARB))
    00459             return FALSE;
    00460         GLH_EXT_NAME(glMultiTexCoord1dvARB) = (PFNGLMULTITEXCOORD1DVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord1dvARB");
    00461         if (NULL == GLH_EXT_NAME(glMultiTexCoord1dvARB))
    00462             return FALSE;
    00463         GLH_EXT_NAME(glMultiTexCoord1fARB) = (PFNGLMULTITEXCOORD1FARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord1fARB");
    00464         if (NULL == GLH_EXT_NAME(glMultiTexCoord1fARB))
    00465             return FALSE;
    00466         GLH_EXT_NAME(glMultiTexCoord1fvARB) = (PFNGLMULTITEXCOORD1FVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord1fvARB");
    00467         if (NULL == GLH_EXT_NAME(glMultiTexCoord1fvARB))
    00468             return FALSE;
    00469         GLH_EXT_NAME(glMultiTexCoord1iARB) = (PFNGLMULTITEXCOORD1IARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord1iARB");
    00470         if (NULL == GLH_EXT_NAME(glMultiTexCoord1iARB))
    00471             return FALSE;
    00472         GLH_EXT_NAME(glMultiTexCoord1ivARB) = (PFNGLMULTITEXCOORD1IVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord1ivARB");
    00473         if (NULL == GLH_EXT_NAME(glMultiTexCoord1ivARB))
    00474             return FALSE;
    00475         GLH_EXT_NAME(glMultiTexCoord1sARB) = (PFNGLMULTITEXCOORD1SARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord1sARB");
    00476         if (NULL == GLH_EXT_NAME(glMultiTexCoord1sARB))
    00477             return FALSE;
    00478         GLH_EXT_NAME(glMultiTexCoord1svARB) = (PFNGLMULTITEXCOORD1SVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord1svARB");
    00479         if (NULL == GLH_EXT_NAME(glMultiTexCoord1svARB))
    00480             return FALSE;
    00481         GLH_EXT_NAME(glMultiTexCoord2dARB) = (PFNGLMULTITEXCOORD2DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord2dARB");
    00482         if (NULL == GLH_EXT_NAME(glMultiTexCoord2dARB))
    00483             return FALSE;
    00484         GLH_EXT_NAME(glMultiTexCoord2dvARB) = (PFNGLMULTITEXCOORD2DVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord2dvARB");
    00485         if (NULL == GLH_EXT_NAME(glMultiTexCoord2dvARB))
    00486             return FALSE;
    00487         GLH_EXT_NAME(glMultiTexCoord2fARB) = (PFNGLMULTITEXCOORD2FARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord2fARB");
    00488         if (NULL == GLH_EXT_NAME(glMultiTexCoord2fARB))
    00489             return FALSE;
    00490         GLH_EXT_NAME(glMultiTexCoord2fvARB) = (PFNGLMULTITEXCOORD2FVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord2fvARB");
    00491         if (NULL == GLH_EXT_NAME(glMultiTexCoord2fvARB))
    00492             return FALSE;
    00493         GLH_EXT_NAME(glMultiTexCoord2iARB) = (PFNGLMULTITEXCOORD2IARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord2iARB");
    00494         if (NULL == GLH_EXT_NAME(glMultiTexCoord2iARB))
    00495             return FALSE;
    00496         GLH_EXT_NAME(glMultiTexCoord2ivARB) = (PFNGLMULTITEXCOORD2IVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord2ivARB");
    00497         if (NULL == GLH_EXT_NAME(glMultiTexCoord2ivARB))
    00498             return FALSE;
    00499         GLH_EXT_NAME(glMultiTexCoord2sARB) = (PFNGLMULTITEXCOORD2SARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord2sARB");
    00500         if (NULL == GLH_EXT_NAME(glMultiTexCoord2sARB))
    00501             return FALSE;
    00502         GLH_EXT_NAME(glMultiTexCoord2svARB) = (PFNGLMULTITEXCOORD2SVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord2svARB");
    00503         if (NULL == GLH_EXT_NAME(glMultiTexCoord2svARB))
    00504             return FALSE;
    00505         GLH_EXT_NAME(glMultiTexCoord3dARB) = (PFNGLMULTITEXCOORD3DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord3dARB");
    00506         if (NULL == GLH_EXT_NAME(glMultiTexCoord3dARB))
    00507             return FALSE;
    00508         GLH_EXT_NAME(glMultiTexCoord3dvARB) = (PFNGLMULTITEXCOORD3DVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord3dvARB");
    00509         if (NULL == GLH_EXT_NAME(glMultiTexCoord3dvARB))
    00510             return FALSE;
    00511         GLH_EXT_NAME(glMultiTexCoord3fARB) = (PFNGLMULTITEXCOORD3FARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord3fARB");
    00512         if (NULL == GLH_EXT_NAME(glMultiTexCoord3fARB))
    00513             return FALSE;
    00514         GLH_EXT_NAME(glMultiTexCoord3fvARB) = (PFNGLMULTITEXCOORD3FVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord3fvARB");
    00515         if (NULL == GLH_EXT_NAME(glMultiTexCoord3fvARB))
    00516             return FALSE;
    00517         GLH_EXT_NAME(glMultiTexCoord3iARB) = (PFNGLMULTITEXCOORD3IARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord3iARB");
    00518         if (NULL == GLH_EXT_NAME(glMultiTexCoord3iARB))
    00519             return FALSE;
    00520         GLH_EXT_NAME(glMultiTexCoord3ivARB) = (PFNGLMULTITEXCOORD3IVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord3ivARB");
    00521         if (NULL == GLH_EXT_NAME(glMultiTexCoord3ivARB))
    00522             return FALSE;
    00523         GLH_EXT_NAME(glMultiTexCoord3sARB) = (PFNGLMULTITEXCOORD3SARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord3sARB");
    00524         if (NULL == GLH_EXT_NAME(glMultiTexCoord3sARB))
    00525             return FALSE;
    00526         GLH_EXT_NAME(glMultiTexCoord3svARB) = (PFNGLMULTITEXCOORD3SVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord3svARB");
    00527         if (NULL == GLH_EXT_NAME(glMultiTexCoord3svARB))
    00528             return FALSE;
    00529         GLH_EXT_NAME(glMultiTexCoord4dARB) = (PFNGLMULTITEXCOORD4DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord4dARB");
    00530         if (NULL == GLH_EXT_NAME(glMultiTexCoord4dARB))
    00531             return FALSE;
    00532         GLH_EXT_NAME(glMultiTexCoord4dvARB) = (PFNGLMULTITEXCOORD4DVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord4dvARB");
    00533         if (NULL == GLH_EXT_NAME(glMultiTexCoord4dvARB))
    00534             return FALSE;
    00535         GLH_EXT_NAME(glMultiTexCoord4fARB) = (PFNGLMULTITEXCOORD4FARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord4fARB");
    00536         if (NULL == GLH_EXT_NAME(glMultiTexCoord4fARB))
    00537             return FALSE;
    00538         GLH_EXT_NAME(glMultiTexCoord4fvARB) = (PFNGLMULTITEXCOORD4FVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord4fvARB");
    00539         if (NULL == GLH_EXT_NAME(glMultiTexCoord4fvARB))
    00540             return FALSE;
    00541         GLH_EXT_NAME(glMultiTexCoord4iARB) = (PFNGLMULTITEXCOORD4IARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord4iARB");
    00542         if (NULL == GLH_EXT_NAME(glMultiTexCoord4iARB))
    00543             return FALSE;
    00544         GLH_EXT_NAME(glMultiTexCoord4ivARB) = (PFNGLMULTITEXCOORD4IVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord4ivARB");
    00545         if (NULL == GLH_EXT_NAME(glMultiTexCoord4ivARB))
    00546             return FALSE;
    00547         GLH_EXT_NAME(glMultiTexCoord4sARB) = (PFNGLMULTITEXCOORD4SARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord4sARB");
    00548         if (NULL == GLH_EXT_NAME(glMultiTexCoord4sARB))
    00549             return FALSE;
    00550         GLH_EXT_NAME(glMultiTexCoord4svARB) = (PFNGLMULTITEXCOORD4SVARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultiTexCoord4svARB");
    00551         if (NULL == GLH_EXT_NAME(glMultiTexCoord4svARB))
    00552             return FALSE;
    00553         GLH_EXT_NAME(glActiveTextureARB) = (PFNGLACTIVETEXTUREARBPROC)GLH_EXT_GET_PROC_ADDRESS("glActiveTextureARB");
    00554         if (NULL == GLH_EXT_NAME(glActiveTextureARB))
    00555             return FALSE;
    00556         GLH_EXT_NAME(glClientActiveTextureARB) = (PFNGLCLIENTACTIVETEXTUREARBPROC)GLH_EXT_GET_PROC_ADDRESS("glClientActiveTextureARB");
    00557         if (NULL == GLH_EXT_NAME(glClientActiveTextureARB))
    00558             return FALSE;
    00559 #endif
    00560
    00561 #ifdef GL_ARB_texture_border_clamp
    00562     } else if (0 == strcmp(extension, "GL_ARB_texture_border_clamp")) {
    00563 #endif
    00564
    00565 #ifdef GL_ARB_texture_compression
    00566     } else if (0 == strcmp(extension, "GL_ARB_texture_compression")) {
    00567         GLH_EXT_NAME(glCompressedTexImage3DARB) = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glCompressedTexImage3DARB");
    00568         if (NULL == GLH_EXT_NAME(glCompressedTexImage3DARB))
    00569             return FALSE;
    00570         GLH_EXT_NAME(glCompressedTexImage2DARB) = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glCompressedTexImage2DARB");
    00571         if (NULL == GLH_EXT_NAME(glCompressedTexImage2DARB))
    00572             return FALSE;
    00573         GLH_EXT_NAME(glCompressedTexImage1DARB) = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glCompressedTexImage1DARB");
    00574         if (NULL == GLH_EXT_NAME(glCompressedTexImage1DARB))
    00575             return FALSE;
    00576         GLH_EXT_NAME(glCompressedTexSubImage3DARB) = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glCompressedTexSubImage3DARB");
    00577         if (NULL == GLH_EXT_NAME(glCompressedTexSubImage3DARB))
    00578             return FALSE;
    00579         GLH_EXT_NAME(glCompressedTexSubImage2DARB) = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glCompressedTexSubImage2DARB");
    00580         if (NULL == GLH_EXT_NAME(glCompressedTexSubImage2DARB))
    00581             return FALSE;
    00582         GLH_EXT_NAME(glCompressedTexSubImage1DARB) = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)GLH_EXT_GET_PROC_ADDRESS("glCompressedTexSubImage1DARB");
    00583         if (NULL == GLH_EXT_NAME(glCompressedTexSubImage1DARB))
    00584             return FALSE;
    00585         GLH_EXT_NAME(glGetCompressedTexImageARB) = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)GLH_EXT_GET_PROC_ADDRESS("glGetCompressedTexImageARB");
    00586         if (NULL == GLH_EXT_NAME(glGetCompressedTexImageARB))
    00587             return FALSE;
    00588 #endif
    00589
    00590 #ifdef GL_ARB_texture_cube_map
    00591     } else if (0 == strcmp(extension, "GL_ARB_texture_cube_map")) {
    00592 #endif
    00593
    00594 #ifdef GL_ARB_transpose_matrix
    00595     } else if (0 == strcmp(extension, "GL_ARB_transpose_matrix")) {
    00596         GLH_EXT_NAME(glLoadTransposeMatrixfARB) = (PFNGLLOADTRANSPOSEMATRIXFARBPROC)GLH_EXT_GET_PROC_ADDRESS("glLoadTransposeMatrixfARB");
    00597         if (NULL == GLH_EXT_NAME(glLoadTransposeMatrixfARB))
    00598             return FALSE;
    00599         GLH_EXT_NAME(glLoadTransposeMatrixdARB) = (PFNGLLOADTRANSPOSEMATRIXDARBPROC)GLH_EXT_GET_PROC_ADDRESS("glLoadTransposeMatrixdARB");
    00600         if (NULL == GLH_EXT_NAME(glLoadTransposeMatrixdARB))
    00601             return FALSE;
    00602         GLH_EXT_NAME(glMultTransposeMatrixfARB) = (PFNGLMULTTRANSPOSEMATRIXFARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultTransposeMatrixfARB");
    00603         if (NULL == GLH_EXT_NAME(glMultTransposeMatrixfARB))
    00604             return FALSE;
    00605         GLH_EXT_NAME(glMultTransposeMatrixdARB) = (PFNGLMULTTRANSPOSEMATRIXDARBPROC)GLH_EXT_GET_PROC_ADDRESS("glMultTransposeMatrixdARB");
    00606         if (NULL == GLH_EXT_NAME(glMultTransposeMatrixdARB))
    00607             return FALSE;
    00608 #endif
    00609
    00610 #ifdef GL_EXT_abgr
    00611     } else if (0 == strcmp(extension, "GL_EXT_abgr")) {
    00612 #endif
    00613
    00614 #ifdef GL_EXT_bgra
    00615     } else if (0 == strcmp(extension, "GL_EXT_bgra")) {
    00616 #endif
    00617
    00618 #ifdef GL_EXT_blend_color
    00619     } else if (0 == strcmp(extension, "GL_EXT_blend_color")) {
    00620         GLH_EXT_NAME(glBlendColorEXT) = (PFNGLBLENDCOLOREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glBlendColorEXT");
    00621         if (NULL == GLH_EXT_NAME(glBlendColorEXT))
    00622             return FALSE;
    00623 #endif
    00624
    00625 #ifdef GL_EXT_blend_minmax
    00626     } else if (0 == strcmp(extension, "GL_EXT_blend_minmax")) {
    00627         GLH_EXT_NAME(glBlendEquationEXT) = (PFNGLBLENDEQUATIONEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glBlendEquationEXT");
    00628         if (NULL == GLH_EXT_NAME(glBlendEquationEXT))
    00629             return FALSE;
    00630 #endif
    00631
    00632 #ifdef GL_EXT_blend_subtract
    00633     } else if (0 == strcmp(extension, "GL_EXT_blend_subtract")) {
    00634 #endif
    00635
    00636 #ifdef GL_EXT_compiled_vertex_array
    00637     } else if (0 == strcmp(extension, "GL_EXT_compiled_vertex_array")) {
    00638         GLH_EXT_NAME(glLockArraysEXT) = (PFNGLLOCKARRAYSEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glLockArraysEXT");
    00639         if (NULL == GLH_EXT_NAME(glLockArraysEXT))
    00640             return FALSE;
    00641         GLH_EXT_NAME(glUnlockArraysEXT) = (PFNGLUNLOCKARRAYSEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glUnlockArraysEXT");
    00642         if (NULL == GLH_EXT_NAME(glUnlockArraysEXT))
    00643             return FALSE;
    00644 #endif
    00645
    00646 #ifdef GL_EXT_fog_coord
    00647     } else if (0 == strcmp(extension, "GL_EXT_fog_coord")) {
    00648         GLH_EXT_NAME(glFogCoorddEXT) = (PFNGLFOGCOORDDEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glFogCoorddEXT");
    00649         if (NULL == GLH_EXT_NAME(glFogCoorddEXT))
    00650             return FALSE;
    00651         GLH_EXT_NAME(glFogCoorddvEXT) = (PFNGLFOGCOORDDVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glFogCoorddvEXT");
    00652         if (NULL == GLH_EXT_NAME(glFogCoorddvEXT))
    00653             return FALSE;
    00654         GLH_EXT_NAME(glFogCoordfEXT) = (PFNGLFOGCOORDFEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glFogCoordfEXT");
    00655         if (NULL == GLH_EXT_NAME(glFogCoordfEXT))
    00656             return FALSE;
    00657         GLH_EXT_NAME(glFogCoordfvEXT) = (PFNGLFOGCOORDFVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glFogCoordfvEXT");
    00658         if (NULL == GLH_EXT_NAME(glFogCoordfvEXT))
    00659             return FALSE;
    00660         GLH_EXT_NAME(glFogCoordPointerEXT) = (PFNGLFOGCOORDPOINTEREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glFogCoordPointerEXT");
    00661         if (NULL == GLH_EXT_NAME(glFogCoordPointerEXT))
    00662             return FALSE;
    00663 #endif
    00664
    00665 #ifdef GL_EXT_light_max_exponent
    00666     } else if (0 == strcmp(extension, "GL_EXT_light_max_exponent")) {
    00667 #endif
    00668
    00669 #ifdef GL_EXT_packed_pixels
    00670     } else if (0 == strcmp(extension, "GL_EXT_packed_pixels")) {
    00671 #endif
    00672
    00673 #ifdef GL_EXT_paletted_texture
    00674     } else if (0 == strcmp(extension, "GL_EXT_paletted_texture")) {
    00675         GLH_EXT_NAME(glColorSubTableEXT) = (PFNGLCOLORSUBTABLEEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glColorSubTableEXT");
    00676         if (NULL == GLH_EXT_NAME(glColorSubTableEXT))
    00677             return FALSE;
    00678         GLH_EXT_NAME(glColorTableEXT) = (PFNGLCOLORTABLEEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glColorTableEXT");
    00679         if (NULL == GLH_EXT_NAME(glColorTableEXT))
    00680             return FALSE;
    00681         GLH_EXT_NAME(glGetColorTableEXT) = (PFNGLGETCOLORTABLEEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glGetColorTableEXT");
    00682         if (NULL == GLH_EXT_NAME(glGetColorTableEXT))
    00683             return FALSE;
    00684         GLH_EXT_NAME(glGetColorTableParameterfvEXT) = (PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glGetColorTableParameterfvEXT");
    00685         if (NULL == GLH_EXT_NAME(glGetColorTableParameterfvEXT))
    00686             return FALSE;
    00687         GLH_EXT_NAME(glGetColorTableParameterivEXT) = (PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glGetColorTableParameterivEXT");
    00688         if (NULL == GLH_EXT_NAME(glGetColorTableParameterivEXT))
    00689             return FALSE;
    00690 #endif
    00691
    00692 #ifdef GL_EXT_point_parameters
    00693     } else if (0 == strcmp(extension, "GL_EXT_point_parameters")) {
    00694         GLH_EXT_NAME(glPointParameterfEXT) = (PFNGLPOINTPARAMETERFEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glPointParameterfEXT");
    00695         if (NULL == GLH_EXT_NAME(glPointParameterfEXT))
    00696             return FALSE;
    00697         GLH_EXT_NAME(glPointParameterfvEXT) = (PFNGLPOINTPARAMETERFVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glPointParameterfvEXT");
    00698         if (NULL == GLH_EXT_NAME(glPointParameterfvEXT))
    00699             return FALSE;
    00700 #endif
    00701
    00702 #ifdef GL_EXT_rescale_normal
    00703     } else if (0 == strcmp(extension, "GL_EXT_rescale_normal")) {
    00704 #endif
    00705
    00706 #ifdef GL_EXT_secondary_color
    00707     } else if (0 == strcmp(extension, "GL_EXT_secondary_color")) {
    00708         GLH_EXT_NAME(glSecondaryColor3bEXT) = (PFNGLSECONDARYCOLOR3BEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3bEXT");
    00709         if (NULL == GLH_EXT_NAME(glSecondaryColor3bEXT))
    00710             return FALSE;
    00711         GLH_EXT_NAME(glSecondaryColor3bvEXT) = (PFNGLSECONDARYCOLOR3BVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3bvEXT");
    00712         if (NULL == GLH_EXT_NAME(glSecondaryColor3bvEXT))
    00713             return FALSE;
    00714         GLH_EXT_NAME(glSecondaryColor3dEXT) = (PFNGLSECONDARYCOLOR3DEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3dEXT");
    00715         if (NULL == GLH_EXT_NAME(glSecondaryColor3dEXT))
    00716             return FALSE;
    00717         GLH_EXT_NAME(glSecondaryColor3dvEXT) = (PFNGLSECONDARYCOLOR3DVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3dvEXT");
    00718         if (NULL == GLH_EXT_NAME(glSecondaryColor3dvEXT))
    00719             return FALSE;
    00720         GLH_EXT_NAME(glSecondaryColor3fEXT) = (PFNGLSECONDARYCOLOR3FEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3fEXT");
    00721         if (NULL == GLH_EXT_NAME(glSecondaryColor3fEXT))
    00722             return FALSE;
    00723         GLH_EXT_NAME(glSecondaryColor3fvEXT) = (PFNGLSECONDARYCOLOR3FVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3fvEXT");
    00724         if (NULL == GLH_EXT_NAME(glSecondaryColor3fvEXT))
    00725             return FALSE;
    00726         GLH_EXT_NAME(glSecondaryColor3iEXT) = (PFNGLSECONDARYCOLOR3IEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3iEXT");
    00727         if (NULL == GLH_EXT_NAME(glSecondaryColor3iEXT))
    00728             return FALSE;
    00729         GLH_EXT_NAME(glSecondaryColor3ivEXT) = (PFNGLSECONDARYCOLOR3IVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3ivEXT");
    00730         if (NULL == GLH_EXT_NAME(glSecondaryColor3ivEXT))
    00731             return FALSE;
    00732         GLH_EXT_NAME(glSecondaryColor3sEXT) = (PFNGLSECONDARYCOLOR3SEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3sEXT");
    00733         if (NULL == GLH_EXT_NAME(glSecondaryColor3sEXT))
    00734             return FALSE;
    00735         GLH_EXT_NAME(glSecondaryColor3svEXT) = (PFNGLSECONDARYCOLOR3SVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3svEXT");
    00736         if (NULL == GLH_EXT_NAME(glSecondaryColor3svEXT))
    00737             return FALSE;
    00738         GLH_EXT_NAME(glSecondaryColor3ubEXT) = (PFNGLSECONDARYCOLOR3UBEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3ubEXT");
    00739         if (NULL == GLH_EXT_NAME(glSecondaryColor3ubEXT))
    00740             return FALSE;
    00741         GLH_EXT_NAME(glSecondaryColor3ubvEXT) = (PFNGLSECONDARYCOLOR3UBVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3ubvEXT");
    00742         if (NULL == GLH_EXT_NAME(glSecondaryColor3ubvEXT))
    00743             return FALSE;
    00744         GLH_EXT_NAME(glSecondaryColor3uiEXT) = (PFNGLSECONDARYCOLOR3UIEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3uiEXT");
    00745         if (NULL == GLH_EXT_NAME(glSecondaryColor3uiEXT))
    00746             return FALSE;
    00747         GLH_EXT_NAME(glSecondaryColor3uivEXT) = (PFNGLSECONDARYCOLOR3UIVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3uivEXT");
    00748         if (NULL == GLH_EXT_NAME(glSecondaryColor3uivEXT))
    00749             return FALSE;
    00750         GLH_EXT_NAME(glSecondaryColor3usEXT) = (PFNGLSECONDARYCOLOR3USEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3usEXT");
    00751         if (NULL == GLH_EXT_NAME(glSecondaryColor3usEXT))
    00752             return FALSE;
    00753         GLH_EXT_NAME(glSecondaryColor3usvEXT) = (PFNGLSECONDARYCOLOR3USVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColor3usvEXT");
    00754         if (NULL == GLH_EXT_NAME(glSecondaryColor3usvEXT))
    00755             return FALSE;
    00756         GLH_EXT_NAME(glSecondaryColorPointerEXT) = (PFNGLSECONDARYCOLORPOINTEREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glSecondaryColorPointerEXT");
    00757         if (NULL == GLH_EXT_NAME(glSecondaryColorPointerEXT))
    00758             return FALSE;
    00759 #endif
    00760
    00761 #ifdef GL_EXT_separate_specular_color
    00762     } else if (0 == strcmp(extension, "GL_EXT_separate_specular_color")) {
    00763 #endif
    00764
    00765 #ifdef GL_EXT_shared_texture_palette
    00766     } else if (0 == strcmp(extension, "GL_EXT_shared_texture_palette")) {
    00767 #endif
    00768
    00769 #ifdef GL_EXT_stencil_wrap
    00770     } else if (0 == strcmp(extension, "GL_EXT_stencil_wrap")) {
    00771 #endif
    00772
    00773 #ifdef GL_EXT_texture_compression_s3tc
    00774     } else if (0 == strcmp(extension, "GL_EXT_texture_compression_s3tc")) {
    00775 #endif
    00776
    00777 #ifdef GL_EXT_texture_cube_map
    00778     } else if (0 == strcmp(extension, "GL_EXT_texture_cube_map")) {
    00779 #endif
    00780
    00781 #ifdef GL_EXT_texture_edge_clamp
    00782     } else if (0 == strcmp(extension, "GL_EXT_texture_edge_clamp")) {
    00783 #endif
    00784
    00785 #ifdef GL_EXT_texture_env_add
    00786     } else if (0 == strcmp(extension, "GL_EXT_texture_env_add")) {
    00787 #endif
    00788
    00789 #ifdef GL_EXT_texture_env_combine
    00790     } else if (0 == strcmp(extension, "GL_EXT_texture_env_combine")) {
    00791 #endif
    00792
    00793 #ifdef GL_EXT_texture_filter_anisotropic
    00794     } else if (0 == strcmp(extension, "GL_EXT_texture_filter_anisotropic")) {
    00795 #endif
    00796
    00797 #ifdef GL_EXT_texture_lod_bias
    00798     } else if (0 == strcmp(extension, "GL_EXT_texture_lod_bias")) {
    00799 #endif
    00800
    00801 #ifdef GL_EXT_texture_object
    00802     } else if (0 == strcmp(extension, "GL_EXT_texture_object")) {
    00803         GLH_EXT_NAME(glAreTexturesResidentEXT) = (PFNGLARETEXTURESRESIDENTEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glAreTexturesResidentEXT");
    00804         if (NULL == GLH_EXT_NAME(glAreTexturesResidentEXT))
    00805             return FALSE;
    00806         GLH_EXT_NAME(glBindTextureEXT) = (PFNGLBINDTEXTUREEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glBindTextureEXT");
    00807         if (NULL == GLH_EXT_NAME(glBindTextureEXT))
    00808             return FALSE;
    00809         GLH_EXT_NAME(glDeleteTexturesEXT) = (PFNGLDELETETEXTURESEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glDeleteTexturesEXT");
    00810         if (NULL == GLH_EXT_NAME(glDeleteTexturesEXT))
    00811             return FALSE;
    00812         GLH_EXT_NAME(glGenTexturesEXT) = (PFNGLGENTEXTURESEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glGenTexturesEXT");
    00813         if (NULL == GLH_EXT_NAME(glGenTexturesEXT))
    00814             return FALSE;
    00815         GLH_EXT_NAME(glIsTextureEXT) = (PFNGLISTEXTUREEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glIsTextureEXT");
    00816         if (NULL == GLH_EXT_NAME(glIsTextureEXT))
    00817             return FALSE;
    00818         GLH_EXT_NAME(glPrioritizeTexturesEXT) = (PFNGLPRIORITIZETEXTURESEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glPrioritizeTexturesEXT");
    00819         if (NULL == GLH_EXT_NAME(glPrioritizeTexturesEXT))
    00820             return FALSE;
    00821 #endif
    00822
    00823 #ifdef GL_EXT_texture3D
    00824     } else if (0 == strcmp(extension, "GL_EXT_texture3D")) {
    00825         GLH_EXT_NAME(glTexImage3DEXT) = (PFNGLTEXIMAGE3DEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glTexImage3DEXT");
    00826         if (NULL == GLH_EXT_NAME(glTexImage3DEXT))
    00827             return FALSE;
    00828 #endif
    00829
    00830 #ifdef GL_EXT_vertex_array
    00831     } else if (0 == strcmp(extension, "GL_EXT_vertex_array")) {
    00832         GLH_EXT_NAME(glArrayElementEXT) = (PFNGLARRAYELEMENTEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glArrayElementEXT");
    00833         if (NULL == GLH_EXT_NAME(glArrayElementEXT))
    00834             return FALSE;
    00835         GLH_EXT_NAME(glColorPointerEXT) = (PFNGLCOLORPOINTEREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glColorPointerEXT");
    00836         if (NULL == GLH_EXT_NAME(glColorPointerEXT))
    00837             return FALSE;
    00838         GLH_EXT_NAME(glEdgeFlagPointerEXT) = (PFNGLEDGEFLAGPOINTEREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glEdgeFlagPointerEXT");
    00839         if (NULL == GLH_EXT_NAME(glEdgeFlagPointerEXT))
    00840             return FALSE;
    00841         GLH_EXT_NAME(glGetPointervEXT) = (PFNGLGETPOINTERVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glGetPointervEXT");
    00842         if (NULL == GLH_EXT_NAME(glGetPointervEXT))
    00843             return FALSE;
    00844         GLH_EXT_NAME(glIndexPointerEXT) = (PFNGLINDEXPOINTEREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glIndexPointerEXT");
    00845         if (NULL == GLH_EXT_NAME(glIndexPointerEXT))
    00846             return FALSE;
    00847         GLH_EXT_NAME(glNormalPointerEXT) = (PFNGLNORMALPOINTEREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glNormalPointerEXT");
    00848         if (NULL == GLH_EXT_NAME(glNormalPointerEXT))
    00849             return FALSE;
    00850         GLH_EXT_NAME(glTexCoordPointerEXT) = (PFNGLTEXCOORDPOINTEREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glTexCoordPointerEXT");
    00851         if (NULL == GLH_EXT_NAME(glTexCoordPointerEXT))
    00852             return FALSE;
    00853         GLH_EXT_NAME(glVertexPointerEXT) = (PFNGLVERTEXPOINTEREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexPointerEXT");
    00854         if (NULL == GLH_EXT_NAME(glVertexPointerEXT))
    00855             return FALSE;
    00856         GLH_EXT_NAME(glDrawArraysEXT) = (PFNGLDRAWARRAYSEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glDrawArraysEXT");
    00857         if (NULL == GLH_EXT_NAME(glDrawArraysEXT))
    00858             return FALSE;
    00859 #endif
    00860
    00861 #ifdef GL_EXT_vertex_weighting
    00862     } else if (0 == strcmp(extension, "GL_EXT_vertex_weighting")) {
    00863         GLH_EXT_NAME(glVertexWeightfEXT) = (PFNGLVERTEXWEIGHTFEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexWeightfEXT");
    00864         if (NULL == GLH_EXT_NAME(glVertexWeightfEXT))
    00865             return FALSE;
    00866         GLH_EXT_NAME(glVertexWeightfvEXT) = (PFNGLVERTEXWEIGHTFVEXTPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexWeightfvEXT");
    00867         if (NULL == GLH_EXT_NAME(glVertexWeightfvEXT))
    00868             return FALSE;
    00869         GLH_EXT_NAME(glVertexWeightPointerEXT) = (PFNGLVERTEXWEIGHTPOINTEREXTPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexWeightPointerEXT");
    00870         if (NULL == GLH_EXT_NAME(glVertexWeightPointerEXT))
    00871             return FALSE;
    00872 #endif
    00873
    00874 #ifdef GL_NV_blend_square
    00875     } else if (0 == strcmp(extension, "GL_NV_blend_square")) {
    00876 #endif
    00877
    00878 #ifdef GL_NV_evaluators
    00879     } else if (0 == strcmp(extension, "GL_NV_evaluators")) {
    00880         GLH_EXT_NAME(glMapControlPointsNV) = (PFNGLMAPCONTROLPOINTSNVPROC)GLH_EXT_GET_PROC_ADDRESS("glMapControlPointsNV");
    00881         if (NULL == GLH_EXT_NAME(glMapControlPointsNV))
    00882             return FALSE;
    00883         GLH_EXT_NAME(glMapParameterivNV) = (PFNGLMAPPARAMETERIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glMapParameterivNV");
    00884         if (NULL == GLH_EXT_NAME(glMapParameterivNV))
    00885             return FALSE;
    00886         GLH_EXT_NAME(glMapParameterfvNV) = (PFNGLMAPPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glMapParameterfvNV");
    00887         if (NULL == GLH_EXT_NAME(glMapParameterfvNV))
    00888             return FALSE;
    00889         GLH_EXT_NAME(glGetMapControlPointsNV) = (PFNGLGETMAPCONTROLPOINTSNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetMapControlPointsNV");
    00890         if (NULL == GLH_EXT_NAME(glGetMapControlPointsNV))
    00891             return FALSE;
    00892         GLH_EXT_NAME(glGetMapParameterivNV) = (PFNGLGETMAPPARAMETERIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetMapParameterivNV");
    00893         if (NULL == GLH_EXT_NAME(glGetMapParameterivNV))
    00894             return FALSE;
    00895         GLH_EXT_NAME(glGetMapParameterfvNV) = (PFNGLGETMAPPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetMapParameterfvNV");
    00896         if (NULL == GLH_EXT_NAME(glGetMapParameterfvNV))
    00897             return FALSE;
    00898         GLH_EXT_NAME(glGetMapAttribParameterivNV) = (PFNGLGETMAPATTRIBPARAMETERIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetMapAttribParameterivNV");
    00899         if (NULL == GLH_EXT_NAME(glGetMapAttribParameterivNV))
    00900             return FALSE;
    00901         GLH_EXT_NAME(glGetMapAttribParameterfvNV) = (PFNGLGETMAPATTRIBPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetMapAttribParameterfvNV");
    00902         if (NULL == GLH_EXT_NAME(glGetMapAttribParameterfvNV))
    00903             return FALSE;
    00904         GLH_EXT_NAME(glEvalMapsNV) = (PFNGLEVALMAPSNVPROC)GLH_EXT_GET_PROC_ADDRESS("glEvalMapsNV");
    00905         if (NULL == GLH_EXT_NAME(glEvalMapsNV))
    00906             return FALSE;
    00907 #endif
    00908
    00909 #ifdef GL_NV_fence
    00910     } else if (0 == strcmp(extension, "GL_NV_fence")) {
    00911         GLH_EXT_NAME(glGenFencesNV) = (PFNGLGENFENCESNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGenFencesNV");
    00912         if (NULL == GLH_EXT_NAME(glGenFencesNV))
    00913             return FALSE;
    00914         GLH_EXT_NAME(glDeleteFencesNV) = (PFNGLDELETEFENCESNVPROC)GLH_EXT_GET_PROC_ADDRESS("glDeleteFencesNV");
    00915         if (NULL == GLH_EXT_NAME(glDeleteFencesNV))
    00916             return FALSE;
    00917         GLH_EXT_NAME(glSetFenceNV) = (PFNGLSETFENCENVPROC)GLH_EXT_GET_PROC_ADDRESS("glSetFenceNV");
    00918         if (NULL == GLH_EXT_NAME(glSetFenceNV))
    00919             return FALSE;
    00920         GLH_EXT_NAME(glTestFenceNV) = (PFNGLTESTFENCENVPROC)GLH_EXT_GET_PROC_ADDRESS("glTestFenceNV");
    00921         if (NULL == GLH_EXT_NAME(glTestFenceNV))
    00922             return FALSE;
    00923         GLH_EXT_NAME(glFinishFenceNV) = (PFNGLFINISHFENCENVPROC)GLH_EXT_GET_PROC_ADDRESS("glFinishFenceNV");
    00924         if (NULL == GLH_EXT_NAME(glFinishFenceNV))
    00925             return FALSE;
    00926         GLH_EXT_NAME(glIsFenceNV) = (PFNGLISFENCENVPROC)GLH_EXT_GET_PROC_ADDRESS("glIsFenceNV");
    00927         if (NULL == GLH_EXT_NAME(glIsFenceNV))
    00928             return FALSE;
    00929         GLH_EXT_NAME(glGetFenceivNV) = (PFNGLGETFENCEIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetFenceivNV");
    00930         if (NULL == GLH_EXT_NAME(glGetFenceivNV))
    00931             return FALSE;
    00932 #endif
    00933
    00934 #ifdef GL_NV_fog_distance
    00935     } else if (0 == strcmp(extension, "GL_NV_fog_distance")) {
    00936 #endif
    00937
    00938 #ifdef GL_NV_packed_depth_stencil
    00939     } else if (0 == strcmp(extension, "GL_NV_packed_depth_stencil")) {
    00940 #endif
    00941
    00942 #ifdef GL_NV_register_combiners
    00943     } else if (0 == strcmp(extension, "GL_NV_register_combiners")) {
    00944         GLH_EXT_NAME(glCombinerParameterfvNV) = (PFNGLCOMBINERPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glCombinerParameterfvNV");
    00945         if (NULL == GLH_EXT_NAME(glCombinerParameterfvNV))
    00946             return FALSE;
    00947         GLH_EXT_NAME(glCombinerParameterfNV) = (PFNGLCOMBINERPARAMETERFNVPROC)GLH_EXT_GET_PROC_ADDRESS("glCombinerParameterfNV");
    00948         if (NULL == GLH_EXT_NAME(glCombinerParameterfNV))
    00949             return FALSE;
    00950         GLH_EXT_NAME(glCombinerParameterivNV) = (PFNGLCOMBINERPARAMETERIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glCombinerParameterivNV");
    00951         if (NULL == GLH_EXT_NAME(glCombinerParameterivNV))
    00952             return FALSE;
    00953         GLH_EXT_NAME(glCombinerParameteriNV) = (PFNGLCOMBINERPARAMETERINVPROC)GLH_EXT_GET_PROC_ADDRESS("glCombinerParameteriNV");
    00954         if (NULL == GLH_EXT_NAME(glCombinerParameteriNV))
    00955             return FALSE;
    00956         GLH_EXT_NAME(glCombinerInputNV) = (PFNGLCOMBINERINPUTNVPROC)GLH_EXT_GET_PROC_ADDRESS("glCombinerInputNV");
    00957         if (NULL == GLH_EXT_NAME(glCombinerInputNV))
    00958             return FALSE;
    00959         GLH_EXT_NAME(glCombinerOutputNV) = (PFNGLCOMBINEROUTPUTNVPROC)GLH_EXT_GET_PROC_ADDRESS("glCombinerOutputNV");
    00960         if (NULL == GLH_EXT_NAME(glCombinerOutputNV))
    00961             return FALSE;
    00962         GLH_EXT_NAME(glFinalCombinerInputNV) = (PFNGLFINALCOMBINERINPUTNVPROC)GLH_EXT_GET_PROC_ADDRESS("glFinalCombinerInputNV");
    00963         if (NULL == GLH_EXT_NAME(glFinalCombinerInputNV))
    00964             return FALSE;
    00965         GLH_EXT_NAME(glGetCombinerInputParameterfvNV) = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetCombinerInputParameterfvNV");
    00966         if (NULL == GLH_EXT_NAME(glGetCombinerInputParameterfvNV))
    00967             return FALSE;
    00968         GLH_EXT_NAME(glGetCombinerInputParameterivNV) = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetCombinerInputParameterivNV");
    00969         if (NULL == GLH_EXT_NAME(glGetCombinerInputParameterivNV))
    00970             return FALSE;
    00971         GLH_EXT_NAME(glGetCombinerOutputParameterfvNV) = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetCombinerOutputParameterfvNV");
    00972         if (NULL == GLH_EXT_NAME(glGetCombinerOutputParameterfvNV))
    00973             return FALSE;
    00974         GLH_EXT_NAME(glGetCombinerOutputParameterivNV) = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetCombinerOutputParameterivNV");
    00975         if (NULL == GLH_EXT_NAME(glGetCombinerOutputParameterivNV))
    00976             return FALSE;
    00977         GLH_EXT_NAME(glGetFinalCombinerInputParameterfvNV) = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetFinalCombinerInputParameterfvNV");
    00978         if (NULL == GLH_EXT_NAME(glGetFinalCombinerInputParameterfvNV))
    00979             return FALSE;
    00980         GLH_EXT_NAME(glGetFinalCombinerInputParameterivNV) = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetFinalCombinerInputParameterivNV");
    00981         if (NULL == GLH_EXT_NAME(glGetFinalCombinerInputParameterivNV))
    00982             return FALSE;
    00983 #endif
    00984
    00985 #ifdef GL_NV_register_combiners2
    00986     } else if (0 == strcmp(extension, "GL_NV_register_combiners2")) {
    00987         GLH_EXT_NAME(glCombinerStageParameterfvNV) = (PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glCombinerStageParameterfvNV");
    00988         if (NULL == GLH_EXT_NAME(glCombinerStageParameterfvNV))
    00989             return FALSE;
    00990         GLH_EXT_NAME(glGetCombinerStageParameterfvNV) = (PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetCombinerStageParameterfvNV");
    00991         if (NULL == GLH_EXT_NAME(glGetCombinerStageParameterfvNV))
    00992             return FALSE;
    00993 #endif
    00994
    00995 #ifdef GL_NV_texgen_reflection
    00996     } else if (0 == strcmp(extension, "GL_NV_texgen_reflection")) {
    00997 #endif
    00998
    00999 #ifdef GL_NV_texture_env_combine4
    01000     } else if (0 == strcmp(extension, "GL_NV_texture_env_combine4")) {
    01001 #endif
    01002
    01003 #ifdef GL_NV_texture_rectangle
    01004     } else if (0 == strcmp(extension, "GL_NV_texture_rectangle")) {
    01005 #endif
    01006
    01007 #ifdef GL_NV_texture_shader
    01008     } else if (0 == strcmp(extension, "GL_NV_texture_shader")) {
    01009 #endif
    01010
    01011 #ifdef GL_NV_vertex_array_range
    01012     } else if (0 == strcmp(extension, "GL_NV_vertex_array_range")) {
    01013         GLH_EXT_NAME(glFlushVertexArrayRangeNV) = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)GLH_EXT_GET_PROC_ADDRESS("glFlushVertexArrayRangeNV");
    01014         if (NULL == GLH_EXT_NAME(glFlushVertexArrayRangeNV))
    01015             return FALSE;
    01016         GLH_EXT_NAME(glVertexArrayRangeNV) = (PFNGLVERTEXARRAYRANGENVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexArrayRangeNV");
    01017         if (NULL == GLH_EXT_NAME(glVertexArrayRangeNV))
    01018             return FALSE;
    01019 # ifdef _WIN32
    01020         GLH_EXT_NAME(wglAllocateMemoryNV) = (PFNWGLALLOCATEMEMORYNVPROC)GLH_EXT_GET_PROC_ADDRESS("wglAllocateMemoryNV");
    01021         if (NULL == GLH_EXT_NAME(wglAllocateMemoryNV))
    01022             return FALSE;
    01023 # endif
    01024 # ifdef GLX_VERSION_1_3
    01025         GLH_EXT_NAME(glXAllocateMemoryNV) = (PFNGLXALLOCATEMEMORYNVPROC)GLH_EXT_GET_PROC_ADDRESS("glXAllocateMemoryNV");
    01026         if (NULL == GLH_EXT_NAME(glXAllocateMemoryNV))
    01027             return FALSE;
    01028 # endif
    01029 # ifdef _WIN32
    01030         GLH_EXT_NAME(wglFreeMemoryNV) = (PFNWGLFREEMEMORYNVPROC)GLH_EXT_GET_PROC_ADDRESS("wglFreeMemoryNV");
    01031         if (NULL == GLH_EXT_NAME(wglFreeMemoryNV))
    01032             return FALSE;
    01033 # endif
    01034 # ifdef GLX_VERSION_1_3
    01035         GLH_EXT_NAME(glXFreeMemoryNV) = (PFNGLXFREEMEMORYNVPROC)GLH_EXT_GET_PROC_ADDRESS("glXFreeMemoryNV");
    01036         if (NULL == GLH_EXT_NAME(glXFreeMemoryNV))
    01037             return FALSE;
    01038 # endif
    01039 #endif
    01040
    01041 #ifdef GL_NV_vertex_program
    01042     } else if (0 == strcmp(extension, "GL_NV_vertex_program")) {
    01043         GLH_EXT_NAME(glAreProgramsResidentNV) = (PFNGLAREPROGRAMSRESIDENTNVPROC)GLH_EXT_GET_PROC_ADDRESS("glAreProgramsResidentNV");
    01044         if (NULL == GLH_EXT_NAME(glAreProgramsResidentNV))
    01045             return FALSE;
    01046         GLH_EXT_NAME(glBindProgramNV) = (PFNGLBINDPROGRAMNVPROC)GLH_EXT_GET_PROC_ADDRESS("glBindProgramNV");
    01047         if (NULL == GLH_EXT_NAME(glBindProgramNV))
    01048             return FALSE;
    01049         GLH_EXT_NAME(glDeleteProgramsNV) = (PFNGLDELETEPROGRAMSNVPROC)GLH_EXT_GET_PROC_ADDRESS("glDeleteProgramsNV");
    01050         if (NULL == GLH_EXT_NAME(glDeleteProgramsNV))
    01051             return FALSE;
    01052         GLH_EXT_NAME(glExecuteProgramNV) = (PFNGLEXECUTEPROGRAMNVPROC)GLH_EXT_GET_PROC_ADDRESS("glExecuteProgramNV");
    01053         if (NULL == GLH_EXT_NAME(glExecuteProgramNV))
    01054             return FALSE;
    01055         GLH_EXT_NAME(glGenProgramsNV) = (PFNGLGENPROGRAMSNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGenProgramsNV");
    01056         if (NULL == GLH_EXT_NAME(glGenProgramsNV))
    01057             return FALSE;
    01058         GLH_EXT_NAME(glGetProgramParameterdvNV) = (PFNGLGETPROGRAMPARAMETERDVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetProgramParameterdvNV");
    01059         if (NULL == GLH_EXT_NAME(glGetProgramParameterdvNV))
    01060             return FALSE;
    01061         GLH_EXT_NAME(glGetProgramParameterfvNV) = (PFNGLGETPROGRAMPARAMETERFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetProgramParameterfvNV");
    01062         if (NULL == GLH_EXT_NAME(glGetProgramParameterfvNV))
    01063             return FALSE;
    01064         GLH_EXT_NAME(glGetProgramivNV) = (PFNGLGETPROGRAMIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetProgramivNV");
    01065         if (NULL == GLH_EXT_NAME(glGetProgramivNV))
    01066             return FALSE;
    01067         GLH_EXT_NAME(glGetProgramStringNV) = (PFNGLGETPROGRAMSTRINGNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetProgramStringNV");
    01068         if (NULL == GLH_EXT_NAME(glGetProgramStringNV))
    01069             return FALSE;
    01070         GLH_EXT_NAME(glGetTrackMatrixivNV) = (PFNGLGETTRACKMATRIXIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetTrackMatrixivNV");
    01071         if (NULL == GLH_EXT_NAME(glGetTrackMatrixivNV))
    01072             return FALSE;
    01073         GLH_EXT_NAME(glGetVertexAttribdvNV) = (PFNGLGETVERTEXATTRIBDVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetVertexAttribdvNV");
    01074         if (NULL == GLH_EXT_NAME(glGetVertexAttribdvNV))
    01075             return FALSE;
    01076         GLH_EXT_NAME(glGetVertexAttribfvNV) = (PFNGLGETVERTEXATTRIBFVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetVertexAttribfvNV");
    01077         if (NULL == GLH_EXT_NAME(glGetVertexAttribfvNV))
    01078             return FALSE;
    01079         GLH_EXT_NAME(glGetVertexAttribivNV) = (PFNGLGETVERTEXATTRIBIVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetVertexAttribivNV");
    01080         if (NULL == GLH_EXT_NAME(glGetVertexAttribivNV))
    01081             return FALSE;
    01082         GLH_EXT_NAME(glGetVertexAttribPointervNV) = (PFNGLGETVERTEXATTRIBPOINTERVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetVertexAttribPointervNV");
    01083         if (NULL == GLH_EXT_NAME(glGetVertexAttribPointervNV))
    01084             return FALSE;
    01085         GLH_EXT_NAME(glIsProgramNV) = (PFNGLISPROGRAMNVPROC)GLH_EXT_GET_PROC_ADDRESS("glIsProgramNV");
    01086         if (NULL == GLH_EXT_NAME(glIsProgramNV))
    01087             return FALSE;
    01088         GLH_EXT_NAME(glLoadProgramNV) = (PFNGLLOADPROGRAMNVPROC)GLH_EXT_GET_PROC_ADDRESS("glLoadProgramNV");
    01089         if (NULL == GLH_EXT_NAME(glLoadProgramNV))
    01090             return FALSE;
    01091         GLH_EXT_NAME(glProgramParameter4dNV) = (PFNGLPROGRAMPARAMETER4DNVPROC)GLH_EXT_GET_PROC_ADDRESS("glProgramParameter4dNV");
    01092         if (NULL == GLH_EXT_NAME(glProgramParameter4dNV))
    01093             return FALSE;
    01094         GLH_EXT_NAME(glProgramParameter4dvNV) = (PFNGLPROGRAMPARAMETER4DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glProgramParameter4dvNV");
    01095         if (NULL == GLH_EXT_NAME(glProgramParameter4dvNV))
    01096             return FALSE;
    01097         GLH_EXT_NAME(glProgramParameter4fNV) = (PFNGLPROGRAMPARAMETER4FNVPROC)GLH_EXT_GET_PROC_ADDRESS("glProgramParameter4fNV");
    01098         if (NULL == GLH_EXT_NAME(glProgramParameter4fNV))
    01099             return FALSE;
    01100         GLH_EXT_NAME(glProgramParameter4fvNV) = (PFNGLPROGRAMPARAMETER4FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glProgramParameter4fvNV");
    01101         if (NULL == GLH_EXT_NAME(glProgramParameter4fvNV))
    01102             return FALSE;
    01103         GLH_EXT_NAME(glProgramParameters4dvNV) = (PFNGLPROGRAMPARAMETERS4DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glProgramParameters4dvNV");
    01104         if (NULL == GLH_EXT_NAME(glProgramParameters4dvNV))
    01105             return FALSE;
    01106         GLH_EXT_NAME(glProgramParameters4fvNV) = (PFNGLPROGRAMPARAMETERS4FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glProgramParameters4fvNV");
    01107         if (NULL == GLH_EXT_NAME(glProgramParameters4fvNV))
    01108             return FALSE;
    01109         GLH_EXT_NAME(glRequestResidentProgramsNV) = (PFNGLREQUESTRESIDENTPROGRAMSNVPROC)GLH_EXT_GET_PROC_ADDRESS("glRequestResidentProgramsNV");
    01110         if (NULL == GLH_EXT_NAME(glRequestResidentProgramsNV))
    01111             return FALSE;
    01112         GLH_EXT_NAME(glTrackMatrixNV) = (PFNGLTRACKMATRIXNVPROC)GLH_EXT_GET_PROC_ADDRESS("glTrackMatrixNV");
    01113         if (NULL == GLH_EXT_NAME(glTrackMatrixNV))
    01114             return FALSE;
    01115         GLH_EXT_NAME(glVertexAttribPointerNV) = (PFNGLVERTEXATTRIBPOINTERNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribPointerNV");
    01116         if (NULL == GLH_EXT_NAME(glVertexAttribPointerNV))
    01117             return FALSE;
    01118         GLH_EXT_NAME(glVertexAttrib1dNV) = (PFNGLVERTEXATTRIB1DNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib1dNV");
    01119         if (NULL == GLH_EXT_NAME(glVertexAttrib1dNV))
    01120             return FALSE;
    01121         GLH_EXT_NAME(glVertexAttrib1dvNV) = (PFNGLVERTEXATTRIB1DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib1dvNV");
    01122         if (NULL == GLH_EXT_NAME(glVertexAttrib1dvNV))
    01123             return FALSE;
    01124         GLH_EXT_NAME(glVertexAttrib1fNV) = (PFNGLVERTEXATTRIB1FNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib1fNV");
    01125         if (NULL == GLH_EXT_NAME(glVertexAttrib1fNV))
    01126             return FALSE;
    01127         GLH_EXT_NAME(glVertexAttrib1fvNV) = (PFNGLVERTEXATTRIB1FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib1fvNV");
    01128         if (NULL == GLH_EXT_NAME(glVertexAttrib1fvNV))
    01129             return FALSE;
    01130         GLH_EXT_NAME(glVertexAttrib1sNV) = (PFNGLVERTEXATTRIB1SNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib1sNV");
    01131         if (NULL == GLH_EXT_NAME(glVertexAttrib1sNV))
    01132             return FALSE;
    01133         GLH_EXT_NAME(glVertexAttrib1svNV) = (PFNGLVERTEXATTRIB1SVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib1svNV");
    01134         if (NULL == GLH_EXT_NAME(glVertexAttrib1svNV))
    01135             return FALSE;
    01136         GLH_EXT_NAME(glVertexAttrib2dNV) = (PFNGLVERTEXATTRIB2DNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib2dNV");
    01137         if (NULL == GLH_EXT_NAME(glVertexAttrib2dNV))
    01138             return FALSE;
    01139         GLH_EXT_NAME(glVertexAttrib2dvNV) = (PFNGLVERTEXATTRIB2DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib2dvNV");
    01140         if (NULL == GLH_EXT_NAME(glVertexAttrib2dvNV))
    01141             return FALSE;
    01142         GLH_EXT_NAME(glVertexAttrib2fNV) = (PFNGLVERTEXATTRIB2FNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib2fNV");
    01143         if (NULL == GLH_EXT_NAME(glVertexAttrib2fNV))
    01144             return FALSE;
    01145         GLH_EXT_NAME(glVertexAttrib2fvNV) = (PFNGLVERTEXATTRIB2FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib2fvNV");
    01146         if (NULL == GLH_EXT_NAME(glVertexAttrib2fvNV))
    01147             return FALSE;
    01148         GLH_EXT_NAME(glVertexAttrib2sNV) = (PFNGLVERTEXATTRIB2SNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib2sNV");
    01149         if (NULL == GLH_EXT_NAME(glVertexAttrib2sNV))
    01150             return FALSE;
    01151         GLH_EXT_NAME(glVertexAttrib2svNV) = (PFNGLVERTEXATTRIB2SVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib2svNV");
    01152         if (NULL == GLH_EXT_NAME(glVertexAttrib2svNV))
    01153             return FALSE;
    01154         GLH_EXT_NAME(glVertexAttrib3dNV) = (PFNGLVERTEXATTRIB3DNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib3dNV");
    01155         if (NULL == GLH_EXT_NAME(glVertexAttrib3dNV))
    01156             return FALSE;
    01157         GLH_EXT_NAME(glVertexAttrib3dvNV) = (PFNGLVERTEXATTRIB3DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib3dvNV");
    01158         if (NULL == GLH_EXT_NAME(glVertexAttrib3dvNV))
    01159             return FALSE;
    01160         GLH_EXT_NAME(glVertexAttrib3fNV) = (PFNGLVERTEXATTRIB3FNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib3fNV");
    01161         if (NULL == GLH_EXT_NAME(glVertexAttrib3fNV))
    01162             return FALSE;
    01163         GLH_EXT_NAME(glVertexAttrib3fvNV) = (PFNGLVERTEXATTRIB3FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib3fvNV");
    01164         if (NULL == GLH_EXT_NAME(glVertexAttrib3fvNV))
    01165             return FALSE;
    01166         GLH_EXT_NAME(glVertexAttrib3sNV) = (PFNGLVERTEXATTRIB3SNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib3sNV");
    01167         if (NULL == GLH_EXT_NAME(glVertexAttrib3sNV))
    01168             return FALSE;
    01169         GLH_EXT_NAME(glVertexAttrib3svNV) = (PFNGLVERTEXATTRIB3SVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib3svNV");
    01170         if (NULL == GLH_EXT_NAME(glVertexAttrib3svNV))
    01171             return FALSE;
    01172         GLH_EXT_NAME(glVertexAttrib4dNV) = (PFNGLVERTEXATTRIB4DNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib4dNV");
    01173         if (NULL == GLH_EXT_NAME(glVertexAttrib4dNV))
    01174             return FALSE;
    01175         GLH_EXT_NAME(glVertexAttrib4dvNV) = (PFNGLVERTEXATTRIB4DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib4dvNV");
    01176         if (NULL == GLH_EXT_NAME(glVertexAttrib4dvNV))
    01177             return FALSE;
    01178         GLH_EXT_NAME(glVertexAttrib4fNV) = (PFNGLVERTEXATTRIB4FNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib4fNV");
    01179         if (NULL == GLH_EXT_NAME(glVertexAttrib4fNV))
    01180             return FALSE;
    01181         GLH_EXT_NAME(glVertexAttrib4fvNV) = (PFNGLVERTEXATTRIB4FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib4fvNV");
    01182         if (NULL == GLH_EXT_NAME(glVertexAttrib4fvNV))
    01183             return FALSE;
    01184         GLH_EXT_NAME(glVertexAttrib4sNV) = (PFNGLVERTEXATTRIB4SNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib4sNV");
    01185         if (NULL == GLH_EXT_NAME(glVertexAttrib4sNV))
    01186             return FALSE;
    01187         GLH_EXT_NAME(glVertexAttrib4svNV) = (PFNGLVERTEXATTRIB4SVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib4svNV");
    01188         if (NULL == GLH_EXT_NAME(glVertexAttrib4svNV))
    01189             return FALSE;
    01190         GLH_EXT_NAME(glVertexAttrib4ubvNV) = (PFNGLVERTEXATTRIB4UBVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttrib4ubvNV");
    01191         if (NULL == GLH_EXT_NAME(glVertexAttrib4ubvNV))
    01192             return FALSE;
    01193         GLH_EXT_NAME(glVertexAttribs1dvNV) = (PFNGLVERTEXATTRIBS1DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs1dvNV");
    01194         if (NULL == GLH_EXT_NAME(glVertexAttribs1dvNV))
    01195             return FALSE;
    01196         GLH_EXT_NAME(glVertexAttribs1fvNV) = (PFNGLVERTEXATTRIBS1FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs1fvNV");
    01197         if (NULL == GLH_EXT_NAME(glVertexAttribs1fvNV))
    01198             return FALSE;
    01199         GLH_EXT_NAME(glVertexAttribs1svNV) = (PFNGLVERTEXATTRIBS1SVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs1svNV");
    01200         if (NULL == GLH_EXT_NAME(glVertexAttribs1svNV))
    01201             return FALSE;
    01202         GLH_EXT_NAME(glVertexAttribs2dvNV) = (PFNGLVERTEXATTRIBS2DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs2dvNV");
    01203         if (NULL == GLH_EXT_NAME(glVertexAttribs2dvNV))
    01204             return FALSE;
    01205         GLH_EXT_NAME(glVertexAttribs2fvNV) = (PFNGLVERTEXATTRIBS2FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs2fvNV");
    01206         if (NULL == GLH_EXT_NAME(glVertexAttribs2fvNV))
    01207             return FALSE;
    01208         GLH_EXT_NAME(glVertexAttribs2svNV) = (PFNGLVERTEXATTRIBS2SVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs2svNV");
    01209         if (NULL == GLH_EXT_NAME(glVertexAttribs2svNV))
    01210             return FALSE;
    01211         GLH_EXT_NAME(glVertexAttribs3dvNV) = (PFNGLVERTEXATTRIBS3DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs3dvNV");
    01212         if (NULL == GLH_EXT_NAME(glVertexAttribs3dvNV))
    01213             return FALSE;
    01214         GLH_EXT_NAME(glVertexAttribs3fvNV) = (PFNGLVERTEXATTRIBS3FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs3fvNV");
    01215         if (NULL == GLH_EXT_NAME(glVertexAttribs3fvNV))
    01216             return FALSE;
    01217         GLH_EXT_NAME(glVertexAttribs3svNV) = (PFNGLVERTEXATTRIBS3SVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs3svNV");
    01218         if (NULL == GLH_EXT_NAME(glVertexAttribs3svNV))
    01219             return FALSE;
    01220         GLH_EXT_NAME(glVertexAttribs4dvNV) = (PFNGLVERTEXATTRIBS4DVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs4dvNV");
    01221         if (NULL == GLH_EXT_NAME(glVertexAttribs4dvNV))
    01222             return FALSE;
    01223         GLH_EXT_NAME(glVertexAttribs4fvNV) = (PFNGLVERTEXATTRIBS4FVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs4fvNV");
    01224         if (NULL == GLH_EXT_NAME(glVertexAttribs4fvNV))
    01225             return FALSE;
    01226         GLH_EXT_NAME(glVertexAttribs4svNV) = (PFNGLVERTEXATTRIBS4SVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs4svNV");
    01227         if (NULL == GLH_EXT_NAME(glVertexAttribs4svNV))
    01228             return FALSE;
    01229         GLH_EXT_NAME(glVertexAttribs4ubvNV) = (PFNGLVERTEXATTRIBS4UBVNVPROC)GLH_EXT_GET_PROC_ADDRESS("glVertexAttribs4ubvNV");
    01230         if (NULL == GLH_EXT_NAME(glVertexAttribs4ubvNV))
    01231             return FALSE;
    01232 #endif
    01233
    01234 #ifdef GL_SGIS_generate_mipmap
    01235     } else if (0 == strcmp(extension, "GL_SGIS_generate_mipmap")) {
    01236 #endif
    01237
    01238 #ifdef GL_SGIS_texture_lod
    01239     } else if (0 == strcmp(extension, "GL_SGIS_texture_lod")) {
    01240 #endif
    01241
    01242 #ifdef GL_SGIX_depth_texture
    01243     } else if (0 == strcmp(extension, "GL_SGIX_depth_texture")) {
    01244 #endif
    01245
    01246 #ifdef GL_SGIX_shadow
    01247     } else if (0 == strcmp(extension, "GL_SGIX_shadow")) {
    01248 #endif
    01249
    01250 #ifdef GL_VERSION_1_2
    01251     } else if (0 == strcmp(extension, "GL_VERSION_1_2")) {
    01252         GLH_CORE_1_2_NAME(glBlendColor) = (PFNGLBLENDCOLORPROC)GLH_EXT_GET_PROC_ADDRESS("glBlendColor");
    01253         if (NULL == GLH_CORE_1_2_NAME(glBlendColor))
    01254             return FALSE;
    01255         GLH_CORE_1_2_NAME(glBlendEquation) = (PFNGLBLENDEQUATIONPROC)GLH_EXT_GET_PROC_ADDRESS("glBlendEquation");
    01256         if (NULL == GLH_CORE_1_2_NAME(glBlendEquation))
    01257             return FALSE;
    01258         GLH_CORE_1_2_NAME(glDrawRangeElements) = (PFNGLDRAWRANGEELEMENTSPROC)GLH_EXT_GET_PROC_ADDRESS("glDrawRangeElements");
    01259         if (NULL == GLH_CORE_1_2_NAME(glDrawRangeElements))
    01260             return FALSE;
    01261         GLH_CORE_1_2_NAME(glColorTable) = (PFNGLCOLORTABLEPROC)GLH_EXT_GET_PROC_ADDRESS("glColorTable");
    01262         if (NULL == GLH_CORE_1_2_NAME(glColorTable))
    01263             return FALSE;
    01264         GLH_CORE_1_2_NAME(glColorTableParameterfv) = (PFNGLCOLORTABLEPARAMETERFVPROC)GLH_EXT_GET_PROC_ADDRESS("glColorTableParameterfv");
    01265         if (NULL == GLH_CORE_1_2_NAME(glColorTableParameterfv))
    01266             return FALSE;
    01267         GLH_CORE_1_2_NAME(glColorTableParameteriv) = (PFNGLCOLORTABLEPARAMETERIVPROC)GLH_EXT_GET_PROC_ADDRESS("glColorTableParameteriv");
    01268         if (NULL == GLH_CORE_1_2_NAME(glColorTableParameteriv))
    01269             return FALSE;
    01270         GLH_CORE_1_2_NAME(glCopyColorTable) = (PFNGLCOPYCOLORTABLEPROC)GLH_EXT_GET_PROC_ADDRESS("glCopyColorTable");
    01271         if (NULL == GLH_CORE_1_2_NAME(glCopyColorTable))
    01272             return FALSE;
    01273         GLH_CORE_1_2_NAME(glGetColorTable) = (PFNGLGETCOLORTABLEPROC)GLH_EXT_GET_PROC_ADDRESS("glGetColorTable");
    01274         if (NULL == GLH_CORE_1_2_NAME(glGetColorTable))
    01275             return FALSE;
    01276         GLH_CORE_1_2_NAME(glGetColorTableParameterfv) = (PFNGLGETCOLORTABLEPARAMETERFVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetColorTableParameterfv");
    01277         if (NULL == GLH_CORE_1_2_NAME(glGetColorTableParameterfv))
    01278             return FALSE;
    01279         GLH_CORE_1_2_NAME(glGetColorTableParameteriv) = (PFNGLGETCOLORTABLEPARAMETERIVPROC)GLH_EXT_GET_PROC_ADDRESS("glGetColorTableParameteriv");
    01280         if (NULL == GLH_CORE_1_2_NAME(glGetColorTableParameteriv))
    01281             return FALSE;
    01282         GLH_CORE_1_2_NAME(glTexImage3D) = (PFNGLTEXIMAGE3DPROC)GLH_EXT_GET_PROC_ADDRESS("glTexImage3D");
    01283         if (NULL == GLH_CORE_1_2_NAME(glTexImage3D))
    01284             return FALSE;
    01285         GLH_CORE_1_2_NAME(glTexSubImage3D) = (PFNGLTEXSUBIMAGE3DPROC)GLH_EXT_GET_PROC_ADDRESS("glTexSubImage3D");
    01286         if (NULL == GLH_CORE_1_2_NAME(glTexSubImage3D))
    01287             return FALSE;
    01288         GLH_CORE_1_2_NAME(glCopyTexSubImage3D) = (PFNGLCOPYTEXSUBIMAGE3DPROC)GLH_EXT_GET_PROC_ADDRESS("glCopyTexSubImage3D");
    01289         if (NULL == GLH_CORE_1_2_NAME(glCopyTexSubImage3D))
    01290             return FALSE;
    01291 #endif
    01292
    01293 #ifdef GL_WIN_swap_hint
    01294     } else if (0 == strcmp(extension, "GL_WIN_swap_hint")) {
    01295         GLH_EXT_NAME(glAddSwapHintRectWIN) = (PFNGLADDSWAPHINTRECTWINPROC)GLH_EXT_GET_PROC_ADDRESS("glAddSwapHintRectWIN");
    01296         if (NULL == GLH_EXT_NAME(glAddSwapHintRectWIN))
    01297             return FALSE;
    01298 #endif
    01299
    01300 #ifdef WGL_ARB_pbuffer
    01301     } else if (0 == strcmp(extension, "WGL_ARB_pbuffer")) {
    01302 # ifdef _WIN32
    01303         GLH_EXT_NAME(wglCreatePbufferARB) = (PFNWGLCREATEPBUFFERARBPROC)GLH_EXT_GET_PROC_ADDRESS("wglCreatePbufferARB");
    01304         if (NULL == GLH_EXT_NAME(wglCreatePbufferARB))
    01305             return FALSE;
    01306 # endif
    01307 # ifdef _WIN32
    01308         GLH_EXT_NAME(wglGetPbufferDCARB) = (PFNWGLGETPBUFFERDCARBPROC)GLH_EXT_GET_PROC_ADDRESS("wglGetPbufferDCARB");
    01309         if (NULL == GLH_EXT_NAME(wglGetPbufferDCARB))
    01310             return FALSE;
    01311 # endif
    01312 # ifdef _WIN32
    01313         GLH_EXT_NAME(wglReleasePbufferDCARB) = (PFNWGLRELEASEPBUFFERDCARBPROC)GLH_EXT_GET_PROC_ADDRESS("wglReleasePbufferDCARB");
    01314         if (NULL == GLH_EXT_NAME(wglReleasePbufferDCARB))
    01315             return FALSE;
    01316 # endif
    01317 # ifdef _WIN32
    01318         GLH_EXT_NAME(wglDestroyPbufferARB) = (PFNWGLDESTROYPBUFFERARBPROC)GLH_EXT_GET_PROC_ADDRESS("wglDestroyPbufferARB");
    01319         if (NULL == GLH_EXT_NAME(wglDestroyPbufferARB))
    01320             return FALSE;
    01321 # endif
    01322 # ifdef _WIN32
    01323         GLH_EXT_NAME(wglQueryPbufferARB) = (PFNWGLQUERYPBUFFERARBPROC)GLH_EXT_GET_PROC_ADDRESS("wglQueryPbufferARB");
    01324         if (NULL == GLH_EXT_NAME(wglQueryPbufferARB))
    01325             return FALSE;
    01326 # endif
    01327 #endif
    01328
    01329 #ifdef WGL_ARB_pixel_format
    01330     } else if (0 == strcmp(extension, "WGL_ARB_pixel_format")) {
    01331 # ifdef _WIN32
    01332         GLH_EXT_NAME(wglGetPixelFormatAttribivARB) = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)GLH_EXT_GET_PROC_ADDRESS("wglGetPixelFormatAttribivARB");
    01333         if (NULL == GLH_EXT_NAME(wglGetPixelFormatAttribivARB))
    01334             return FALSE;
    01335 # endif
    01336 # ifdef _WIN32
    01337         GLH_EXT_NAME(wglGetPixelFormatAttribfvARB) = (PFNWGLGETPIXELFORMATATTRIBFVARBPROC)GLH_EXT_GET_PROC_ADDRESS("wglGetPixelFormatAttribfvARB");
    01338         if (NULL == GLH_EXT_NAME(wglGetPixelFormatAttribfvARB))
    01339             return FALSE;
    01340 # endif
    01341 # ifdef _WIN32
    01342         GLH_EXT_NAME(wglChoosePixelFormatARB) = (PFNWGLCHOOSEPIXELFORMATARBPROC)GLH_EXT_GET_PROC_ADDRESS("wglChoosePixelFormatARB");
    01343         if (NULL == GLH_EXT_NAME(wglChoosePixelFormatARB))
    01344             return FALSE;
    01345 # endif
    01346 #endif
    01347
    01348     } else {
    01349         return FALSE;
    01350     }
    01351     return TRUE;
    01352 }
    01353 #endif
    01354
    01355 #undef GLH_EXT_SINGLE_FILE
    01356
    01357 #endif /* GLH_GENEXT_H */