Max 5 API Reference
00001 /* 00002 ** GLprocs utility for getting function addresses for OpenGL(R) 1.2, 00003 ** OpenGL 1.3, OpenGL 1.4, OpenGL 1.5 and OpenGL extension functions. 00004 ** 00005 ** Version: 1.1 00006 ** 00007 ** License Applicability. Except to the extent portions of this file are 00008 ** made subject to an alternative license as permitted in the SGI Free 00009 ** Software License B, Version 1.1 (the "License"), the contents of this 00010 ** file are subject only to the provisions of the License. You may not use 00011 ** this file except in compliance with the License. You may obtain a copy 00012 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 00013 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: 00014 ** 00015 ** http://oss.sgi.com/projects/FreeB 00016 ** 00017 ** Note that, as provided in the License, the Software is distributed on an 00018 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS 00019 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND 00020 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A 00021 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. 00022 ** 00023 ** Original Code. The Original Code is: OpenGL Sample Implementation, 00024 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, 00025 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. 00026 ** Copyright in any portions created by third parties is as indicated 00027 ** elsewhere herein. All Rights Reserved. 00028 ** 00029 ** Additional Notice Provisions: This software was created using the 00030 ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has 00031 ** not been independently verified as being compliant with the OpenGL(R) 00032 ** version 1.2.1 Specification. 00033 ** 00034 ** Initial version of glprocs.{c,h} contributed by Intel(R) Corporation. 00035 */ 00036 00037 #include "jit.gl.h" 00038 #include "jit.gl.procs.h" 00039 00040 #define _ASSERT(a) error("jit.gl: invalid extension called") 00041 00042 00043 00044 /* 00045 * Retrieval function for getting the current proc table from 00046 * the global context. 00047 * 00048 * TODO: thread local proc/context dependent proc table? 00049 */ 00050 t_jit_gl_extprocs *_jit_gl_get_proctable(void) 00051 { 00052 t_jit_gl_context ctx; 00053 ctx = jit_gl_get_context(); 00054 if (ctx && ctx->procs) 00055 return ctx->procs; 00056 else { 00057 extern t_jit_gl_extprocs _jit_gl_extension_procs; 00058 error("trying to use glproctable while either context or proctable is invalid. using global proctable"); 00059 return &_jit_gl_extension_procs; 00060 } 00061 /* 00062 The following can be used for a single context: 00063 00064 extern t_jit_gl_extprocs _jit_gl_extension_procs; 00065 return (&_jit_gl_extension_procs); 00066 */ 00067 } 00068 00069 /* NOTE: 00070 * 00071 * The following Init* functions use glGetProcAddress the first 00072 * time they're called, and replace the Init function from the 00073 * proc table with the real extension proc. So each subsequent 00074 * call directly uses the address of the function ptr and these 00075 * Init functions are no longer registered in the proc table. 00076 * 00077 * -[dg] 00078 */ 00079 00080 static void APIENTRY InitBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) 00081 { 00082 void *extproc; 00083 00084 extproc = (void *) glGetProcAddress("glBlendColor"); 00085 00086 if (extproc == NULL) { 00087 _ASSERT(0); 00088 return; 00089 } 00090 00091 glBlendColor = extproc; 00092 00093 glBlendColor(red, green, blue, alpha); 00094 } 00095 00096 static void APIENTRY InitBlendEquation (GLenum mode) 00097 { 00098 void *extproc; 00099 00100 extproc = (void *) glGetProcAddress("glBlendEquation"); 00101 00102 if (extproc == NULL) { 00103 _ASSERT(0); 00104 return; 00105 } 00106 00107 glBlendEquation = extproc; 00108 00109 glBlendEquation(mode); 00110 } 00111 00112 static void APIENTRY InitDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) 00113 { 00114 void *extproc; 00115 00116 extproc = (void *) glGetProcAddress("glDrawRangeElements"); 00117 00118 if (extproc == NULL) { 00119 _ASSERT(0); 00120 return; 00121 } 00122 00123 glDrawRangeElements = extproc; 00124 00125 glDrawRangeElements(mode, start, end, count, type, indices); 00126 } 00127 00128 static void APIENTRY InitColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) 00129 { 00130 void *extproc; 00131 00132 extproc = (void *) glGetProcAddress("glColorTable"); 00133 00134 if (extproc == NULL) { 00135 _ASSERT(0); 00136 return; 00137 } 00138 00139 glColorTable = extproc; 00140 00141 glColorTable(target, internalformat, width, format, type, table); 00142 } 00143 00144 static void APIENTRY InitColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params) 00145 { 00146 void *extproc; 00147 00148 extproc = (void *) glGetProcAddress("glColorTableParameterfv"); 00149 00150 if (extproc == NULL) { 00151 _ASSERT(0); 00152 return; 00153 } 00154 00155 glColorTableParameterfv = extproc; 00156 00157 glColorTableParameterfv(target, pname, params); 00158 } 00159 00160 static void APIENTRY InitColorTableParameteriv (GLenum target, GLenum pname, const GLint *params) 00161 { 00162 void *extproc; 00163 00164 extproc = (void *) glGetProcAddress("glColorTableParameteriv"); 00165 00166 if (extproc == NULL) { 00167 _ASSERT(0); 00168 return; 00169 } 00170 00171 glColorTableParameteriv = extproc; 00172 00173 glColorTableParameteriv(target, pname, params); 00174 } 00175 00176 static void APIENTRY InitCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) 00177 { 00178 void *extproc; 00179 00180 extproc = (void *) glGetProcAddress("glCopyColorTable"); 00181 00182 if (extproc == NULL) { 00183 _ASSERT(0); 00184 return; 00185 } 00186 00187 glCopyColorTable = extproc; 00188 00189 glCopyColorTable(target, internalformat, x, y, width); 00190 } 00191 00192 static void APIENTRY InitGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table) 00193 { 00194 void *extproc; 00195 00196 extproc = (void *) glGetProcAddress("glGetColorTable"); 00197 00198 if (extproc == NULL) { 00199 _ASSERT(0); 00200 return; 00201 } 00202 00203 glGetColorTable = extproc; 00204 00205 glGetColorTable(target, format, type, table); 00206 } 00207 00208 static void APIENTRY InitGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params) 00209 { 00210 void *extproc; 00211 00212 extproc = (void *) glGetProcAddress("glGetColorTableParameterfv"); 00213 00214 if (extproc == NULL) { 00215 _ASSERT(0); 00216 return; 00217 } 00218 00219 glGetColorTableParameterfv = extproc; 00220 00221 glGetColorTableParameterfv(target, pname, params); 00222 } 00223 00224 static void APIENTRY InitGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params) 00225 { 00226 void *extproc; 00227 00228 extproc = (void *) glGetProcAddress("glGetColorTableParameteriv"); 00229 00230 if (extproc == NULL) { 00231 _ASSERT(0); 00232 return; 00233 } 00234 00235 glGetColorTableParameteriv = extproc; 00236 00237 glGetColorTableParameteriv(target, pname, params); 00238 } 00239 00240 static void APIENTRY InitColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) 00241 { 00242 void *extproc; 00243 00244 extproc = (void *) glGetProcAddress("glColorSubTable"); 00245 00246 if (extproc == NULL) { 00247 _ASSERT(0); 00248 return; 00249 } 00250 00251 glColorSubTable = extproc; 00252 00253 glColorSubTable(target, start, count, format, type, data); 00254 } 00255 00256 static void APIENTRY InitCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) 00257 { 00258 void *extproc; 00259 00260 extproc = (void *) glGetProcAddress("glCopyColorSubTable"); 00261 00262 if (extproc == NULL) { 00263 _ASSERT(0); 00264 return; 00265 } 00266 00267 glCopyColorSubTable = extproc; 00268 00269 glCopyColorSubTable(target, start, x, y, width); 00270 } 00271 00272 static void APIENTRY InitConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) 00273 { 00274 void *extproc; 00275 00276 extproc = (void *) glGetProcAddress("glConvolutionFilter1D"); 00277 00278 if (extproc == NULL) { 00279 _ASSERT(0); 00280 return; 00281 } 00282 00283 glConvolutionFilter1D = extproc; 00284 00285 glConvolutionFilter1D(target, internalformat, width, format, type, image); 00286 } 00287 00288 static void APIENTRY InitConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) 00289 { 00290 void *extproc; 00291 00292 extproc = (void *) glGetProcAddress("glConvolutionFilter2D"); 00293 00294 if (extproc == NULL) { 00295 _ASSERT(0); 00296 return; 00297 } 00298 00299 glConvolutionFilter2D = extproc; 00300 00301 glConvolutionFilter2D(target, internalformat, width, height, format, type, image); 00302 } 00303 00304 static void APIENTRY InitConvolutionParameterf (GLenum target, GLenum pname, GLfloat params) 00305 { 00306 void *extproc; 00307 00308 extproc = (void *) glGetProcAddress("glConvolutionParameterf"); 00309 00310 if (extproc == NULL) { 00311 _ASSERT(0); 00312 return; 00313 } 00314 00315 glConvolutionParameterf = extproc; 00316 00317 glConvolutionParameterf(target, pname, params); 00318 } 00319 00320 static void APIENTRY InitConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params) 00321 { 00322 void *extproc; 00323 00324 extproc = (void *) glGetProcAddress("glConvolutionParameterfv"); 00325 00326 if (extproc == NULL) { 00327 _ASSERT(0); 00328 return; 00329 } 00330 00331 glConvolutionParameterfv = extproc; 00332 00333 glConvolutionParameterfv(target, pname, params); 00334 } 00335 00336 static void APIENTRY InitConvolutionParameteri (GLenum target, GLenum pname, GLint params) 00337 { 00338 void *extproc; 00339 00340 extproc = (void *) glGetProcAddress("glConvolutionParameteri"); 00341 00342 if (extproc == NULL) { 00343 _ASSERT(0); 00344 return; 00345 } 00346 00347 glConvolutionParameteri = extproc; 00348 00349 glConvolutionParameteri(target, pname, params); 00350 } 00351 00352 static void APIENTRY InitConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params) 00353 { 00354 void *extproc; 00355 00356 extproc = (void *) glGetProcAddress("glConvolutionParameteriv"); 00357 00358 if (extproc == NULL) { 00359 _ASSERT(0); 00360 return; 00361 } 00362 00363 glConvolutionParameteriv = extproc; 00364 00365 glConvolutionParameteriv(target, pname, params); 00366 } 00367 00368 static void APIENTRY InitCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) 00369 { 00370 void *extproc; 00371 00372 extproc = (void *) glGetProcAddress("glCopyConvolutionFilter1D"); 00373 00374 if (extproc == NULL) { 00375 _ASSERT(0); 00376 return; 00377 } 00378 00379 glCopyConvolutionFilter1D = extproc; 00380 00381 glCopyConvolutionFilter1D(target, internalformat, x, y, width); 00382 } 00383 00384 static void APIENTRY InitCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) 00385 { 00386 void *extproc; 00387 00388 extproc = (void *) glGetProcAddress("glCopyConvolutionFilter2D"); 00389 00390 if (extproc == NULL) { 00391 _ASSERT(0); 00392 return; 00393 } 00394 00395 glCopyConvolutionFilter2D = extproc; 00396 00397 glCopyConvolutionFilter2D(target, internalformat, x, y, width, height); 00398 } 00399 00400 static void APIENTRY InitGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image) 00401 { 00402 void *extproc; 00403 00404 extproc = (void *) glGetProcAddress("glGetConvolutionFilter"); 00405 00406 if (extproc == NULL) { 00407 _ASSERT(0); 00408 return; 00409 } 00410 00411 glGetConvolutionFilter = extproc; 00412 00413 glGetConvolutionFilter(target, format, type, image); 00414 } 00415 00416 static void APIENTRY InitGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params) 00417 { 00418 void *extproc; 00419 00420 extproc = (void *) glGetProcAddress("glGetConvolutionParameterfv"); 00421 00422 if (extproc == NULL) { 00423 _ASSERT(0); 00424 return; 00425 } 00426 00427 glGetConvolutionParameterfv = extproc; 00428 00429 glGetConvolutionParameterfv(target, pname, params); 00430 } 00431 00432 static void APIENTRY InitGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params) 00433 { 00434 void *extproc; 00435 00436 extproc = (void *) glGetProcAddress("glGetConvolutionParameteriv"); 00437 00438 if (extproc == NULL) { 00439 _ASSERT(0); 00440 return; 00441 } 00442 00443 glGetConvolutionParameteriv = extproc; 00444 00445 glGetConvolutionParameteriv(target, pname, params); 00446 } 00447 00448 static void APIENTRY InitGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) 00449 { 00450 void *extproc; 00451 00452 extproc = (void *) glGetProcAddress("glGetSeparableFilter"); 00453 00454 if (extproc == NULL) { 00455 _ASSERT(0); 00456 return; 00457 } 00458 00459 glGetSeparableFilter = extproc; 00460 00461 glGetSeparableFilter(target, format, type, row, column, span); 00462 } 00463 00464 static void APIENTRY InitSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) 00465 { 00466 void *extproc; 00467 00468 extproc = (void *) glGetProcAddress("glSeparableFilter2D"); 00469 00470 if (extproc == NULL) { 00471 _ASSERT(0); 00472 return; 00473 } 00474 00475 glSeparableFilter2D = extproc; 00476 00477 glSeparableFilter2D(target, internalformat, width, height, format, type, row, column); 00478 } 00479 00480 static void APIENTRY InitGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) 00481 { 00482 void *extproc; 00483 00484 extproc = (void *) glGetProcAddress("glGetHistogram"); 00485 00486 if (extproc == NULL) { 00487 _ASSERT(0); 00488 return; 00489 } 00490 00491 glGetHistogram = extproc; 00492 00493 glGetHistogram(target, reset, format, type, values); 00494 } 00495 00496 static void APIENTRY InitGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params) 00497 { 00498 void *extproc; 00499 00500 extproc = (void *) glGetProcAddress("glGetHistogramParameterfv"); 00501 00502 if (extproc == NULL) { 00503 _ASSERT(0); 00504 return; 00505 } 00506 00507 glGetHistogramParameterfv = extproc; 00508 00509 glGetHistogramParameterfv(target, pname, params); 00510 } 00511 00512 static void APIENTRY InitGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params) 00513 { 00514 void *extproc; 00515 00516 extproc = (void *) glGetProcAddress("glGetHistogramParameteriv"); 00517 00518 if (extproc == NULL) { 00519 _ASSERT(0); 00520 return; 00521 } 00522 00523 glGetHistogramParameteriv = extproc; 00524 00525 glGetHistogramParameteriv(target, pname, params); 00526 } 00527 00528 static void APIENTRY InitGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) 00529 { 00530 void *extproc; 00531 00532 extproc = (void *) glGetProcAddress("glGetMinmax"); 00533 00534 if (extproc == NULL) { 00535 _ASSERT(0); 00536 return; 00537 } 00538 00539 glGetMinmax = extproc; 00540 00541 glGetMinmax(target, reset, format, type, values); 00542 } 00543 00544 static void APIENTRY InitGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params) 00545 { 00546 void *extproc; 00547 00548 extproc = (void *) glGetProcAddress("glGetMinmaxParameterfv"); 00549 00550 if (extproc == NULL) { 00551 _ASSERT(0); 00552 return; 00553 } 00554 00555 glGetMinmaxParameterfv = extproc; 00556 00557 glGetMinmaxParameterfv(target, pname, params); 00558 } 00559 00560 static void APIENTRY InitGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params) 00561 { 00562 void *extproc; 00563 00564 extproc = (void *) glGetProcAddress("glGetMinmaxParameteriv"); 00565 00566 if (extproc == NULL) { 00567 _ASSERT(0); 00568 return; 00569 } 00570 00571 glGetMinmaxParameteriv = extproc; 00572 00573 glGetMinmaxParameteriv(target, pname, params); 00574 } 00575 00576 static void APIENTRY InitHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) 00577 { 00578 void *extproc; 00579 00580 extproc = (void *) glGetProcAddress("glHistogram"); 00581 00582 if (extproc == NULL) { 00583 _ASSERT(0); 00584 return; 00585 } 00586 00587 glHistogram = extproc; 00588 00589 glHistogram(target, width, internalformat, sink); 00590 } 00591 00592 static void APIENTRY InitMinmax (GLenum target, GLenum internalformat, GLboolean sink) 00593 { 00594 void *extproc; 00595 00596 extproc = (void *) glGetProcAddress("glMinmax"); 00597 00598 if (extproc == NULL) { 00599 _ASSERT(0); 00600 return; 00601 } 00602 00603 glMinmax = extproc; 00604 00605 glMinmax(target, internalformat, sink); 00606 } 00607 00608 static void APIENTRY InitResetHistogram (GLenum target) 00609 { 00610 void *extproc; 00611 00612 extproc = (void *) glGetProcAddress("glResetHistogram"); 00613 00614 if (extproc == NULL) { 00615 _ASSERT(0); 00616 return; 00617 } 00618 00619 glResetHistogram = extproc; 00620 00621 glResetHistogram(target); 00622 } 00623 00624 static void APIENTRY InitResetMinmax (GLenum target) 00625 { 00626 void *extproc; 00627 00628 extproc = (void *) glGetProcAddress("glResetMinmax"); 00629 00630 if (extproc == NULL) { 00631 _ASSERT(0); 00632 return; 00633 } 00634 00635 glResetMinmax = extproc; 00636 00637 glResetMinmax(target); 00638 } 00639 00640 static void APIENTRY InitTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) 00641 { 00642 void *extproc; 00643 00644 extproc = (void *) glGetProcAddress("glTexImage3D"); 00645 00646 if (extproc == NULL) { 00647 _ASSERT(0); 00648 return; 00649 } 00650 00651 glTexImage3D = extproc; 00652 00653 glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); 00654 } 00655 00656 static void APIENTRY InitTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) 00657 { 00658 void *extproc; 00659 00660 extproc = (void *) glGetProcAddress("glTexSubImage3D"); 00661 00662 if (extproc == NULL) { 00663 _ASSERT(0); 00664 return; 00665 } 00666 00667 glTexSubImage3D = extproc; 00668 00669 glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 00670 } 00671 00672 static void APIENTRY InitCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) 00673 { 00674 void *extproc; 00675 00676 extproc = (void *) glGetProcAddress("glCopyTexSubImage3D"); 00677 00678 if (extproc == NULL) { 00679 _ASSERT(0); 00680 return; 00681 } 00682 00683 glCopyTexSubImage3D = extproc; 00684 00685 glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); 00686 } 00687 00688 static void APIENTRY InitActiveTexture (GLenum texture) 00689 { 00690 void *extproc; 00691 00692 extproc = (void *) glGetProcAddress("glActiveTexture"); 00693 00694 if (extproc == NULL) { 00695 _ASSERT(0); 00696 return; 00697 } 00698 00699 glActiveTexture = extproc; 00700 00701 glActiveTexture(texture); 00702 } 00703 00704 static void APIENTRY InitClientActiveTexture (GLenum texture) 00705 { 00706 void *extproc; 00707 00708 extproc = (void *) glGetProcAddress("glClientActiveTexture"); 00709 00710 if (extproc == NULL) { 00711 _ASSERT(0); 00712 return; 00713 } 00714 00715 glClientActiveTexture = extproc; 00716 00717 glClientActiveTexture(texture); 00718 } 00719 00720 static void APIENTRY InitMultiTexCoord1d (GLenum target, GLdouble s) 00721 { 00722 void *extproc; 00723 00724 extproc = (void *) glGetProcAddress("glMultiTexCoord1d"); 00725 00726 if (extproc == NULL) { 00727 _ASSERT(0); 00728 return; 00729 } 00730 00731 glMultiTexCoord1d = extproc; 00732 00733 glMultiTexCoord1d(target, s); 00734 } 00735 00736 static void APIENTRY InitMultiTexCoord1dv (GLenum target, const GLdouble *v) 00737 { 00738 void *extproc; 00739 00740 extproc = (void *) glGetProcAddress("glMultiTexCoord1dv"); 00741 00742 if (extproc == NULL) { 00743 _ASSERT(0); 00744 return; 00745 } 00746 00747 glMultiTexCoord1dv = extproc; 00748 00749 glMultiTexCoord1dv(target, v); 00750 } 00751 00752 static void APIENTRY InitMultiTexCoord1f (GLenum target, GLfloat s) 00753 { 00754 void *extproc; 00755 00756 extproc = (void *) glGetProcAddress("glMultiTexCoord1f"); 00757 00758 if (extproc == NULL) { 00759 _ASSERT(0); 00760 return; 00761 } 00762 00763 glMultiTexCoord1f = extproc; 00764 00765 glMultiTexCoord1f(target, s); 00766 } 00767 00768 static void APIENTRY InitMultiTexCoord1fv (GLenum target, const GLfloat *v) 00769 { 00770 void *extproc; 00771 00772 extproc = (void *) glGetProcAddress("glMultiTexCoord1fv"); 00773 00774 if (extproc == NULL) { 00775 _ASSERT(0); 00776 return; 00777 } 00778 00779 glMultiTexCoord1fv = extproc; 00780 00781 glMultiTexCoord1fv(target, v); 00782 } 00783 00784 static void APIENTRY InitMultiTexCoord1i (GLenum target, GLint s) 00785 { 00786 void *extproc; 00787 00788 extproc = (void *) glGetProcAddress("glMultiTexCoord1i"); 00789 00790 if (extproc == NULL) { 00791 _ASSERT(0); 00792 return; 00793 } 00794 00795 glMultiTexCoord1i = extproc; 00796 00797 glMultiTexCoord1i(target, s); 00798 } 00799 00800 static void APIENTRY InitMultiTexCoord1iv (GLenum target, const GLint *v) 00801 { 00802 void *extproc; 00803 00804 extproc = (void *) glGetProcAddress("glMultiTexCoord1iv"); 00805 00806 if (extproc == NULL) { 00807 _ASSERT(0); 00808 return; 00809 } 00810 00811 glMultiTexCoord1iv = extproc; 00812 00813 glMultiTexCoord1iv(target, v); 00814 } 00815 00816 static void APIENTRY InitMultiTexCoord1s (GLenum target, GLshort s) 00817 { 00818 void *extproc; 00819 00820 extproc = (void *) glGetProcAddress("glMultiTexCoord1s"); 00821 00822 if (extproc == NULL) { 00823 _ASSERT(0); 00824 return; 00825 } 00826 00827 glMultiTexCoord1s = extproc; 00828 00829 glMultiTexCoord1s(target, s); 00830 } 00831 00832 static void APIENTRY InitMultiTexCoord1sv (GLenum target, const GLshort *v) 00833 { 00834 void *extproc; 00835 00836 extproc = (void *) glGetProcAddress("glMultiTexCoord1sv"); 00837 00838 if (extproc == NULL) { 00839 _ASSERT(0); 00840 return; 00841 } 00842 00843 glMultiTexCoord1sv = extproc; 00844 00845 glMultiTexCoord1sv(target, v); 00846 } 00847 00848 static void APIENTRY InitMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t) 00849 { 00850 void *extproc; 00851 00852 extproc = (void *) glGetProcAddress("glMultiTexCoord2d"); 00853 00854 if (extproc == NULL) { 00855 _ASSERT(0); 00856 return; 00857 } 00858 00859 glMultiTexCoord2d = extproc; 00860 00861 glMultiTexCoord2d(target, s, t); 00862 } 00863 00864 static void APIENTRY InitMultiTexCoord2dv (GLenum target, const GLdouble *v) 00865 { 00866 void *extproc; 00867 00868 extproc = (void *) glGetProcAddress("glMultiTexCoord2dv"); 00869 00870 if (extproc == NULL) { 00871 _ASSERT(0); 00872 return; 00873 } 00874 00875 glMultiTexCoord2dv = extproc; 00876 00877 glMultiTexCoord2dv(target, v); 00878 } 00879 00880 static void APIENTRY InitMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t) 00881 { 00882 void *extproc; 00883 00884 extproc = (void *) glGetProcAddress("glMultiTexCoord2f"); 00885 00886 if (extproc == NULL) { 00887 _ASSERT(0); 00888 return; 00889 } 00890 00891 glMultiTexCoord2f = extproc; 00892 00893 glMultiTexCoord2f(target, s, t); 00894 } 00895 00896 static void APIENTRY InitMultiTexCoord2fv (GLenum target, const GLfloat *v) 00897 { 00898 void *extproc; 00899 00900 extproc = (void *) glGetProcAddress("glMultiTexCoord2fv"); 00901 00902 if (extproc == NULL) { 00903 _ASSERT(0); 00904 return; 00905 } 00906 00907 glMultiTexCoord2fv = extproc; 00908 00909 glMultiTexCoord2fv(target, v); 00910 } 00911 00912 static void APIENTRY InitMultiTexCoord2i (GLenum target, GLint s, GLint t) 00913 { 00914 void *extproc; 00915 00916 extproc = (void *) glGetProcAddress("glMultiTexCoord2i"); 00917 00918 if (extproc == NULL) { 00919 _ASSERT(0); 00920 return; 00921 } 00922 00923 glMultiTexCoord2i = extproc; 00924 00925 glMultiTexCoord2i(target, s, t); 00926 } 00927 00928 static void APIENTRY InitMultiTexCoord2iv (GLenum target, const GLint *v) 00929 { 00930 void *extproc; 00931 00932 extproc = (void *) glGetProcAddress("glMultiTexCoord2iv"); 00933 00934 if (extproc == NULL) { 00935 _ASSERT(0); 00936 return; 00937 } 00938 00939 glMultiTexCoord2iv = extproc; 00940 00941 glMultiTexCoord2iv(target, v); 00942 } 00943 00944 static void APIENTRY InitMultiTexCoord2s (GLenum target, GLshort s, GLshort t) 00945 { 00946 void *extproc; 00947 00948 extproc = (void *) glGetProcAddress("glMultiTexCoord2s"); 00949 00950 if (extproc == NULL) { 00951 _ASSERT(0); 00952 return; 00953 } 00954 00955 glMultiTexCoord2s = extproc; 00956 00957 glMultiTexCoord2s(target, s, t); 00958 } 00959 00960 static void APIENTRY InitMultiTexCoord2sv (GLenum target, const GLshort *v) 00961 { 00962 void *extproc; 00963 00964 extproc = (void *) glGetProcAddress("glMultiTexCoord2sv"); 00965 00966 if (extproc == NULL) { 00967 _ASSERT(0); 00968 return; 00969 } 00970 00971 glMultiTexCoord2sv = extproc; 00972 00973 glMultiTexCoord2sv(target, v); 00974 } 00975 00976 static void APIENTRY InitMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r) 00977 { 00978 void *extproc; 00979 00980 extproc = (void *) glGetProcAddress("glMultiTexCoord3d"); 00981 00982 if (extproc == NULL) { 00983 _ASSERT(0); 00984 return; 00985 } 00986 00987 glMultiTexCoord3d = extproc; 00988 00989 glMultiTexCoord3d(target, s, t, r); 00990 } 00991 00992 static void APIENTRY InitMultiTexCoord3dv (GLenum target, const GLdouble *v) 00993 { 00994 void *extproc; 00995 00996 extproc = (void *) glGetProcAddress("glMultiTexCoord3dv"); 00997 00998 if (extproc == NULL) { 00999 _ASSERT(0); 01000 return; 01001 } 01002 01003 glMultiTexCoord3dv = extproc; 01004 01005 glMultiTexCoord3dv(target, v); 01006 } 01007 01008 static void APIENTRY InitMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r) 01009 { 01010 void *extproc; 01011 01012 extproc = (void *) glGetProcAddress("glMultiTexCoord3f"); 01013 01014 if (extproc == NULL) { 01015 _ASSERT(0); 01016 return; 01017 } 01018 01019 glMultiTexCoord3f = extproc; 01020 01021 glMultiTexCoord3f(target, s, t, r); 01022 } 01023 01024 static void APIENTRY InitMultiTexCoord3fv (GLenum target, const GLfloat *v) 01025 { 01026 void *extproc; 01027 01028 extproc = (void *) glGetProcAddress("glMultiTexCoord3fv"); 01029 01030 if (extproc == NULL) { 01031 _ASSERT(0); 01032 return; 01033 } 01034 01035 glMultiTexCoord3fv = extproc; 01036 01037 glMultiTexCoord3fv(target, v); 01038 } 01039 01040 static void APIENTRY InitMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r) 01041 { 01042 void *extproc; 01043 01044 extproc = (void *) glGetProcAddress("glMultiTexCoord3i"); 01045 01046 if (extproc == NULL) { 01047 _ASSERT(0); 01048 return; 01049 } 01050 01051 glMultiTexCoord3i = extproc; 01052 01053 glMultiTexCoord3i(target, s, t, r); 01054 } 01055 01056 static void APIENTRY InitMultiTexCoord3iv (GLenum target, const GLint *v) 01057 { 01058 void *extproc; 01059 01060 extproc = (void *) glGetProcAddress("glMultiTexCoord3iv"); 01061 01062 if (extproc == NULL) { 01063 _ASSERT(0); 01064 return; 01065 } 01066 01067 glMultiTexCoord3iv = extproc; 01068 01069 glMultiTexCoord3iv(target, v); 01070 } 01071 01072 static void APIENTRY InitMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r) 01073 { 01074 void *extproc; 01075 01076 extproc = (void *) glGetProcAddress("glMultiTexCoord3s"); 01077 01078 if (extproc == NULL) { 01079 _ASSERT(0); 01080 return; 01081 } 01082 01083 glMultiTexCoord3s = extproc; 01084 01085 glMultiTexCoord3s(target, s, t, r); 01086 } 01087 01088 static void APIENTRY InitMultiTexCoord3sv (GLenum target, const GLshort *v) 01089 { 01090 void *extproc; 01091 01092 extproc = (void *) glGetProcAddress("glMultiTexCoord3sv"); 01093 01094 if (extproc == NULL) { 01095 _ASSERT(0); 01096 return; 01097 } 01098 01099 glMultiTexCoord3sv = extproc; 01100 01101 glMultiTexCoord3sv(target, v); 01102 } 01103 01104 static void APIENTRY InitMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) 01105 { 01106 void *extproc; 01107 01108 extproc = (void *) glGetProcAddress("glMultiTexCoord4d"); 01109 01110 if (extproc == NULL) { 01111 _ASSERT(0); 01112 return; 01113 } 01114 01115 glMultiTexCoord4d = extproc; 01116 01117 glMultiTexCoord4d(target, s, t, r, q); 01118 } 01119 01120 static void APIENTRY InitMultiTexCoord4dv (GLenum target, const GLdouble *v) 01121 { 01122 void *extproc; 01123 01124 extproc = (void *) glGetProcAddress("glMultiTexCoord4dv"); 01125 01126 if (extproc == NULL) { 01127 _ASSERT(0); 01128 return; 01129 } 01130 01131 glMultiTexCoord4dv = extproc; 01132 01133 glMultiTexCoord4dv(target, v); 01134 } 01135 01136 static void APIENTRY InitMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) 01137 { 01138 void *extproc; 01139 01140 extproc = (void *) glGetProcAddress("glMultiTexCoord4f"); 01141 01142 if (extproc == NULL) { 01143 _ASSERT(0); 01144 return; 01145 } 01146 01147 glMultiTexCoord4f = extproc; 01148 01149 glMultiTexCoord4f(target, s, t, r, q); 01150 } 01151 01152 static void APIENTRY InitMultiTexCoord4fv (GLenum target, const GLfloat *v) 01153 { 01154 void *extproc; 01155 01156 extproc = (void *) glGetProcAddress("glMultiTexCoord4fv"); 01157 01158 if (extproc == NULL) { 01159 _ASSERT(0); 01160 return; 01161 } 01162 01163 glMultiTexCoord4fv = extproc; 01164 01165 glMultiTexCoord4fv(target, v); 01166 } 01167 01168 static void APIENTRY InitMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q) 01169 { 01170 void *extproc; 01171 01172 extproc = (void *) glGetProcAddress("glMultiTexCoord4i"); 01173 01174 if (extproc == NULL) { 01175 _ASSERT(0); 01176 return; 01177 } 01178 01179 glMultiTexCoord4i = extproc; 01180 01181 glMultiTexCoord4i(target, s, t, r, q); 01182 } 01183 01184 static void APIENTRY InitMultiTexCoord4iv (GLenum target, const GLint *v) 01185 { 01186 void *extproc; 01187 01188 extproc = (void *) glGetProcAddress("glMultiTexCoord4iv"); 01189 01190 if (extproc == NULL) { 01191 _ASSERT(0); 01192 return; 01193 } 01194 01195 glMultiTexCoord4iv = extproc; 01196 01197 glMultiTexCoord4iv(target, v); 01198 } 01199 01200 static void APIENTRY InitMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) 01201 { 01202 void *extproc; 01203 01204 extproc = (void *) glGetProcAddress("glMultiTexCoord4s"); 01205 01206 if (extproc == NULL) { 01207 _ASSERT(0); 01208 return; 01209 } 01210 01211 glMultiTexCoord4s = extproc; 01212 01213 glMultiTexCoord4s(target, s, t, r, q); 01214 } 01215 01216 static void APIENTRY InitMultiTexCoord4sv (GLenum target, const GLshort *v) 01217 { 01218 void *extproc; 01219 01220 extproc = (void *) glGetProcAddress("glMultiTexCoord4sv"); 01221 01222 if (extproc == NULL) { 01223 _ASSERT(0); 01224 return; 01225 } 01226 01227 glMultiTexCoord4sv = extproc; 01228 01229 glMultiTexCoord4sv(target, v); 01230 } 01231 01232 static void APIENTRY InitLoadTransposeMatrixf (const GLfloat *m) 01233 { 01234 void *extproc; 01235 01236 extproc = (void *) glGetProcAddress("glLoadTransposeMatrixf"); 01237 01238 if (extproc == NULL) { 01239 _ASSERT(0); 01240 return; 01241 } 01242 01243 glLoadTransposeMatrixf = extproc; 01244 01245 glLoadTransposeMatrixf(m); 01246 } 01247 01248 static void APIENTRY InitLoadTransposeMatrixd (const GLdouble *m) 01249 { 01250 void *extproc; 01251 01252 extproc = (void *) glGetProcAddress("glLoadTransposeMatrixd"); 01253 01254 if (extproc == NULL) { 01255 _ASSERT(0); 01256 return; 01257 } 01258 01259 glLoadTransposeMatrixd = extproc; 01260 01261 glLoadTransposeMatrixd(m); 01262 } 01263 01264 static void APIENTRY InitMultTransposeMatrixf (const GLfloat *m) 01265 { 01266 void *extproc; 01267 01268 extproc = (void *) glGetProcAddress("glMultTransposeMatrixf"); 01269 01270 if (extproc == NULL) { 01271 _ASSERT(0); 01272 return; 01273 } 01274 01275 glMultTransposeMatrixf = extproc; 01276 01277 glMultTransposeMatrixf(m); 01278 } 01279 01280 static void APIENTRY InitMultTransposeMatrixd (const GLdouble *m) 01281 { 01282 void *extproc; 01283 01284 extproc = (void *) glGetProcAddress("glMultTransposeMatrixd"); 01285 01286 if (extproc == NULL) { 01287 _ASSERT(0); 01288 return; 01289 } 01290 01291 glMultTransposeMatrixd = extproc; 01292 01293 glMultTransposeMatrixd(m); 01294 } 01295 01296 static void APIENTRY InitSampleCoverage (GLclampf value, GLboolean invert) 01297 { 01298 void *extproc; 01299 01300 extproc = (void *) glGetProcAddress("glSampleCoverage"); 01301 01302 if (extproc == NULL) { 01303 _ASSERT(0); 01304 return; 01305 } 01306 01307 glSampleCoverage = extproc; 01308 01309 glSampleCoverage(value, invert); 01310 } 01311 01312 static void APIENTRY InitCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) 01313 { 01314 void *extproc; 01315 01316 extproc = (void *) glGetProcAddress("glCompressedTexImage3D"); 01317 01318 if (extproc == NULL) { 01319 _ASSERT(0); 01320 return; 01321 } 01322 01323 glCompressedTexImage3D = extproc; 01324 01325 glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); 01326 } 01327 01328 static void APIENTRY InitCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) 01329 { 01330 void *extproc; 01331 01332 extproc = (void *) glGetProcAddress("glCompressedTexImage2D"); 01333 01334 if (extproc == NULL) { 01335 _ASSERT(0); 01336 return; 01337 } 01338 01339 glCompressedTexImage2D = extproc; 01340 01341 glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); 01342 } 01343 01344 static void APIENTRY InitCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) 01345 { 01346 void *extproc; 01347 01348 extproc = (void *) glGetProcAddress("glCompressedTexImage1D"); 01349 01350 if (extproc == NULL) { 01351 _ASSERT(0); 01352 return; 01353 } 01354 01355 glCompressedTexImage1D = extproc; 01356 01357 glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); 01358 } 01359 01360 static void APIENTRY InitCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) 01361 { 01362 void *extproc; 01363 01364 extproc = (void *) glGetProcAddress("glCompressedTexSubImage3D"); 01365 01366 if (extproc == NULL) { 01367 _ASSERT(0); 01368 return; 01369 } 01370 01371 glCompressedTexSubImage3D = extproc; 01372 01373 glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 01374 } 01375 01376 static void APIENTRY InitCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) 01377 { 01378 void *extproc; 01379 01380 extproc = (void *) glGetProcAddress("glCompressedTexSubImage2D"); 01381 01382 if (extproc == NULL) { 01383 _ASSERT(0); 01384 return; 01385 } 01386 01387 glCompressedTexSubImage2D = extproc; 01388 01389 glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); 01390 } 01391 01392 static void APIENTRY InitCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) 01393 { 01394 void *extproc; 01395 01396 extproc = (void *) glGetProcAddress("glCompressedTexSubImage1D"); 01397 01398 if (extproc == NULL) { 01399 _ASSERT(0); 01400 return; 01401 } 01402 01403 glCompressedTexSubImage1D = extproc; 01404 01405 glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); 01406 } 01407 01408 static void APIENTRY InitGetCompressedTexImage (GLenum target, GLint level, GLvoid *img) 01409 { 01410 void *extproc; 01411 01412 extproc = (void *) glGetProcAddress("glGetCompressedTexImage"); 01413 01414 if (extproc == NULL) { 01415 _ASSERT(0); 01416 return; 01417 } 01418 01419 glGetCompressedTexImage = extproc; 01420 01421 glGetCompressedTexImage(target, level, img); 01422 } 01423 01424 static void APIENTRY InitBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) 01425 { 01426 void *extproc; 01427 01428 extproc = (void *) glGetProcAddress("glBlendFuncSeparate"); 01429 01430 if (extproc == NULL) { 01431 _ASSERT(0); 01432 return; 01433 } 01434 01435 glBlendFuncSeparate = extproc; 01436 01437 glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); 01438 } 01439 01440 static void APIENTRY InitFogCoordf (GLfloat coord) 01441 { 01442 void *extproc; 01443 01444 extproc = (void *) glGetProcAddress("glFogCoordf"); 01445 01446 if (extproc == NULL) { 01447 _ASSERT(0); 01448 return; 01449 } 01450 01451 glFogCoordf = extproc; 01452 01453 glFogCoordf(coord); 01454 } 01455 01456 static void APIENTRY InitFogCoordfv (const GLfloat *coord) 01457 { 01458 void *extproc; 01459 01460 extproc = (void *) glGetProcAddress("glFogCoordfv"); 01461 01462 if (extproc == NULL) { 01463 _ASSERT(0); 01464 return; 01465 } 01466 01467 glFogCoordfv = extproc; 01468 01469 glFogCoordfv(coord); 01470 } 01471 01472 static void APIENTRY InitFogCoordd (GLdouble coord) 01473 { 01474 void *extproc; 01475 01476 extproc = (void *) glGetProcAddress("glFogCoordd"); 01477 01478 if (extproc == NULL) { 01479 _ASSERT(0); 01480 return; 01481 } 01482 01483 glFogCoordd = extproc; 01484 01485 glFogCoordd(coord); 01486 } 01487 01488 static void APIENTRY InitFogCoorddv (const GLdouble *coord) 01489 { 01490 void *extproc; 01491 01492 extproc = (void *) glGetProcAddress("glFogCoorddv"); 01493 01494 if (extproc == NULL) { 01495 _ASSERT(0); 01496 return; 01497 } 01498 01499 glFogCoorddv = extproc; 01500 01501 glFogCoorddv(coord); 01502 } 01503 01504 static void APIENTRY InitFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer) 01505 { 01506 void *extproc; 01507 01508 extproc = (void *) glGetProcAddress("glFogCoordPointer"); 01509 01510 if (extproc == NULL) { 01511 _ASSERT(0); 01512 return; 01513 } 01514 01515 glFogCoordPointer = extproc; 01516 01517 glFogCoordPointer(type, stride, pointer); 01518 } 01519 01520 static void APIENTRY InitMultiDrawArrays (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) 01521 { 01522 void *extproc; 01523 01524 extproc = (void *) glGetProcAddress("glMultiDrawArrays"); 01525 01526 if (extproc == NULL) { 01527 _ASSERT(0); 01528 return; 01529 } 01530 01531 glMultiDrawArrays = extproc; 01532 01533 glMultiDrawArrays(mode, first, count, primcount); 01534 } 01535 01536 static void APIENTRY InitMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) 01537 { 01538 void *extproc; 01539 01540 extproc = (void *) glGetProcAddress("glMultiDrawElements"); 01541 01542 if (extproc == NULL) { 01543 _ASSERT(0); 01544 return; 01545 } 01546 01547 glMultiDrawElements = extproc; 01548 01549 glMultiDrawElements(mode, count, type, indices, primcount); 01550 } 01551 01552 static void APIENTRY InitPointParameterf (GLenum pname, GLfloat param) 01553 { 01554 void *extproc; 01555 01556 extproc = (void *) glGetProcAddress("glPointParameterf"); 01557 01558 if (extproc == NULL) { 01559 _ASSERT(0); 01560 return; 01561 } 01562 01563 glPointParameterf = extproc; 01564 01565 glPointParameterf(pname, param); 01566 } 01567 01568 static void APIENTRY InitPointParameterfv (GLenum pname, const GLfloat *params) 01569 { 01570 void *extproc; 01571 01572 extproc = (void *) glGetProcAddress("glPointParameterfv"); 01573 01574 if (extproc == NULL) { 01575 _ASSERT(0); 01576 return; 01577 } 01578 01579 glPointParameterfv = extproc; 01580 01581 glPointParameterfv(pname, params); 01582 } 01583 01584 static void APIENTRY InitPointParameteri (GLenum pname, GLint param) 01585 { 01586 void *extproc; 01587 01588 extproc = (void *) glGetProcAddress("glPointParameteri"); 01589 01590 if (extproc == NULL) { 01591 _ASSERT(0); 01592 return; 01593 } 01594 01595 glPointParameteri = extproc; 01596 01597 glPointParameteri(pname, param); 01598 } 01599 01600 static void APIENTRY InitPointParameteriv (GLenum pname, const GLint *params) 01601 { 01602 void *extproc; 01603 01604 extproc = (void *) glGetProcAddress("glPointParameteriv"); 01605 01606 if (extproc == NULL) { 01607 _ASSERT(0); 01608 return; 01609 } 01610 01611 glPointParameteriv = extproc; 01612 01613 glPointParameteriv(pname, params); 01614 } 01615 01616 static void APIENTRY InitSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue) 01617 { 01618 void *extproc; 01619 01620 extproc = (void *) glGetProcAddress("glSecondaryColor3b"); 01621 01622 if (extproc == NULL) { 01623 _ASSERT(0); 01624 return; 01625 } 01626 01627 glSecondaryColor3b = extproc; 01628 01629 glSecondaryColor3b(red, green, blue); 01630 } 01631 01632 static void APIENTRY InitSecondaryColor3bv (const GLbyte *v) 01633 { 01634 void *extproc; 01635 01636 extproc = (void *) glGetProcAddress("glSecondaryColor3bv"); 01637 01638 if (extproc == NULL) { 01639 _ASSERT(0); 01640 return; 01641 } 01642 01643 glSecondaryColor3bv = extproc; 01644 01645 glSecondaryColor3bv(v); 01646 } 01647 01648 static void APIENTRY InitSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue) 01649 { 01650 void *extproc; 01651 01652 extproc = (void *) glGetProcAddress("glSecondaryColor3d"); 01653 01654 if (extproc == NULL) { 01655 _ASSERT(0); 01656 return; 01657 } 01658 01659 glSecondaryColor3d = extproc; 01660 01661 glSecondaryColor3d(red, green, blue); 01662 } 01663 01664 static void APIENTRY InitSecondaryColor3dv (const GLdouble *v) 01665 { 01666 void *extproc; 01667 01668 extproc = (void *) glGetProcAddress("glSecondaryColor3dv"); 01669 01670 if (extproc == NULL) { 01671 _ASSERT(0); 01672 return; 01673 } 01674 01675 glSecondaryColor3dv = extproc; 01676 01677 glSecondaryColor3dv(v); 01678 } 01679 01680 static void APIENTRY InitSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue) 01681 { 01682 void *extproc; 01683 01684 extproc = (void *) glGetProcAddress("glSecondaryColor3f"); 01685 01686 if (extproc == NULL) { 01687 _ASSERT(0); 01688 return; 01689 } 01690 01691 glSecondaryColor3f = extproc; 01692 01693 glSecondaryColor3f(red, green, blue); 01694 } 01695 01696 static void APIENTRY InitSecondaryColor3fv (const GLfloat *v) 01697 { 01698 void *extproc; 01699 01700 extproc = (void *) glGetProcAddress("glSecondaryColor3fv"); 01701 01702 if (extproc == NULL) { 01703 _ASSERT(0); 01704 return; 01705 } 01706 01707 glSecondaryColor3fv = extproc; 01708 01709 glSecondaryColor3fv(v); 01710 } 01711 01712 static void APIENTRY InitSecondaryColor3i (GLint red, GLint green, GLint blue) 01713 { 01714 void *extproc; 01715 01716 extproc = (void *) glGetProcAddress("glSecondaryColor3i"); 01717 01718 if (extproc == NULL) { 01719 _ASSERT(0); 01720 return; 01721 } 01722 01723 glSecondaryColor3i = extproc; 01724 01725 glSecondaryColor3i(red, green, blue); 01726 } 01727 01728 static void APIENTRY InitSecondaryColor3iv (const GLint *v) 01729 { 01730 void *extproc; 01731 01732 extproc = (void *) glGetProcAddress("glSecondaryColor3iv"); 01733 01734 if (extproc == NULL) { 01735 _ASSERT(0); 01736 return; 01737 } 01738 01739 glSecondaryColor3iv = extproc; 01740 01741 glSecondaryColor3iv(v); 01742 } 01743 01744 static void APIENTRY InitSecondaryColor3s (GLshort red, GLshort green, GLshort blue) 01745 { 01746 void *extproc; 01747 01748 extproc = (void *) glGetProcAddress("glSecondaryColor3s"); 01749 01750 if (extproc == NULL) { 01751 _ASSERT(0); 01752 return; 01753 } 01754 01755 glSecondaryColor3s = extproc; 01756 01757 glSecondaryColor3s(red, green, blue); 01758 } 01759 01760 static void APIENTRY InitSecondaryColor3sv (const GLshort *v) 01761 { 01762 void *extproc; 01763 01764 extproc = (void *) glGetProcAddress("glSecondaryColor3sv"); 01765 01766 if (extproc == NULL) { 01767 _ASSERT(0); 01768 return; 01769 } 01770 01771 glSecondaryColor3sv = extproc; 01772 01773 glSecondaryColor3sv(v); 01774 } 01775 01776 static void APIENTRY InitSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue) 01777 { 01778 void *extproc; 01779 01780 extproc = (void *) glGetProcAddress("glSecondaryColor3ub"); 01781 01782 if (extproc == NULL) { 01783 _ASSERT(0); 01784 return; 01785 } 01786 01787 glSecondaryColor3ub = extproc; 01788 01789 glSecondaryColor3ub(red, green, blue); 01790 } 01791 01792 static void APIENTRY InitSecondaryColor3ubv (const GLubyte *v) 01793 { 01794 void *extproc; 01795 01796 extproc = (void *) glGetProcAddress("glSecondaryColor3ubv"); 01797 01798 if (extproc == NULL) { 01799 _ASSERT(0); 01800 return; 01801 } 01802 01803 glSecondaryColor3ubv = extproc; 01804 01805 glSecondaryColor3ubv(v); 01806 } 01807 01808 static void APIENTRY InitSecondaryColor3ui (GLuint red, GLuint green, GLuint blue) 01809 { 01810 void *extproc; 01811 01812 extproc = (void *) glGetProcAddress("glSecondaryColor3ui"); 01813 01814 if (extproc == NULL) { 01815 _ASSERT(0); 01816 return; 01817 } 01818 01819 glSecondaryColor3ui = extproc; 01820 01821 glSecondaryColor3ui(red, green, blue); 01822 } 01823 01824 static void APIENTRY InitSecondaryColor3uiv (const GLuint *v) 01825 { 01826 void *extproc; 01827 01828 extproc = (void *) glGetProcAddress("glSecondaryColor3uiv"); 01829 01830 if (extproc == NULL) { 01831 _ASSERT(0); 01832 return; 01833 } 01834 01835 glSecondaryColor3uiv = extproc; 01836 01837 glSecondaryColor3uiv(v); 01838 } 01839 01840 static void APIENTRY InitSecondaryColor3us (GLushort red, GLushort green, GLushort blue) 01841 { 01842 void *extproc; 01843 01844 extproc = (void *) glGetProcAddress("glSecondaryColor3us"); 01845 01846 if (extproc == NULL) { 01847 _ASSERT(0); 01848 return; 01849 } 01850 01851 glSecondaryColor3us = extproc; 01852 01853 glSecondaryColor3us(red, green, blue); 01854 } 01855 01856 static void APIENTRY InitSecondaryColor3usv (const GLushort *v) 01857 { 01858 void *extproc; 01859 01860 extproc = (void *) glGetProcAddress("glSecondaryColor3usv"); 01861 01862 if (extproc == NULL) { 01863 _ASSERT(0); 01864 return; 01865 } 01866 01867 glSecondaryColor3usv = extproc; 01868 01869 glSecondaryColor3usv(v); 01870 } 01871 01872 static void APIENTRY InitSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) 01873 { 01874 void *extproc; 01875 01876 extproc = (void *) glGetProcAddress("glSecondaryColorPointer"); 01877 01878 if (extproc == NULL) { 01879 _ASSERT(0); 01880 return; 01881 } 01882 01883 glSecondaryColorPointer = extproc; 01884 01885 glSecondaryColorPointer(size, type, stride, pointer); 01886 } 01887 01888 static void APIENTRY InitWindowPos2d (GLdouble x, GLdouble y) 01889 { 01890 void *extproc; 01891 01892 extproc = (void *) glGetProcAddress("glWindowPos2d"); 01893 01894 if (extproc == NULL) { 01895 _ASSERT(0); 01896 return; 01897 } 01898 01899 glWindowPos2d = extproc; 01900 01901 glWindowPos2d(x, y); 01902 } 01903 01904 static void APIENTRY InitWindowPos2dv (const GLdouble *v) 01905 { 01906 void *extproc; 01907 01908 extproc = (void *) glGetProcAddress("glWindowPos2dv"); 01909 01910 if (extproc == NULL) { 01911 _ASSERT(0); 01912 return; 01913 } 01914 01915 glWindowPos2dv = extproc; 01916 01917 glWindowPos2dv(v); 01918 } 01919 01920 static void APIENTRY InitWindowPos2f (GLfloat x, GLfloat y) 01921 { 01922 void *extproc; 01923 01924 extproc = (void *) glGetProcAddress("glWindowPos2f"); 01925 01926 if (extproc == NULL) { 01927 _ASSERT(0); 01928 return; 01929 } 01930 01931 glWindowPos2f = extproc; 01932 01933 glWindowPos2f(x, y); 01934 } 01935 01936 static void APIENTRY InitWindowPos2fv (const GLfloat *v) 01937 { 01938 void *extproc; 01939 01940 extproc = (void *) glGetProcAddress("glWindowPos2fv"); 01941 01942 if (extproc == NULL) { 01943 _ASSERT(0); 01944 return; 01945 } 01946 01947 glWindowPos2fv = extproc; 01948 01949 glWindowPos2fv(v); 01950 } 01951 01952 static void APIENTRY InitWindowPos2i (GLint x, GLint y) 01953 { 01954 void *extproc; 01955 01956 extproc = (void *) glGetProcAddress("glWindowPos2i"); 01957 01958 if (extproc == NULL) { 01959 _ASSERT(0); 01960 return; 01961 } 01962 01963 glWindowPos2i = extproc; 01964 01965 glWindowPos2i(x, y); 01966 } 01967 01968 static void APIENTRY InitWindowPos2iv (const GLint *v) 01969 { 01970 void *extproc; 01971 01972 extproc = (void *) glGetProcAddress("glWindowPos2iv"); 01973 01974 if (extproc == NULL) { 01975 _ASSERT(0); 01976 return; 01977 } 01978 01979 glWindowPos2iv = extproc; 01980 01981 glWindowPos2iv(v); 01982 } 01983 01984 static void APIENTRY InitWindowPos2s (GLshort x, GLshort y) 01985 { 01986 void *extproc; 01987 01988 extproc = (void *) glGetProcAddress("glWindowPos2s"); 01989 01990 if (extproc == NULL) { 01991 _ASSERT(0); 01992 return; 01993 } 01994 01995 glWindowPos2s = extproc; 01996 01997 glWindowPos2s(x, y); 01998 } 01999 02000 static void APIENTRY InitWindowPos2sv (const GLshort *v) 02001 { 02002 void *extproc; 02003 02004 extproc = (void *) glGetProcAddress("glWindowPos2sv"); 02005 02006 if (extproc == NULL) { 02007 _ASSERT(0); 02008 return; 02009 } 02010 02011 glWindowPos2sv = extproc; 02012 02013 glWindowPos2sv(v); 02014 } 02015 02016 static void APIENTRY InitWindowPos3d (GLdouble x, GLdouble y, GLdouble z) 02017 { 02018 void *extproc; 02019 02020 extproc = (void *) glGetProcAddress("glWindowPos3d"); 02021 02022 if (extproc == NULL) { 02023 _ASSERT(0); 02024 return; 02025 } 02026 02027 glWindowPos3d = extproc; 02028 02029 glWindowPos3d(x, y, z); 02030 } 02031 02032 static void APIENTRY InitWindowPos3dv (const GLdouble *v) 02033 { 02034 void *extproc; 02035 02036 extproc = (void *) glGetProcAddress("glWindowPos3dv"); 02037 02038 if (extproc == NULL) { 02039 _ASSERT(0); 02040 return; 02041 } 02042 02043 glWindowPos3dv = extproc; 02044 02045 glWindowPos3dv(v); 02046 } 02047 02048 static void APIENTRY InitWindowPos3f (GLfloat x, GLfloat y, GLfloat z) 02049 { 02050 void *extproc; 02051 02052 extproc = (void *) glGetProcAddress("glWindowPos3f"); 02053 02054 if (extproc == NULL) { 02055 _ASSERT(0); 02056 return; 02057 } 02058 02059 glWindowPos3f = extproc; 02060 02061 glWindowPos3f(x, y, z); 02062 } 02063 02064 static void APIENTRY InitWindowPos3fv (const GLfloat *v) 02065 { 02066 void *extproc; 02067 02068 extproc = (void *) glGetProcAddress("glWindowPos3fv"); 02069 02070 if (extproc == NULL) { 02071 _ASSERT(0); 02072 return; 02073 } 02074 02075 glWindowPos3fv = extproc; 02076 02077 glWindowPos3fv(v); 02078 } 02079 02080 static void APIENTRY InitWindowPos3i (GLint x, GLint y, GLint z) 02081 { 02082 void *extproc; 02083 02084 extproc = (void *) glGetProcAddress("glWindowPos3i"); 02085 02086 if (extproc == NULL) { 02087 _ASSERT(0); 02088 return; 02089 } 02090 02091 glWindowPos3i = extproc; 02092 02093 glWindowPos3i(x, y, z); 02094 } 02095 02096 static void APIENTRY InitWindowPos3iv (const GLint *v) 02097 { 02098 void *extproc; 02099 02100 extproc = (void *) glGetProcAddress("glWindowPos3iv"); 02101 02102 if (extproc == NULL) { 02103 _ASSERT(0); 02104 return; 02105 } 02106 02107 glWindowPos3iv = extproc; 02108 02109 glWindowPos3iv(v); 02110 } 02111 02112 static void APIENTRY InitWindowPos3s (GLshort x, GLshort y, GLshort z) 02113 { 02114 void *extproc; 02115 02116 extproc = (void *) glGetProcAddress("glWindowPos3s"); 02117 02118 if (extproc == NULL) { 02119 _ASSERT(0); 02120 return; 02121 } 02122 02123 glWindowPos3s = extproc; 02124 02125 glWindowPos3s(x, y, z); 02126 } 02127 02128 static void APIENTRY InitWindowPos3sv (const GLshort *v) 02129 { 02130 void *extproc; 02131 02132 extproc = (void *) glGetProcAddress("glWindowPos3sv"); 02133 02134 if (extproc == NULL) { 02135 _ASSERT(0); 02136 return; 02137 } 02138 02139 glWindowPos3sv = extproc; 02140 02141 glWindowPos3sv(v); 02142 } 02143 02144 static void APIENTRY InitGenQueries (GLsizei n, GLuint *ids) 02145 { 02146 void *extproc; 02147 02148 extproc = (void *) glGetProcAddress("glGenQueries"); 02149 02150 if (extproc == NULL) { 02151 _ASSERT(0); 02152 return; 02153 } 02154 02155 glGenQueries = extproc; 02156 02157 glGenQueries(n, ids); 02158 } 02159 02160 static void APIENTRY InitDeleteQueries (GLsizei n, const GLuint *ids) 02161 { 02162 void *extproc; 02163 02164 extproc = (void *) glGetProcAddress("glDeleteQueries"); 02165 02166 if (extproc == NULL) { 02167 _ASSERT(0); 02168 return; 02169 } 02170 02171 glDeleteQueries = extproc; 02172 02173 glDeleteQueries(n, ids); 02174 } 02175 02176 static GLboolean APIENTRY InitIsQuery (GLuint id) 02177 { 02178 void *extproc; 02179 02180 extproc = (void *) glGetProcAddress("glIsQuery"); 02181 02182 if (extproc == NULL) { 02183 _ASSERT(0); 02184 return 0; 02185 } 02186 02187 glIsQuery = extproc; 02188 02189 return glIsQuery(id); 02190 } 02191 02192 static void APIENTRY InitBeginQuery (GLenum target, GLuint id) 02193 { 02194 void *extproc; 02195 02196 extproc = (void *) glGetProcAddress("glBeginQuery"); 02197 02198 if (extproc == NULL) { 02199 _ASSERT(0); 02200 return; 02201 } 02202 02203 glBeginQuery = extproc; 02204 02205 glBeginQuery(target, id); 02206 } 02207 02208 static void APIENTRY InitEndQuery (GLenum target) 02209 { 02210 void *extproc; 02211 02212 extproc = (void *) glGetProcAddress("glEndQuery"); 02213 02214 if (extproc == NULL) { 02215 _ASSERT(0); 02216 return; 02217 } 02218 02219 glEndQuery = extproc; 02220 02221 glEndQuery(target); 02222 } 02223 02224 static void APIENTRY InitGetQueryiv (GLenum target, GLenum pname, GLint *params) 02225 { 02226 void *extproc; 02227 02228 extproc = (void *) glGetProcAddress("glGetQueryiv"); 02229 02230 if (extproc == NULL) { 02231 _ASSERT(0); 02232 return; 02233 } 02234 02235 glGetQueryiv = extproc; 02236 02237 glGetQueryiv(target, pname, params); 02238 } 02239 02240 static void APIENTRY InitGetQueryObjectiv (GLuint id, GLenum pname, GLint *params) 02241 { 02242 void *extproc; 02243 02244 extproc = (void *) glGetProcAddress("glGetQueryObjectiv"); 02245 02246 if (extproc == NULL) { 02247 _ASSERT(0); 02248 return; 02249 } 02250 02251 glGetQueryObjectiv = extproc; 02252 02253 glGetQueryObjectiv(id, pname, params); 02254 } 02255 02256 static void APIENTRY InitGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params) 02257 { 02258 void *extproc; 02259 02260 extproc = (void *) glGetProcAddress("glGetQueryObjectuiv"); 02261 02262 if (extproc == NULL) { 02263 _ASSERT(0); 02264 return; 02265 } 02266 02267 glGetQueryObjectuiv = extproc; 02268 02269 glGetQueryObjectuiv(id, pname, params); 02270 } 02271 02272 static void APIENTRY InitBindBuffer (GLenum target, GLuint buffer) 02273 { 02274 void *extproc; 02275 02276 extproc = (void *) glGetProcAddress("glBindBuffer"); 02277 02278 if (extproc == NULL) { 02279 _ASSERT(0); 02280 return; 02281 } 02282 02283 glBindBuffer = extproc; 02284 02285 glBindBuffer(target, buffer); 02286 } 02287 02288 static void APIENTRY InitDeleteBuffers (GLsizei n, const GLuint *buffers) 02289 { 02290 void *extproc; 02291 02292 extproc = (void *) glGetProcAddress("glDeleteBuffers"); 02293 02294 if (extproc == NULL) { 02295 _ASSERT(0); 02296 return; 02297 } 02298 02299 glDeleteBuffers = extproc; 02300 02301 glDeleteBuffers(n, buffers); 02302 } 02303 02304 static void APIENTRY InitGenBuffers (GLsizei n, GLuint *buffers) 02305 { 02306 void *extproc; 02307 02308 extproc = (void *) glGetProcAddress("glGenBuffers"); 02309 02310 if (extproc == NULL) { 02311 _ASSERT(0); 02312 return; 02313 } 02314 02315 glGenBuffers = extproc; 02316 02317 glGenBuffers(n, buffers); 02318 } 02319 02320 static GLboolean APIENTRY InitIsBuffer (GLuint buffer) 02321 { 02322 void *extproc; 02323 02324 extproc = (void *) glGetProcAddress("glIsBuffer"); 02325 02326 if (extproc == NULL) { 02327 _ASSERT(0); 02328 return 0; 02329 } 02330 02331 glIsBuffer = extproc; 02332 02333 return glIsBuffer(buffer); 02334 } 02335 02336 static void APIENTRY InitBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) 02337 { 02338 void *extproc; 02339 02340 extproc = (void *) glGetProcAddress("glBufferData"); 02341 02342 if (extproc == NULL) { 02343 _ASSERT(0); 02344 return; 02345 } 02346 02347 glBufferData = extproc; 02348 02349 glBufferData(target, size, data, usage); 02350 } 02351 02352 static void APIENTRY InitBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) 02353 { 02354 void *extproc; 02355 02356 extproc = (void *) glGetProcAddress("glBufferSubData"); 02357 02358 if (extproc == NULL) { 02359 _ASSERT(0); 02360 return; 02361 } 02362 02363 glBufferSubData = extproc; 02364 02365 glBufferSubData(target, offset, size, data); 02366 } 02367 02368 static void APIENTRY InitGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) 02369 { 02370 void *extproc; 02371 02372 extproc = (void *) glGetProcAddress("glGetBufferSubData"); 02373 02374 if (extproc == NULL) { 02375 _ASSERT(0); 02376 return; 02377 } 02378 02379 glGetBufferSubData = extproc; 02380 02381 glGetBufferSubData(target, offset, size, data); 02382 } 02383 02384 static GLvoid* APIENTRY InitMapBuffer (GLenum target, GLenum access) 02385 { 02386 void *extproc; 02387 02388 extproc = (void *) glGetProcAddress("glMapBuffer"); 02389 02390 if (extproc == NULL) { 02391 _ASSERT(0); 02392 return 0; 02393 } 02394 02395 glMapBuffer = extproc; 02396 02397 return glMapBuffer(target, access); 02398 } 02399 02400 static GLboolean APIENTRY InitUnmapBuffer (GLenum target) 02401 { 02402 void *extproc; 02403 02404 extproc = (void *) glGetProcAddress("glUnmapBuffer"); 02405 02406 if (extproc == NULL) { 02407 _ASSERT(0); 02408 return 0; 02409 } 02410 02411 glUnmapBuffer = extproc; 02412 02413 return glUnmapBuffer(target); 02414 } 02415 02416 static void APIENTRY InitGetBufferParameteriv (GLenum target, GLenum pname, GLint *params) 02417 { 02418 void *extproc; 02419 02420 extproc = (void *) glGetProcAddress("glGetBufferParameteriv"); 02421 02422 if (extproc == NULL) { 02423 _ASSERT(0); 02424 return; 02425 } 02426 02427 glGetBufferParameteriv = extproc; 02428 02429 glGetBufferParameteriv(target, pname, params); 02430 } 02431 02432 static void APIENTRY InitGetBufferPointerv (GLenum target, GLenum pname, GLvoid* *params) 02433 { 02434 void *extproc; 02435 02436 extproc = (void *) glGetProcAddress("glGetBufferPointerv"); 02437 02438 if (extproc == NULL) { 02439 _ASSERT(0); 02440 return; 02441 } 02442 02443 glGetBufferPointerv = extproc; 02444 02445 glGetBufferPointerv(target, pname, params); 02446 } 02447 02448 static void APIENTRY InitActiveTextureARB (GLenum texture) 02449 { 02450 void *extproc; 02451 02452 extproc = (void *) glGetProcAddress("glActiveTextureARB"); 02453 02454 if (extproc == NULL) { 02455 _ASSERT(0); 02456 return; 02457 } 02458 02459 glActiveTextureARB = extproc; 02460 02461 glActiveTextureARB(texture); 02462 } 02463 02464 static void APIENTRY InitClientActiveTextureARB (GLenum texture) 02465 { 02466 void *extproc; 02467 02468 extproc = (void *) glGetProcAddress("glClientActiveTextureARB"); 02469 02470 if (extproc == NULL) { 02471 _ASSERT(0); 02472 return; 02473 } 02474 02475 glClientActiveTextureARB = extproc; 02476 02477 glClientActiveTextureARB(texture); 02478 } 02479 02480 static void APIENTRY InitMultiTexCoord1dARB (GLenum target, GLdouble s) 02481 { 02482 void *extproc; 02483 02484 extproc = (void *) glGetProcAddress("glMultiTexCoord1dARB"); 02485 02486 if (extproc == NULL) { 02487 _ASSERT(0); 02488 return; 02489 } 02490 02491 glMultiTexCoord1dARB = extproc; 02492 02493 glMultiTexCoord1dARB(target, s); 02494 } 02495 02496 static void APIENTRY InitMultiTexCoord1dvARB (GLenum target, const GLdouble *v) 02497 { 02498 void *extproc; 02499 02500 extproc = (void *) glGetProcAddress("glMultiTexCoord1dvARB"); 02501 02502 if (extproc == NULL) { 02503 _ASSERT(0); 02504 return; 02505 } 02506 02507 glMultiTexCoord1dvARB = extproc; 02508 02509 glMultiTexCoord1dvARB(target, v); 02510 } 02511 02512 static void APIENTRY InitMultiTexCoord1fARB (GLenum target, GLfloat s) 02513 { 02514 void *extproc; 02515 02516 extproc = (void *) glGetProcAddress("glMultiTexCoord1fARB"); 02517 02518 if (extproc == NULL) { 02519 _ASSERT(0); 02520 return; 02521 } 02522 02523 glMultiTexCoord1fARB = extproc; 02524 02525 glMultiTexCoord1fARB(target, s); 02526 } 02527 02528 static void APIENTRY InitMultiTexCoord1fvARB (GLenum target, const GLfloat *v) 02529 { 02530 void *extproc; 02531 02532 extproc = (void *) glGetProcAddress("glMultiTexCoord1fvARB"); 02533 02534 if (extproc == NULL) { 02535 _ASSERT(0); 02536 return; 02537 } 02538 02539 glMultiTexCoord1fvARB = extproc; 02540 02541 glMultiTexCoord1fvARB(target, v); 02542 } 02543 02544 static void APIENTRY InitMultiTexCoord1iARB (GLenum target, GLint s) 02545 { 02546 void *extproc; 02547 02548 extproc = (void *) glGetProcAddress("glMultiTexCoord1iARB"); 02549 02550 if (extproc == NULL) { 02551 _ASSERT(0); 02552 return; 02553 } 02554 02555 glMultiTexCoord1iARB = extproc; 02556 02557 glMultiTexCoord1iARB(target, s); 02558 } 02559 02560 static void APIENTRY InitMultiTexCoord1ivARB (GLenum target, const GLint *v) 02561 { 02562 void *extproc; 02563 02564 extproc = (void *) glGetProcAddress("glMultiTexCoord1ivARB"); 02565 02566 if (extproc == NULL) { 02567 _ASSERT(0); 02568 return; 02569 } 02570 02571 glMultiTexCoord1ivARB = extproc; 02572 02573 glMultiTexCoord1ivARB(target, v); 02574 } 02575 02576 static void APIENTRY InitMultiTexCoord1sARB (GLenum target, GLshort s) 02577 { 02578 void *extproc; 02579 02580 extproc = (void *) glGetProcAddress("glMultiTexCoord1sARB"); 02581 02582 if (extproc == NULL) { 02583 _ASSERT(0); 02584 return; 02585 } 02586 02587 glMultiTexCoord1sARB = extproc; 02588 02589 glMultiTexCoord1sARB(target, s); 02590 } 02591 02592 static void APIENTRY InitMultiTexCoord1svARB (GLenum target, const GLshort *v) 02593 { 02594 void *extproc; 02595 02596 extproc = (void *) glGetProcAddress("glMultiTexCoord1svARB"); 02597 02598 if (extproc == NULL) { 02599 _ASSERT(0); 02600 return; 02601 } 02602 02603 glMultiTexCoord1svARB = extproc; 02604 02605 glMultiTexCoord1svARB(target, v); 02606 } 02607 02608 static void APIENTRY InitMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t) 02609 { 02610 void *extproc; 02611 02612 extproc = (void *) glGetProcAddress("glMultiTexCoord2dARB"); 02613 02614 if (extproc == NULL) { 02615 _ASSERT(0); 02616 return; 02617 } 02618 02619 glMultiTexCoord2dARB = extproc; 02620 02621 glMultiTexCoord2dARB(target, s, t); 02622 } 02623 02624 static void APIENTRY InitMultiTexCoord2dvARB (GLenum target, const GLdouble *v) 02625 { 02626 void *extproc; 02627 02628 extproc = (void *) glGetProcAddress("glMultiTexCoord2dvARB"); 02629 02630 if (extproc == NULL) { 02631 _ASSERT(0); 02632 return; 02633 } 02634 02635 glMultiTexCoord2dvARB = extproc; 02636 02637 glMultiTexCoord2dvARB(target, v); 02638 } 02639 02640 static void APIENTRY InitMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t) 02641 { 02642 void *extproc; 02643 02644 extproc = (void *) glGetProcAddress("glMultiTexCoord2fARB"); 02645 02646 if (extproc == NULL) { 02647 _ASSERT(0); 02648 return; 02649 } 02650 02651 glMultiTexCoord2fARB = extproc; 02652 02653 glMultiTexCoord2fARB(target, s, t); 02654 } 02655 02656 static void APIENTRY InitMultiTexCoord2fvARB (GLenum target, const GLfloat *v) 02657 { 02658 void *extproc; 02659 02660 extproc = (void *) glGetProcAddress("glMultiTexCoord2fvARB"); 02661 02662 if (extproc == NULL) { 02663 _ASSERT(0); 02664 return; 02665 } 02666 02667 glMultiTexCoord2fvARB = extproc; 02668 02669 glMultiTexCoord2fvARB(target, v); 02670 } 02671 02672 static void APIENTRY InitMultiTexCoord2iARB (GLenum target, GLint s, GLint t) 02673 { 02674 void *extproc; 02675 02676 extproc = (void *) glGetProcAddress("glMultiTexCoord2iARB"); 02677 02678 if (extproc == NULL) { 02679 _ASSERT(0); 02680 return; 02681 } 02682 02683 glMultiTexCoord2iARB = extproc; 02684 02685 glMultiTexCoord2iARB(target, s, t); 02686 } 02687 02688 static void APIENTRY InitMultiTexCoord2ivARB (GLenum target, const GLint *v) 02689 { 02690 void *extproc; 02691 02692 extproc = (void *) glGetProcAddress("glMultiTexCoord2ivARB"); 02693 02694 if (extproc == NULL) { 02695 _ASSERT(0); 02696 return; 02697 } 02698 02699 glMultiTexCoord2ivARB = extproc; 02700 02701 glMultiTexCoord2ivARB(target, v); 02702 } 02703 02704 static void APIENTRY InitMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t) 02705 { 02706 void *extproc; 02707 02708 extproc = (void *) glGetProcAddress("glMultiTexCoord2sARB"); 02709 02710 if (extproc == NULL) { 02711 _ASSERT(0); 02712 return; 02713 } 02714 02715 glMultiTexCoord2sARB = extproc; 02716 02717 glMultiTexCoord2sARB(target, s, t); 02718 } 02719 02720 static void APIENTRY InitMultiTexCoord2svARB (GLenum target, const GLshort *v) 02721 { 02722 void *extproc; 02723 02724 extproc = (void *) glGetProcAddress("glMultiTexCoord2svARB"); 02725 02726 if (extproc == NULL) { 02727 _ASSERT(0); 02728 return; 02729 } 02730 02731 glMultiTexCoord2svARB = extproc; 02732 02733 glMultiTexCoord2svARB(target, v); 02734 } 02735 02736 static void APIENTRY InitMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r) 02737 { 02738 void *extproc; 02739 02740 extproc = (void *) glGetProcAddress("glMultiTexCoord3dARB"); 02741 02742 if (extproc == NULL) { 02743 _ASSERT(0); 02744 return; 02745 } 02746 02747 glMultiTexCoord3dARB = extproc; 02748 02749 glMultiTexCoord3dARB(target, s, t, r); 02750 } 02751 02752 static void APIENTRY InitMultiTexCoord3dvARB (GLenum target, const GLdouble *v) 02753 { 02754 void *extproc; 02755 02756 extproc = (void *) glGetProcAddress("glMultiTexCoord3dvARB"); 02757 02758 if (extproc == NULL) { 02759 _ASSERT(0); 02760 return; 02761 } 02762 02763 glMultiTexCoord3dvARB = extproc; 02764 02765 glMultiTexCoord3dvARB(target, v); 02766 } 02767 02768 static void APIENTRY InitMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r) 02769 { 02770 void *extproc; 02771 02772 extproc = (void *) glGetProcAddress("glMultiTexCoord3fARB"); 02773 02774 if (extproc == NULL) { 02775 _ASSERT(0); 02776 return; 02777 } 02778 02779 glMultiTexCoord3fARB = extproc; 02780 02781 glMultiTexCoord3fARB(target, s, t, r); 02782 } 02783 02784 static void APIENTRY InitMultiTexCoord3fvARB (GLenum target, const GLfloat *v) 02785 { 02786 void *extproc; 02787 02788 extproc = (void *) glGetProcAddress("glMultiTexCoord3fvARB"); 02789 02790 if (extproc == NULL) { 02791 _ASSERT(0); 02792 return; 02793 } 02794 02795 glMultiTexCoord3fvARB = extproc; 02796 02797 glMultiTexCoord3fvARB(target, v); 02798 } 02799 02800 static void APIENTRY InitMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r) 02801 { 02802 void *extproc; 02803 02804 extproc = (void *) glGetProcAddress("glMultiTexCoord3iARB"); 02805 02806 if (extproc == NULL) { 02807 _ASSERT(0); 02808 return; 02809 } 02810 02811 glMultiTexCoord3iARB = extproc; 02812 02813 glMultiTexCoord3iARB(target, s, t, r); 02814 } 02815 02816 static void APIENTRY InitMultiTexCoord3ivARB (GLenum target, const GLint *v) 02817 { 02818 void *extproc; 02819 02820 extproc = (void *) glGetProcAddress("glMultiTexCoord3ivARB"); 02821 02822 if (extproc == NULL) { 02823 _ASSERT(0); 02824 return; 02825 } 02826 02827 glMultiTexCoord3ivARB = extproc; 02828 02829 glMultiTexCoord3ivARB(target, v); 02830 } 02831 02832 static void APIENTRY InitMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r) 02833 { 02834 void *extproc; 02835 02836 extproc = (void *) glGetProcAddress("glMultiTexCoord3sARB"); 02837 02838 if (extproc == NULL) { 02839 _ASSERT(0); 02840 return; 02841 } 02842 02843 glMultiTexCoord3sARB = extproc; 02844 02845 glMultiTexCoord3sARB(target, s, t, r); 02846 } 02847 02848 static void APIENTRY InitMultiTexCoord3svARB (GLenum target, const GLshort *v) 02849 { 02850 void *extproc; 02851 02852 extproc = (void *) glGetProcAddress("glMultiTexCoord3svARB"); 02853 02854 if (extproc == NULL) { 02855 _ASSERT(0); 02856 return; 02857 } 02858 02859 glMultiTexCoord3svARB = extproc; 02860 02861 glMultiTexCoord3svARB(target, v); 02862 } 02863 02864 static void APIENTRY InitMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) 02865 { 02866 void *extproc; 02867 02868 extproc = (void *) glGetProcAddress("glMultiTexCoord4dARB"); 02869 02870 if (extproc == NULL) { 02871 _ASSERT(0); 02872 return; 02873 } 02874 02875 glMultiTexCoord4dARB = extproc; 02876 02877 glMultiTexCoord4dARB(target, s, t, r, q); 02878 } 02879 02880 static void APIENTRY InitMultiTexCoord4dvARB (GLenum target, const GLdouble *v) 02881 { 02882 void *extproc; 02883 02884 extproc = (void *) glGetProcAddress("glMultiTexCoord4dvARB"); 02885 02886 if (extproc == NULL) { 02887 _ASSERT(0); 02888 return; 02889 } 02890 02891 glMultiTexCoord4dvARB = extproc; 02892 02893 glMultiTexCoord4dvARB(target, v); 02894 } 02895 02896 static void APIENTRY InitMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) 02897 { 02898 void *extproc; 02899 02900 extproc = (void *) glGetProcAddress("glMultiTexCoord4fARB"); 02901 02902 if (extproc == NULL) { 02903 _ASSERT(0); 02904 return; 02905 } 02906 02907 glMultiTexCoord4fARB = extproc; 02908 02909 glMultiTexCoord4fARB(target, s, t, r, q); 02910 } 02911 02912 static void APIENTRY InitMultiTexCoord4fvARB (GLenum target, const GLfloat *v) 02913 { 02914 void *extproc; 02915 02916 extproc = (void *) glGetProcAddress("glMultiTexCoord4fvARB"); 02917 02918 if (extproc == NULL) { 02919 _ASSERT(0); 02920 return; 02921 } 02922 02923 glMultiTexCoord4fvARB = extproc; 02924 02925 glMultiTexCoord4fvARB(target, v); 02926 } 02927 02928 static void APIENTRY InitMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q) 02929 { 02930 void *extproc; 02931 02932 extproc = (void *) glGetProcAddress("glMultiTexCoord4iARB"); 02933 02934 if (extproc == NULL) { 02935 _ASSERT(0); 02936 return; 02937 } 02938 02939 glMultiTexCoord4iARB = extproc; 02940 02941 glMultiTexCoord4iARB(target, s, t, r, q); 02942 } 02943 02944 static void APIENTRY InitMultiTexCoord4ivARB (GLenum target, const GLint *v) 02945 { 02946 void *extproc; 02947 02948 extproc = (void *) glGetProcAddress("glMultiTexCoord4ivARB"); 02949 02950 if (extproc == NULL) { 02951 _ASSERT(0); 02952 return; 02953 } 02954 02955 glMultiTexCoord4ivARB = extproc; 02956 02957 glMultiTexCoord4ivARB(target, v); 02958 } 02959 02960 static void APIENTRY InitMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) 02961 { 02962 void *extproc; 02963 02964 extproc = (void *) glGetProcAddress("glMultiTexCoord4sARB"); 02965 02966 if (extproc == NULL) { 02967 _ASSERT(0); 02968 return; 02969 } 02970 02971 glMultiTexCoord4sARB = extproc; 02972 02973 glMultiTexCoord4sARB(target, s, t, r, q); 02974 } 02975 02976 static void APIENTRY InitMultiTexCoord4svARB (GLenum target, const GLshort *v) 02977 { 02978 void *extproc; 02979 02980 extproc = (void *) glGetProcAddress("glMultiTexCoord4svARB"); 02981 02982 if (extproc == NULL) { 02983 _ASSERT(0); 02984 return; 02985 } 02986 02987 glMultiTexCoord4svARB = extproc; 02988 02989 glMultiTexCoord4svARB(target, v); 02990 } 02991 02992 static void APIENTRY InitLoadTransposeMatrixfARB (const GLfloat *m) 02993 { 02994 void *extproc; 02995 02996 extproc = (void *) glGetProcAddress("glLoadTransposeMatrixfARB"); 02997 02998 if (extproc == NULL) { 02999 _ASSERT(0); 03000 return; 03001 } 03002 03003 glLoadTransposeMatrixfARB = extproc; 03004 03005 glLoadTransposeMatrixfARB(m); 03006 } 03007 03008 static void APIENTRY InitLoadTransposeMatrixdARB (const GLdouble *m) 03009 { 03010 void *extproc; 03011 03012 extproc = (void *) glGetProcAddress("glLoadTransposeMatrixdARB"); 03013 03014 if (extproc == NULL) { 03015 _ASSERT(0); 03016 return; 03017 } 03018 03019 glLoadTransposeMatrixdARB = extproc; 03020 03021 glLoadTransposeMatrixdARB(m); 03022 } 03023 03024 static void APIENTRY InitMultTransposeMatrixfARB (const GLfloat *m) 03025 { 03026 void *extproc; 03027 03028 extproc = (void *) glGetProcAddress("glMultTransposeMatrixfARB"); 03029 03030 if (extproc == NULL) { 03031 _ASSERT(0); 03032 return; 03033 } 03034 03035 glMultTransposeMatrixfARB = extproc; 03036 03037 glMultTransposeMatrixfARB(m); 03038 } 03039 03040 static void APIENTRY InitMultTransposeMatrixdARB (const GLdouble *m) 03041 { 03042 void *extproc; 03043 03044 extproc = (void *) glGetProcAddress("glMultTransposeMatrixdARB"); 03045 03046 if (extproc == NULL) { 03047 _ASSERT(0); 03048 return; 03049 } 03050 03051 glMultTransposeMatrixdARB = extproc; 03052 03053 glMultTransposeMatrixdARB(m); 03054 } 03055 03056 static void APIENTRY InitSampleCoverageARB (GLclampf value, GLboolean invert) 03057 { 03058 void *extproc; 03059 03060 extproc = (void *) glGetProcAddress("glSampleCoverageARB"); 03061 03062 if (extproc == NULL) { 03063 _ASSERT(0); 03064 return; 03065 } 03066 03067 glSampleCoverageARB = extproc; 03068 03069 glSampleCoverageARB(value, invert); 03070 } 03071 03072 static void APIENTRY InitCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) 03073 { 03074 void *extproc; 03075 03076 extproc = (void *) glGetProcAddress("glCompressedTexImage3DARB"); 03077 03078 if (extproc == NULL) { 03079 _ASSERT(0); 03080 return; 03081 } 03082 03083 glCompressedTexImage3DARB = extproc; 03084 03085 glCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imageSize, data); 03086 } 03087 03088 static void APIENTRY InitCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) 03089 { 03090 void *extproc; 03091 03092 extproc = (void *) glGetProcAddress("glCompressedTexImage2DARB"); 03093 03094 if (extproc == NULL) { 03095 _ASSERT(0); 03096 return; 03097 } 03098 03099 glCompressedTexImage2DARB = extproc; 03100 03101 glCompressedTexImage2DARB(target, level, internalformat, width, height, border, imageSize, data); 03102 } 03103 03104 static void APIENTRY InitCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) 03105 { 03106 void *extproc; 03107 03108 extproc = (void *) glGetProcAddress("glCompressedTexImage1DARB"); 03109 03110 if (extproc == NULL) { 03111 _ASSERT(0); 03112 return; 03113 } 03114 03115 glCompressedTexImage1DARB = extproc; 03116 03117 glCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, data); 03118 } 03119 03120 static void APIENTRY InitCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) 03121 { 03122 void *extproc; 03123 03124 extproc = (void *) glGetProcAddress("glCompressedTexSubImage3DARB"); 03125 03126 if (extproc == NULL) { 03127 _ASSERT(0); 03128 return; 03129 } 03130 03131 glCompressedTexSubImage3DARB = extproc; 03132 03133 glCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 03134 } 03135 03136 static void APIENTRY InitCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) 03137 { 03138 void *extproc; 03139 03140 extproc = (void *) glGetProcAddress("glCompressedTexSubImage2DARB"); 03141 03142 if (extproc == NULL) { 03143 _ASSERT(0); 03144 return; 03145 } 03146 03147 glCompressedTexSubImage2DARB = extproc; 03148 03149 glCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, data); 03150 } 03151 03152 static void APIENTRY InitCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) 03153 { 03154 void *extproc; 03155 03156 extproc = (void *) glGetProcAddress("glCompressedTexSubImage1DARB"); 03157 03158 if (extproc == NULL) { 03159 _ASSERT(0); 03160 return; 03161 } 03162 03163 glCompressedTexSubImage1DARB = extproc; 03164 03165 glCompressedTexSubImage1DARB(target, level, xoffset, width, format, imageSize, data); 03166 } 03167 03168 static void APIENTRY InitGetCompressedTexImageARB (GLenum target, GLint level, GLvoid *img) 03169 { 03170 void *extproc; 03171 03172 extproc = (void *) glGetProcAddress("glGetCompressedTexImageARB"); 03173 03174 if (extproc == NULL) { 03175 _ASSERT(0); 03176 return; 03177 } 03178 03179 glGetCompressedTexImageARB = extproc; 03180 03181 glGetCompressedTexImageARB(target, level, img); 03182 } 03183 03184 static void APIENTRY InitPointParameterfARB (GLenum pname, GLfloat param) 03185 { 03186 void *extproc; 03187 03188 extproc = (void *) glGetProcAddress("glPointParameterfARB"); 03189 03190 if (extproc == NULL) { 03191 _ASSERT(0); 03192 return; 03193 } 03194 03195 glPointParameterfARB = extproc; 03196 03197 glPointParameterfARB(pname, param); 03198 } 03199 03200 static void APIENTRY InitPointParameterfvARB (GLenum pname, const GLfloat *params) 03201 { 03202 void *extproc; 03203 03204 extproc = (void *) glGetProcAddress("glPointParameterfvARB"); 03205 03206 if (extproc == NULL) { 03207 _ASSERT(0); 03208 return; 03209 } 03210 03211 glPointParameterfvARB = extproc; 03212 03213 glPointParameterfvARB(pname, params); 03214 } 03215 03216 static void APIENTRY InitWeightbvARB (GLint size, const GLbyte *weights) 03217 { 03218 void *extproc; 03219 03220 extproc = (void *) glGetProcAddress("glWeightbvARB"); 03221 03222 if (extproc == NULL) { 03223 _ASSERT(0); 03224 return; 03225 } 03226 03227 glWeightbvARB = extproc; 03228 03229 glWeightbvARB(size, weights); 03230 } 03231 03232 static void APIENTRY InitWeightsvARB (GLint size, const GLshort *weights) 03233 { 03234 void *extproc; 03235 03236 extproc = (void *) glGetProcAddress("glWeightsvARB"); 03237 03238 if (extproc == NULL) { 03239 _ASSERT(0); 03240 return; 03241 } 03242 03243 glWeightsvARB = extproc; 03244 03245 glWeightsvARB(size, weights); 03246 } 03247 03248 static void APIENTRY InitWeightivARB (GLint size, const GLint *weights) 03249 { 03250 void *extproc; 03251 03252 extproc = (void *) glGetProcAddress("glWeightivARB"); 03253 03254 if (extproc == NULL) { 03255 _ASSERT(0); 03256 return; 03257 } 03258 03259 glWeightivARB = extproc; 03260 03261 glWeightivARB(size, weights); 03262 } 03263 03264 static void APIENTRY InitWeightfvARB (GLint size, const GLfloat *weights) 03265 { 03266 void *extproc; 03267 03268 extproc = (void *) glGetProcAddress("glWeightfvARB"); 03269 03270 if (extproc == NULL) { 03271 _ASSERT(0); 03272 return; 03273 } 03274 03275 glWeightfvARB = extproc; 03276 03277 glWeightfvARB(size, weights); 03278 } 03279 03280 static void APIENTRY InitWeightdvARB (GLint size, const GLdouble *weights) 03281 { 03282 void *extproc; 03283 03284 extproc = (void *) glGetProcAddress("glWeightdvARB"); 03285 03286 if (extproc == NULL) { 03287 _ASSERT(0); 03288 return; 03289 } 03290 03291 glWeightdvARB = extproc; 03292 03293 glWeightdvARB(size, weights); 03294 } 03295 03296 static void APIENTRY InitWeightubvARB (GLint size, const GLubyte *weights) 03297 { 03298 void *extproc; 03299 03300 extproc = (void *) glGetProcAddress("glWeightubvARB"); 03301 03302 if (extproc == NULL) { 03303 _ASSERT(0); 03304 return; 03305 } 03306 03307 glWeightubvARB = extproc; 03308 03309 glWeightubvARB(size, weights); 03310 } 03311 03312 static void APIENTRY InitWeightusvARB (GLint size, const GLushort *weights) 03313 { 03314 void *extproc; 03315 03316 extproc = (void *) glGetProcAddress("glWeightusvARB"); 03317 03318 if (extproc == NULL) { 03319 _ASSERT(0); 03320 return; 03321 } 03322 03323 glWeightusvARB = extproc; 03324 03325 glWeightusvARB(size, weights); 03326 } 03327 03328 static void APIENTRY InitWeightuivARB (GLint size, const GLuint *weights) 03329 { 03330 void *extproc; 03331 03332 extproc = (void *) glGetProcAddress("glWeightuivARB"); 03333 03334 if (extproc == NULL) { 03335 _ASSERT(0); 03336 return; 03337 } 03338 03339 glWeightuivARB = extproc; 03340 03341 glWeightuivARB(size, weights); 03342 } 03343 03344 static void APIENTRY InitWeightPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) 03345 { 03346 void *extproc; 03347 03348 extproc = (void *) glGetProcAddress("glWeightPointerARB"); 03349 03350 if (extproc == NULL) { 03351 _ASSERT(0); 03352 return; 03353 } 03354 03355 glWeightPointerARB = extproc; 03356 03357 glWeightPointerARB(size, type, stride, pointer); 03358 } 03359 03360 static void APIENTRY InitVertexBlendARB (GLint count) 03361 { 03362 void *extproc; 03363 03364 extproc = (void *) glGetProcAddress("glVertexBlendARB"); 03365 03366 if (extproc == NULL) { 03367 _ASSERT(0); 03368 return; 03369 } 03370 03371 glVertexBlendARB = extproc; 03372 03373 glVertexBlendARB(count); 03374 } 03375 03376 static void APIENTRY InitCurrentPaletteMatrixARB (GLint index) 03377 { 03378 void *extproc; 03379 03380 extproc = (void *) glGetProcAddress("glCurrentPaletteMatrixARB"); 03381 03382 if (extproc == NULL) { 03383 _ASSERT(0); 03384 return; 03385 } 03386 03387 glCurrentPaletteMatrixARB = extproc; 03388 03389 glCurrentPaletteMatrixARB(index); 03390 } 03391 03392 static void APIENTRY InitMatrixIndexubvARB (GLint size, const GLubyte *indices) 03393 { 03394 void *extproc; 03395 03396 extproc = (void *) glGetProcAddress("glMatrixIndexubvARB"); 03397 03398 if (extproc == NULL) { 03399 _ASSERT(0); 03400 return; 03401 } 03402 03403 glMatrixIndexubvARB = extproc; 03404 03405 glMatrixIndexubvARB(size, indices); 03406 } 03407 03408 static void APIENTRY InitMatrixIndexusvARB (GLint size, const GLushort *indices) 03409 { 03410 void *extproc; 03411 03412 extproc = (void *) glGetProcAddress("glMatrixIndexusvARB"); 03413 03414 if (extproc == NULL) { 03415 _ASSERT(0); 03416 return; 03417 } 03418 03419 glMatrixIndexusvARB = extproc; 03420 03421 glMatrixIndexusvARB(size, indices); 03422 } 03423 03424 static void APIENTRY InitMatrixIndexuivARB (GLint size, const GLuint *indices) 03425 { 03426 void *extproc; 03427 03428 extproc = (void *) glGetProcAddress("glMatrixIndexuivARB"); 03429 03430 if (extproc == NULL) { 03431 _ASSERT(0); 03432 return; 03433 } 03434 03435 glMatrixIndexuivARB = extproc; 03436 03437 glMatrixIndexuivARB(size, indices); 03438 } 03439 03440 static void APIENTRY InitMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) 03441 { 03442 void *extproc; 03443 03444 extproc = (void *) glGetProcAddress("glMatrixIndexPointerARB"); 03445 03446 if (extproc == NULL) { 03447 _ASSERT(0); 03448 return; 03449 } 03450 03451 glMatrixIndexPointerARB = extproc; 03452 03453 glMatrixIndexPointerARB(size, type, stride, pointer); 03454 } 03455 03456 static void APIENTRY InitWindowPos2dARB (GLdouble x, GLdouble y) 03457 { 03458 void *extproc; 03459 03460 extproc = (void *) glGetProcAddress("glWindowPos2dARB"); 03461 03462 if (extproc == NULL) { 03463 _ASSERT(0); 03464 return; 03465 } 03466 03467 glWindowPos2dARB = extproc; 03468 03469 glWindowPos2dARB(x, y); 03470 } 03471 03472 static void APIENTRY InitWindowPos2dvARB (const GLdouble *v) 03473 { 03474 void *extproc; 03475 03476 extproc = (void *) glGetProcAddress("glWindowPos2dvARB"); 03477 03478 if (extproc == NULL) { 03479 _ASSERT(0); 03480 return; 03481 } 03482 03483 glWindowPos2dvARB = extproc; 03484 03485 glWindowPos2dvARB(v); 03486 } 03487 03488 static void APIENTRY InitWindowPos2fARB (GLfloat x, GLfloat y) 03489 { 03490 void *extproc; 03491 03492 extproc = (void *) glGetProcAddress("glWindowPos2fARB"); 03493 03494 if (extproc == NULL) { 03495 _ASSERT(0); 03496 return; 03497 } 03498 03499 glWindowPos2fARB = extproc; 03500 03501 glWindowPos2fARB(x, y); 03502 } 03503 03504 static void APIENTRY InitWindowPos2fvARB (const GLfloat *v) 03505 { 03506 void *extproc; 03507 03508 extproc = (void *) glGetProcAddress("glWindowPos2fvARB"); 03509 03510 if (extproc == NULL) { 03511 _ASSERT(0); 03512 return; 03513 } 03514 03515 glWindowPos2fvARB = extproc; 03516 03517 glWindowPos2fvARB(v); 03518 } 03519 03520 static void APIENTRY InitWindowPos2iARB (GLint x, GLint y) 03521 { 03522 void *extproc; 03523 03524 extproc = (void *) glGetProcAddress("glWindowPos2iARB"); 03525 03526 if (extproc == NULL) { 03527 _ASSERT(0); 03528 return; 03529 } 03530 03531 glWindowPos2iARB = extproc; 03532 03533 glWindowPos2iARB(x, y); 03534 } 03535 03536 static void APIENTRY InitWindowPos2ivARB (const GLint *v) 03537 { 03538 void *extproc; 03539 03540 extproc = (void *) glGetProcAddress("glWindowPos2ivARB"); 03541 03542 if (extproc == NULL) { 03543 _ASSERT(0); 03544 return; 03545 } 03546 03547 glWindowPos2ivARB = extproc; 03548 03549 glWindowPos2ivARB(v); 03550 } 03551 03552 static void APIENTRY InitWindowPos2sARB (GLshort x, GLshort y) 03553 { 03554 void *extproc; 03555 03556 extproc = (void *) glGetProcAddress("glWindowPos2sARB"); 03557 03558 if (extproc == NULL) { 03559 _ASSERT(0); 03560 return; 03561 } 03562 03563 glWindowPos2sARB = extproc; 03564 03565 glWindowPos2sARB(x, y); 03566 } 03567 03568 static void APIENTRY InitWindowPos2svARB (const GLshort *v) 03569 { 03570 void *extproc; 03571 03572 extproc = (void *) glGetProcAddress("glWindowPos2svARB"); 03573 03574 if (extproc == NULL) { 03575 _ASSERT(0); 03576 return; 03577 } 03578 03579 glWindowPos2svARB = extproc; 03580 03581 glWindowPos2svARB(v); 03582 } 03583 03584 static void APIENTRY InitWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z) 03585 { 03586 void *extproc; 03587 03588 extproc = (void *) glGetProcAddress("glWindowPos3dARB"); 03589 03590 if (extproc == NULL) { 03591 _ASSERT(0); 03592 return; 03593 } 03594 03595 glWindowPos3dARB = extproc; 03596 03597 glWindowPos3dARB(x, y, z); 03598 } 03599 03600 static void APIENTRY InitWindowPos3dvARB (const GLdouble *v) 03601 { 03602 void *extproc; 03603 03604 extproc = (void *) glGetProcAddress("glWindowPos3dvARB"); 03605 03606 if (extproc == NULL) { 03607 _ASSERT(0); 03608 return; 03609 } 03610 03611 glWindowPos3dvARB = extproc; 03612 03613 glWindowPos3dvARB(v); 03614 } 03615 03616 static void APIENTRY InitWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z) 03617 { 03618 void *extproc; 03619 03620 extproc = (void *) glGetProcAddress("glWindowPos3fARB"); 03621 03622 if (extproc == NULL) { 03623 _ASSERT(0); 03624 return; 03625 } 03626 03627 glWindowPos3fARB = extproc; 03628 03629 glWindowPos3fARB(x, y, z); 03630 } 03631 03632 static void APIENTRY InitWindowPos3fvARB (const GLfloat *v) 03633 { 03634 void *extproc; 03635 03636 extproc = (void *) glGetProcAddress("glWindowPos3fvARB"); 03637 03638 if (extproc == NULL) { 03639 _ASSERT(0); 03640 return; 03641 } 03642 03643 glWindowPos3fvARB = extproc; 03644 03645 glWindowPos3fvARB(v); 03646 } 03647 03648 static void APIENTRY InitWindowPos3iARB (GLint x, GLint y, GLint z) 03649 { 03650 void *extproc; 03651 03652 extproc = (void *) glGetProcAddress("glWindowPos3iARB"); 03653 03654 if (extproc == NULL) { 03655 _ASSERT(0); 03656 return; 03657 } 03658 03659 glWindowPos3iARB = extproc; 03660 03661 glWindowPos3iARB(x, y, z); 03662 } 03663 03664 static void APIENTRY InitWindowPos3ivARB (const GLint *v) 03665 { 03666 void *extproc; 03667 03668 extproc = (void *) glGetProcAddress("glWindowPos3ivARB"); 03669 03670 if (extproc == NULL) { 03671 _ASSERT(0); 03672 return; 03673 } 03674 03675 glWindowPos3ivARB = extproc; 03676 03677 glWindowPos3ivARB(v); 03678 } 03679 03680 static void APIENTRY InitWindowPos3sARB (GLshort x, GLshort y, GLshort z) 03681 { 03682 void *extproc; 03683 03684 extproc = (void *) glGetProcAddress("glWindowPos3sARB"); 03685 03686 if (extproc == NULL) { 03687 _ASSERT(0); 03688 return; 03689 } 03690 03691 glWindowPos3sARB = extproc; 03692 03693 glWindowPos3sARB(x, y, z); 03694 } 03695 03696 static void APIENTRY InitWindowPos3svARB (const GLshort *v) 03697 { 03698 void *extproc; 03699 03700 extproc = (void *) glGetProcAddress("glWindowPos3svARB"); 03701 03702 if (extproc == NULL) { 03703 _ASSERT(0); 03704 return; 03705 } 03706 03707 glWindowPos3svARB = extproc; 03708 03709 glWindowPos3svARB(v); 03710 } 03711 03712 static void APIENTRY InitVertexAttrib1dARB (GLuint index, GLdouble x) 03713 { 03714 void *extproc; 03715 03716 extproc = (void *) glGetProcAddress("glVertexAttrib1dARB"); 03717 03718 if (extproc == NULL) { 03719 _ASSERT(0); 03720 return; 03721 } 03722 03723 glVertexAttrib1dARB = extproc; 03724 03725 glVertexAttrib1dARB(index, x); 03726 } 03727 03728 static void APIENTRY InitVertexAttrib1dvARB (GLuint index, const GLdouble *v) 03729 { 03730 void *extproc; 03731 03732 extproc = (void *) glGetProcAddress("glVertexAttrib1dvARB"); 03733 03734 if (extproc == NULL) { 03735 _ASSERT(0); 03736 return; 03737 } 03738 03739 glVertexAttrib1dvARB = extproc; 03740 03741 glVertexAttrib1dvARB(index, v); 03742 } 03743 03744 static void APIENTRY InitVertexAttrib1fARB (GLuint index, GLfloat x) 03745 { 03746 void *extproc; 03747 03748 extproc = (void *) glGetProcAddress("glVertexAttrib1fARB"); 03749 03750 if (extproc == NULL) { 03751 _ASSERT(0); 03752 return; 03753 } 03754 03755 glVertexAttrib1fARB = extproc; 03756 03757 glVertexAttrib1fARB(index, x); 03758 } 03759 03760 static void APIENTRY InitVertexAttrib1fvARB (GLuint index, const GLfloat *v) 03761 { 03762 void *extproc; 03763 03764 extproc = (void *) glGetProcAddress("glVertexAttrib1fvARB"); 03765 03766 if (extproc == NULL) { 03767 _ASSERT(0); 03768 return; 03769 } 03770 03771 glVertexAttrib1fvARB = extproc; 03772 03773 glVertexAttrib1fvARB(index, v); 03774 } 03775 03776 static void APIENTRY InitVertexAttrib1sARB (GLuint index, GLshort x) 03777 { 03778 void *extproc; 03779 03780 extproc = (void *) glGetProcAddress("glVertexAttrib1sARB"); 03781 03782 if (extproc == NULL) { 03783 _ASSERT(0); 03784 return; 03785 } 03786 03787 glVertexAttrib1sARB = extproc; 03788 03789 glVertexAttrib1sARB(index, x); 03790 } 03791 03792 static void APIENTRY InitVertexAttrib1svARB (GLuint index, const GLshort *v) 03793 { 03794 void *extproc; 03795 03796 extproc = (void *) glGetProcAddress("glVertexAttrib1svARB"); 03797 03798 if (extproc == NULL) { 03799 _ASSERT(0); 03800 return; 03801 } 03802 03803 glVertexAttrib1svARB = extproc; 03804 03805 glVertexAttrib1svARB(index, v); 03806 } 03807 03808 static void APIENTRY InitVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y) 03809 { 03810 void *extproc; 03811 03812 extproc = (void *) glGetProcAddress("glVertexAttrib2dARB"); 03813 03814 if (extproc == NULL) { 03815 _ASSERT(0); 03816 return; 03817 } 03818 03819 glVertexAttrib2dARB = extproc; 03820 03821 glVertexAttrib2dARB(index, x, y); 03822 } 03823 03824 static void APIENTRY InitVertexAttrib2dvARB (GLuint index, const GLdouble *v) 03825 { 03826 void *extproc; 03827 03828 extproc = (void *) glGetProcAddress("glVertexAttrib2dvARB"); 03829 03830 if (extproc == NULL) { 03831 _ASSERT(0); 03832 return; 03833 } 03834 03835 glVertexAttrib2dvARB = extproc; 03836 03837 glVertexAttrib2dvARB(index, v); 03838 } 03839 03840 static void APIENTRY InitVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y) 03841 { 03842 void *extproc; 03843 03844 extproc = (void *) glGetProcAddress("glVertexAttrib2fARB"); 03845 03846 if (extproc == NULL) { 03847 _ASSERT(0); 03848 return; 03849 } 03850 03851 glVertexAttrib2fARB = extproc; 03852 03853 glVertexAttrib2fARB(index, x, y); 03854 } 03855 03856 static void APIENTRY InitVertexAttrib2fvARB (GLuint index, const GLfloat *v) 03857 { 03858 void *extproc; 03859 03860 extproc = (void *) glGetProcAddress("glVertexAttrib2fvARB"); 03861 03862 if (extproc == NULL) { 03863 _ASSERT(0); 03864 return; 03865 } 03866 03867 glVertexAttrib2fvARB = extproc; 03868 03869 glVertexAttrib2fvARB(index, v); 03870 } 03871 03872 static void APIENTRY InitVertexAttrib2sARB (GLuint index, GLshort x, GLshort y) 03873 { 03874 void *extproc; 03875 03876 extproc = (void *) glGetProcAddress("glVertexAttrib2sARB"); 03877 03878 if (extproc == NULL) { 03879 _ASSERT(0); 03880 return; 03881 } 03882 03883 glVertexAttrib2sARB = extproc; 03884 03885 glVertexAttrib2sARB(index, x, y); 03886 } 03887 03888 static void APIENTRY InitVertexAttrib2svARB (GLuint index, const GLshort *v) 03889 { 03890 void *extproc; 03891 03892 extproc = (void *) glGetProcAddress("glVertexAttrib2svARB"); 03893 03894 if (extproc == NULL) { 03895 _ASSERT(0); 03896 return; 03897 } 03898 03899 glVertexAttrib2svARB = extproc; 03900 03901 glVertexAttrib2svARB(index, v); 03902 } 03903 03904 static void APIENTRY InitVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z) 03905 { 03906 void *extproc; 03907 03908 extproc = (void *) glGetProcAddress("glVertexAttrib3dARB"); 03909 03910 if (extproc == NULL) { 03911 _ASSERT(0); 03912 return; 03913 } 03914 03915 glVertexAttrib3dARB = extproc; 03916 03917 glVertexAttrib3dARB(index, x, y, z); 03918 } 03919 03920 static void APIENTRY InitVertexAttrib3dvARB (GLuint index, const GLdouble *v) 03921 { 03922 void *extproc; 03923 03924 extproc = (void *) glGetProcAddress("glVertexAttrib3dvARB"); 03925 03926 if (extproc == NULL) { 03927 _ASSERT(0); 03928 return; 03929 } 03930 03931 glVertexAttrib3dvARB = extproc; 03932 03933 glVertexAttrib3dvARB(index, v); 03934 } 03935 03936 static void APIENTRY InitVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z) 03937 { 03938 void *extproc; 03939 03940 extproc = (void *) glGetProcAddress("glVertexAttrib3fARB"); 03941 03942 if (extproc == NULL) { 03943 _ASSERT(0); 03944 return; 03945 } 03946 03947 glVertexAttrib3fARB = extproc; 03948 03949 glVertexAttrib3fARB(index, x, y, z); 03950 } 03951 03952 static void APIENTRY InitVertexAttrib3fvARB (GLuint index, const GLfloat *v) 03953 { 03954 void *extproc; 03955 03956 extproc = (void *) glGetProcAddress("glVertexAttrib3fvARB"); 03957 03958 if (extproc == NULL) { 03959 _ASSERT(0); 03960 return; 03961 } 03962 03963 glVertexAttrib3fvARB = extproc; 03964 03965 glVertexAttrib3fvARB(index, v); 03966 } 03967 03968 static void APIENTRY InitVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z) 03969 { 03970 void *extproc; 03971 03972 extproc = (void *) glGetProcAddress("glVertexAttrib3sARB"); 03973 03974 if (extproc == NULL) { 03975 _ASSERT(0); 03976 return; 03977 } 03978 03979 glVertexAttrib3sARB = extproc; 03980 03981 glVertexAttrib3sARB(index, x, y, z); 03982 } 03983 03984 static void APIENTRY InitVertexAttrib3svARB (GLuint index, const GLshort *v) 03985 { 03986 void *extproc; 03987 03988 extproc = (void *) glGetProcAddress("glVertexAttrib3svARB"); 03989 03990 if (extproc == NULL) { 03991 _ASSERT(0); 03992 return; 03993 } 03994 03995 glVertexAttrib3svARB = extproc; 03996 03997 glVertexAttrib3svARB(index, v); 03998 } 03999 04000 static void APIENTRY InitVertexAttrib4NbvARB (GLuint index, const GLbyte *v) 04001 { 04002 void *extproc; 04003 04004 extproc = (void *) glGetProcAddress("glVertexAttrib4NbvARB"); 04005 04006 if (extproc == NULL) { 04007 _ASSERT(0); 04008 return; 04009 } 04010 04011 glVertexAttrib4NbvARB = extproc; 04012 04013 glVertexAttrib4NbvARB(index, v); 04014 } 04015 04016 static void APIENTRY InitVertexAttrib4NivARB (GLuint index, const GLint *v) 04017 { 04018 void *extproc; 04019 04020 extproc = (void *) glGetProcAddress("glVertexAttrib4NivARB"); 04021 04022 if (extproc == NULL) { 04023 _ASSERT(0); 04024 return; 04025 } 04026 04027 glVertexAttrib4NivARB = extproc; 04028 04029 glVertexAttrib4NivARB(index, v); 04030 } 04031 04032 static void APIENTRY InitVertexAttrib4NsvARB (GLuint index, const GLshort *v) 04033 { 04034 void *extproc; 04035 04036 extproc = (void *) glGetProcAddress("glVertexAttrib4NsvARB"); 04037 04038 if (extproc == NULL) { 04039 _ASSERT(0); 04040 return; 04041 } 04042 04043 glVertexAttrib4NsvARB = extproc; 04044 04045 glVertexAttrib4NsvARB(index, v); 04046 } 04047 04048 static void APIENTRY InitVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) 04049 { 04050 void *extproc; 04051 04052 extproc = (void *) glGetProcAddress("glVertexAttrib4NubARB"); 04053 04054 if (extproc == NULL) { 04055 _ASSERT(0); 04056 return; 04057 } 04058 04059 glVertexAttrib4NubARB = extproc; 04060 04061 glVertexAttrib4NubARB(index, x, y, z, w); 04062 } 04063 04064 static void APIENTRY InitVertexAttrib4NubvARB (GLuint index, const GLubyte *v) 04065 { 04066 void *extproc; 04067 04068 extproc = (void *) glGetProcAddress("glVertexAttrib4NubvARB"); 04069 04070 if (extproc == NULL) { 04071 _ASSERT(0); 04072 return; 04073 } 04074 04075 glVertexAttrib4NubvARB = extproc; 04076 04077 glVertexAttrib4NubvARB(index, v); 04078 } 04079 04080 static void APIENTRY InitVertexAttrib4NuivARB (GLuint index, const GLuint *v) 04081 { 04082 void *extproc; 04083 04084 extproc = (void *) glGetProcAddress("glVertexAttrib4NuivARB"); 04085 04086 if (extproc == NULL) { 04087 _ASSERT(0); 04088 return; 04089 } 04090 04091 glVertexAttrib4NuivARB = extproc; 04092 04093 glVertexAttrib4NuivARB(index, v); 04094 } 04095 04096 static void APIENTRY InitVertexAttrib4NusvARB (GLuint index, const GLushort *v) 04097 { 04098 void *extproc; 04099 04100 extproc = (void *) glGetProcAddress("glVertexAttrib4NusvARB"); 04101 04102 if (extproc == NULL) { 04103 _ASSERT(0); 04104 return; 04105 } 04106 04107 glVertexAttrib4NusvARB = extproc; 04108 04109 glVertexAttrib4NusvARB(index, v); 04110 } 04111 04112 static void APIENTRY InitVertexAttrib4bvARB (GLuint index, const GLbyte *v) 04113 { 04114 void *extproc; 04115 04116 extproc = (void *) glGetProcAddress("glVertexAttrib4bvARB"); 04117 04118 if (extproc == NULL) { 04119 _ASSERT(0); 04120 return; 04121 } 04122 04123 glVertexAttrib4bvARB = extproc; 04124 04125 glVertexAttrib4bvARB(index, v); 04126 } 04127 04128 static void APIENTRY InitVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 04129 { 04130 void *extproc; 04131 04132 extproc = (void *) glGetProcAddress("glVertexAttrib4dARB"); 04133 04134 if (extproc == NULL) { 04135 _ASSERT(0); 04136 return; 04137 } 04138 04139 glVertexAttrib4dARB = extproc; 04140 04141 glVertexAttrib4dARB(index, x, y, z, w); 04142 } 04143 04144 static void APIENTRY InitVertexAttrib4dvARB (GLuint index, const GLdouble *v) 04145 { 04146 void *extproc; 04147 04148 extproc = (void *) glGetProcAddress("glVertexAttrib4dvARB"); 04149 04150 if (extproc == NULL) { 04151 _ASSERT(0); 04152 return; 04153 } 04154 04155 glVertexAttrib4dvARB = extproc; 04156 04157 glVertexAttrib4dvARB(index, v); 04158 } 04159 04160 static void APIENTRY InitVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 04161 { 04162 void *extproc; 04163 04164 extproc = (void *) glGetProcAddress("glVertexAttrib4fARB"); 04165 04166 if (extproc == NULL) { 04167 _ASSERT(0); 04168 return; 04169 } 04170 04171 glVertexAttrib4fARB = extproc; 04172 04173 glVertexAttrib4fARB(index, x, y, z, w); 04174 } 04175 04176 static void APIENTRY InitVertexAttrib4fvARB (GLuint index, const GLfloat *v) 04177 { 04178 void *extproc; 04179 04180 extproc = (void *) glGetProcAddress("glVertexAttrib4fvARB"); 04181 04182 if (extproc == NULL) { 04183 _ASSERT(0); 04184 return; 04185 } 04186 04187 glVertexAttrib4fvARB = extproc; 04188 04189 glVertexAttrib4fvARB(index, v); 04190 } 04191 04192 static void APIENTRY InitVertexAttrib4ivARB (GLuint index, const GLint *v) 04193 { 04194 void *extproc; 04195 04196 extproc = (void *) glGetProcAddress("glVertexAttrib4ivARB"); 04197 04198 if (extproc == NULL) { 04199 _ASSERT(0); 04200 return; 04201 } 04202 04203 glVertexAttrib4ivARB = extproc; 04204 04205 glVertexAttrib4ivARB(index, v); 04206 } 04207 04208 static void APIENTRY InitVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) 04209 { 04210 void *extproc; 04211 04212 extproc = (void *) glGetProcAddress("glVertexAttrib4sARB"); 04213 04214 if (extproc == NULL) { 04215 _ASSERT(0); 04216 return; 04217 } 04218 04219 glVertexAttrib4sARB = extproc; 04220 04221 glVertexAttrib4sARB(index, x, y, z, w); 04222 } 04223 04224 static void APIENTRY InitVertexAttrib4svARB (GLuint index, const GLshort *v) 04225 { 04226 void *extproc; 04227 04228 extproc = (void *) glGetProcAddress("glVertexAttrib4svARB"); 04229 04230 if (extproc == NULL) { 04231 _ASSERT(0); 04232 return; 04233 } 04234 04235 glVertexAttrib4svARB = extproc; 04236 04237 glVertexAttrib4svARB(index, v); 04238 } 04239 04240 static void APIENTRY InitVertexAttrib4ubvARB (GLuint index, const GLubyte *v) 04241 { 04242 void *extproc; 04243 04244 extproc = (void *) glGetProcAddress("glVertexAttrib4ubvARB"); 04245 04246 if (extproc == NULL) { 04247 _ASSERT(0); 04248 return; 04249 } 04250 04251 glVertexAttrib4ubvARB = extproc; 04252 04253 glVertexAttrib4ubvARB(index, v); 04254 } 04255 04256 static void APIENTRY InitVertexAttrib4uivARB (GLuint index, const GLuint *v) 04257 { 04258 void *extproc; 04259 04260 extproc = (void *) glGetProcAddress("glVertexAttrib4uivARB"); 04261 04262 if (extproc == NULL) { 04263 _ASSERT(0); 04264 return; 04265 } 04266 04267 glVertexAttrib4uivARB = extproc; 04268 04269 glVertexAttrib4uivARB(index, v); 04270 } 04271 04272 static void APIENTRY InitVertexAttrib4usvARB (GLuint index, const GLushort *v) 04273 { 04274 void *extproc; 04275 04276 extproc = (void *) glGetProcAddress("glVertexAttrib4usvARB"); 04277 04278 if (extproc == NULL) { 04279 _ASSERT(0); 04280 return; 04281 } 04282 04283 glVertexAttrib4usvARB = extproc; 04284 04285 glVertexAttrib4usvARB(index, v); 04286 } 04287 04288 static void APIENTRY InitVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) 04289 { 04290 void *extproc; 04291 04292 extproc = (void *) glGetProcAddress("glVertexAttribPointerARB"); 04293 04294 if (extproc == NULL) { 04295 _ASSERT(0); 04296 return; 04297 } 04298 04299 glVertexAttribPointerARB = extproc; 04300 04301 glVertexAttribPointerARB(index, size, type, normalized, stride, pointer); 04302 } 04303 04304 static void APIENTRY InitEnableVertexAttribArrayARB (GLuint index) 04305 { 04306 void *extproc; 04307 04308 extproc = (void *) glGetProcAddress("glEnableVertexAttribArrayARB"); 04309 04310 if (extproc == NULL) { 04311 _ASSERT(0); 04312 return; 04313 } 04314 04315 glEnableVertexAttribArrayARB = extproc; 04316 04317 glEnableVertexAttribArrayARB(index); 04318 } 04319 04320 static void APIENTRY InitDisableVertexAttribArrayARB (GLuint index) 04321 { 04322 void *extproc; 04323 04324 extproc = (void *) glGetProcAddress("glDisableVertexAttribArrayARB"); 04325 04326 if (extproc == NULL) { 04327 _ASSERT(0); 04328 return; 04329 } 04330 04331 glDisableVertexAttribArrayARB = extproc; 04332 04333 glDisableVertexAttribArrayARB(index); 04334 } 04335 04336 static void APIENTRY InitProgramStringARB (GLenum target, GLenum format, GLsizei len, const GLvoid *string) 04337 { 04338 void *extproc; 04339 04340 extproc = (void *) glGetProcAddress("glProgramStringARB"); 04341 04342 if (extproc == NULL) { 04343 _ASSERT(0); 04344 return; 04345 } 04346 04347 glProgramStringARB = extproc; 04348 04349 glProgramStringARB(target, format, len, string); 04350 } 04351 04352 static void APIENTRY InitBindProgramARB (GLenum target, GLuint program) 04353 { 04354 void *extproc; 04355 04356 extproc = (void *) glGetProcAddress("glBindProgramARB"); 04357 04358 if (extproc == NULL) { 04359 _ASSERT(0); 04360 return; 04361 } 04362 04363 glBindProgramARB = extproc; 04364 04365 glBindProgramARB(target, program); 04366 } 04367 04368 static void APIENTRY InitDeleteProgramsARB (GLsizei n, const GLuint *programs) 04369 { 04370 void *extproc; 04371 04372 extproc = (void *) glGetProcAddress("glDeleteProgramsARB"); 04373 04374 if (extproc == NULL) { 04375 _ASSERT(0); 04376 return; 04377 } 04378 04379 glDeleteProgramsARB = extproc; 04380 04381 glDeleteProgramsARB(n, programs); 04382 } 04383 04384 static void APIENTRY InitGenProgramsARB (GLsizei n, GLuint *programs) 04385 { 04386 void *extproc; 04387 04388 extproc = (void *) glGetProcAddress("glGenProgramsARB"); 04389 04390 if (extproc == NULL) { 04391 _ASSERT(0); 04392 return; 04393 } 04394 04395 glGenProgramsARB = extproc; 04396 04397 glGenProgramsARB(n, programs); 04398 } 04399 04400 static void APIENTRY InitProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 04401 { 04402 void *extproc; 04403 04404 extproc = (void *) glGetProcAddress("glProgramEnvParameter4dARB"); 04405 04406 if (extproc == NULL) { 04407 _ASSERT(0); 04408 return; 04409 } 04410 04411 glProgramEnvParameter4dARB = extproc; 04412 04413 glProgramEnvParameter4dARB(target, index, x, y, z, w); 04414 } 04415 04416 static void APIENTRY InitProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params) 04417 { 04418 void *extproc; 04419 04420 extproc = (void *) glGetProcAddress("glProgramEnvParameter4dvARB"); 04421 04422 if (extproc == NULL) { 04423 _ASSERT(0); 04424 return; 04425 } 04426 04427 glProgramEnvParameter4dvARB = extproc; 04428 04429 glProgramEnvParameter4dvARB(target, index, params); 04430 } 04431 04432 static void APIENTRY InitProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 04433 { 04434 void *extproc; 04435 04436 extproc = (void *) glGetProcAddress("glProgramEnvParameter4fARB"); 04437 04438 if (extproc == NULL) { 04439 _ASSERT(0); 04440 return; 04441 } 04442 04443 glProgramEnvParameter4fARB = extproc; 04444 04445 glProgramEnvParameter4fARB(target, index, x, y, z, w); 04446 } 04447 04448 static void APIENTRY InitProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params) 04449 { 04450 void *extproc; 04451 04452 extproc = (void *) glGetProcAddress("glProgramEnvParameter4fvARB"); 04453 04454 if (extproc == NULL) { 04455 _ASSERT(0); 04456 return; 04457 } 04458 04459 glProgramEnvParameter4fvARB = extproc; 04460 04461 glProgramEnvParameter4fvARB(target, index, params); 04462 } 04463 04464 static void APIENTRY InitProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 04465 { 04466 void *extproc; 04467 04468 extproc = (void *) glGetProcAddress("glProgramLocalParameter4dARB"); 04469 04470 if (extproc == NULL) { 04471 _ASSERT(0); 04472 return; 04473 } 04474 04475 glProgramLocalParameter4dARB = extproc; 04476 04477 glProgramLocalParameter4dARB(target, index, x, y, z, w); 04478 } 04479 04480 static void APIENTRY InitProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params) 04481 { 04482 void *extproc; 04483 04484 extproc = (void *) glGetProcAddress("glProgramLocalParameter4dvARB"); 04485 04486 if (extproc == NULL) { 04487 _ASSERT(0); 04488 return; 04489 } 04490 04491 glProgramLocalParameter4dvARB = extproc; 04492 04493 glProgramLocalParameter4dvARB(target, index, params); 04494 } 04495 04496 static void APIENTRY InitProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 04497 { 04498 void *extproc; 04499 04500 extproc = (void *) glGetProcAddress("glProgramLocalParameter4fARB"); 04501 04502 if (extproc == NULL) { 04503 _ASSERT(0); 04504 return; 04505 } 04506 04507 glProgramLocalParameter4fARB = extproc; 04508 04509 glProgramLocalParameter4fARB(target, index, x, y, z, w); 04510 } 04511 04512 static void APIENTRY InitProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params) 04513 { 04514 void *extproc; 04515 04516 extproc = (void *) glGetProcAddress("glProgramLocalParameter4fvARB"); 04517 04518 if (extproc == NULL) { 04519 _ASSERT(0); 04520 return; 04521 } 04522 04523 glProgramLocalParameter4fvARB = extproc; 04524 04525 glProgramLocalParameter4fvARB(target, index, params); 04526 } 04527 04528 static void APIENTRY InitGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params) 04529 { 04530 void *extproc; 04531 04532 extproc = (void *) glGetProcAddress("glGetProgramEnvParameterdvARB"); 04533 04534 if (extproc == NULL) { 04535 _ASSERT(0); 04536 return; 04537 } 04538 04539 glGetProgramEnvParameterdvARB = extproc; 04540 04541 glGetProgramEnvParameterdvARB(target, index, params); 04542 } 04543 04544 static void APIENTRY InitGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params) 04545 { 04546 void *extproc; 04547 04548 extproc = (void *) glGetProcAddress("glGetProgramEnvParameterfvARB"); 04549 04550 if (extproc == NULL) { 04551 _ASSERT(0); 04552 return; 04553 } 04554 04555 glGetProgramEnvParameterfvARB = extproc; 04556 04557 glGetProgramEnvParameterfvARB(target, index, params); 04558 } 04559 04560 static void APIENTRY InitGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params) 04561 { 04562 void *extproc; 04563 04564 extproc = (void *) glGetProcAddress("glGetProgramLocalParameterdvARB"); 04565 04566 if (extproc == NULL) { 04567 _ASSERT(0); 04568 return; 04569 } 04570 04571 glGetProgramLocalParameterdvARB = extproc; 04572 04573 glGetProgramLocalParameterdvARB(target, index, params); 04574 } 04575 04576 static void APIENTRY InitGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params) 04577 { 04578 void *extproc; 04579 04580 extproc = (void *) glGetProcAddress("glGetProgramLocalParameterfvARB"); 04581 04582 if (extproc == NULL) { 04583 _ASSERT(0); 04584 return; 04585 } 04586 04587 glGetProgramLocalParameterfvARB = extproc; 04588 04589 glGetProgramLocalParameterfvARB(target, index, params); 04590 } 04591 04592 static void APIENTRY InitGetProgramivARB (GLenum target, GLenum pname, GLint *params) 04593 { 04594 void *extproc; 04595 04596 extproc = (void *) glGetProcAddress("glGetProgramivARB"); 04597 04598 if (extproc == NULL) { 04599 _ASSERT(0); 04600 return; 04601 } 04602 04603 glGetProgramivARB = extproc; 04604 04605 glGetProgramivARB(target, pname, params); 04606 } 04607 04608 static void APIENTRY InitGetProgramStringARB (GLenum target, GLenum pname, GLvoid *string) 04609 { 04610 void *extproc; 04611 04612 extproc = (void *) glGetProcAddress("glGetProgramStringARB"); 04613 04614 if (extproc == NULL) { 04615 _ASSERT(0); 04616 return; 04617 } 04618 04619 glGetProgramStringARB = extproc; 04620 04621 glGetProgramStringARB(target, pname, string); 04622 } 04623 04624 static void APIENTRY InitGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params) 04625 { 04626 void *extproc; 04627 04628 extproc = (void *) glGetProcAddress("glGetVertexAttribdvARB"); 04629 04630 if (extproc == NULL) { 04631 _ASSERT(0); 04632 return; 04633 } 04634 04635 glGetVertexAttribdvARB = extproc; 04636 04637 glGetVertexAttribdvARB(index, pname, params); 04638 } 04639 04640 static void APIENTRY InitGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params) 04641 { 04642 void *extproc; 04643 04644 extproc = (void *) glGetProcAddress("glGetVertexAttribfvARB"); 04645 04646 if (extproc == NULL) { 04647 _ASSERT(0); 04648 return; 04649 } 04650 04651 glGetVertexAttribfvARB = extproc; 04652 04653 glGetVertexAttribfvARB(index, pname, params); 04654 } 04655 04656 static void APIENTRY InitGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params) 04657 { 04658 void *extproc; 04659 04660 extproc = (void *) glGetProcAddress("glGetVertexAttribivARB"); 04661 04662 if (extproc == NULL) { 04663 _ASSERT(0); 04664 return; 04665 } 04666 04667 glGetVertexAttribivARB = extproc; 04668 04669 glGetVertexAttribivARB(index, pname, params); 04670 } 04671 04672 static void APIENTRY InitGetVertexAttribPointervARB (GLuint index, GLenum pname, GLvoid* *pointer) 04673 { 04674 void *extproc; 04675 04676 extproc = (void *) glGetProcAddress("glGetVertexAttribPointervARB"); 04677 04678 if (extproc == NULL) { 04679 _ASSERT(0); 04680 return; 04681 } 04682 04683 glGetVertexAttribPointervARB = extproc; 04684 04685 glGetVertexAttribPointervARB(index, pname, pointer); 04686 } 04687 04688 static GLboolean APIENTRY InitIsProgramARB (GLuint program) 04689 { 04690 void *extproc; 04691 04692 extproc = (void *) glGetProcAddress("glIsProgramARB"); 04693 04694 if (extproc == NULL) { 04695 _ASSERT(0); 04696 return 0; 04697 } 04698 04699 glIsProgramARB = extproc; 04700 04701 return glIsProgramARB(program); 04702 } 04703 04704 static void APIENTRY InitBindBufferARB (GLenum target, GLuint buffer) 04705 { 04706 void *extproc; 04707 04708 extproc = (void *) glGetProcAddress("glBindBufferARB"); 04709 04710 if (extproc == NULL) { 04711 _ASSERT(0); 04712 return; 04713 } 04714 04715 glBindBufferARB = extproc; 04716 04717 glBindBufferARB(target, buffer); 04718 } 04719 04720 static void APIENTRY InitDeleteBuffersARB (GLsizei n, const GLuint *buffers) 04721 { 04722 void *extproc; 04723 04724 extproc = (void *) glGetProcAddress("glDeleteBuffersARB"); 04725 04726 if (extproc == NULL) { 04727 _ASSERT(0); 04728 return; 04729 } 04730 04731 glDeleteBuffersARB = extproc; 04732 04733 glDeleteBuffersARB(n, buffers); 04734 } 04735 04736 static void APIENTRY InitGenBuffersARB (GLsizei n, GLuint *buffers) 04737 { 04738 void *extproc; 04739 04740 extproc = (void *) glGetProcAddress("glGenBuffersARB"); 04741 04742 if (extproc == NULL) { 04743 _ASSERT(0); 04744 return; 04745 } 04746 04747 glGenBuffersARB = extproc; 04748 04749 glGenBuffersARB(n, buffers); 04750 } 04751 04752 static GLboolean APIENTRY InitIsBufferARB (GLuint buffer) 04753 { 04754 void *extproc; 04755 04756 extproc = (void *) glGetProcAddress("glIsBufferARB"); 04757 04758 if (extproc == NULL) { 04759 _ASSERT(0); 04760 return 0; 04761 } 04762 04763 glIsBufferARB = extproc; 04764 04765 return glIsBufferARB(buffer); 04766 } 04767 04768 static void APIENTRY InitBufferDataARB (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage) 04769 { 04770 void *extproc; 04771 04772 extproc = (void *) glGetProcAddress("glBufferDataARB"); 04773 04774 if (extproc == NULL) { 04775 _ASSERT(0); 04776 return; 04777 } 04778 04779 glBufferDataARB = extproc; 04780 04781 glBufferDataARB(target, size, data, usage); 04782 } 04783 04784 static void APIENTRY InitBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data) 04785 { 04786 void *extproc; 04787 04788 extproc = (void *) glGetProcAddress("glBufferSubDataARB"); 04789 04790 if (extproc == NULL) { 04791 _ASSERT(0); 04792 return; 04793 } 04794 04795 glBufferSubDataARB = extproc; 04796 04797 glBufferSubDataARB(target, offset, size, data); 04798 } 04799 04800 static void APIENTRY InitGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data) 04801 { 04802 void *extproc; 04803 04804 extproc = (void *) glGetProcAddress("glGetBufferSubDataARB"); 04805 04806 if (extproc == NULL) { 04807 _ASSERT(0); 04808 return; 04809 } 04810 04811 glGetBufferSubDataARB = extproc; 04812 04813 glGetBufferSubDataARB(target, offset, size, data); 04814 } 04815 04816 static GLvoid* APIENTRY InitMapBufferARB (GLenum target, GLenum access) 04817 { 04818 void *extproc; 04819 04820 extproc = (void *) glGetProcAddress("glMapBufferARB"); 04821 04822 if (extproc == NULL) { 04823 _ASSERT(0); 04824 return 0; 04825 } 04826 04827 glMapBufferARB = extproc; 04828 04829 return glMapBufferARB(target, access); 04830 } 04831 04832 static GLboolean APIENTRY InitUnmapBufferARB (GLenum target) 04833 { 04834 void *extproc; 04835 04836 extproc = (void *) glGetProcAddress("glUnmapBufferARB"); 04837 04838 if (extproc == NULL) { 04839 _ASSERT(0); 04840 return 0; 04841 } 04842 04843 glUnmapBufferARB = extproc; 04844 04845 return glUnmapBufferARB(target); 04846 } 04847 04848 static void APIENTRY InitGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params) 04849 { 04850 void *extproc; 04851 04852 extproc = (void *) glGetProcAddress("glGetBufferParameterivARB"); 04853 04854 if (extproc == NULL) { 04855 _ASSERT(0); 04856 return; 04857 } 04858 04859 glGetBufferParameterivARB = extproc; 04860 04861 glGetBufferParameterivARB(target, pname, params); 04862 } 04863 04864 static void APIENTRY InitGetBufferPointervARB (GLenum target, GLenum pname, GLvoid* *params) 04865 { 04866 void *extproc; 04867 04868 extproc = (void *) glGetProcAddress("glGetBufferPointervARB"); 04869 04870 if (extproc == NULL) { 04871 _ASSERT(0); 04872 return; 04873 } 04874 04875 glGetBufferPointervARB = extproc; 04876 04877 glGetBufferPointervARB(target, pname, params); 04878 } 04879 04880 static void APIENTRY InitGenQueriesARB (GLsizei n, GLuint *ids) 04881 { 04882 void *extproc; 04883 04884 extproc = (void *) glGetProcAddress("glGenQueriesARB"); 04885 04886 if (extproc == NULL) { 04887 _ASSERT(0); 04888 return; 04889 } 04890 04891 glGenQueriesARB = extproc; 04892 04893 glGenQueriesARB(n, ids); 04894 } 04895 04896 static void APIENTRY InitDeleteQueriesARB (GLsizei n, const GLuint *ids) 04897 { 04898 void *extproc; 04899 04900 extproc = (void *) glGetProcAddress("glDeleteQueriesARB"); 04901 04902 if (extproc == NULL) { 04903 _ASSERT(0); 04904 return; 04905 } 04906 04907 glDeleteQueriesARB = extproc; 04908 04909 glDeleteQueriesARB(n, ids); 04910 } 04911 04912 static GLboolean APIENTRY InitIsQueryARB (GLuint id) 04913 { 04914 void *extproc; 04915 04916 extproc = (void *) glGetProcAddress("glIsQueryARB"); 04917 04918 if (extproc == NULL) { 04919 _ASSERT(0); 04920 return 0; 04921 } 04922 04923 glIsQueryARB = extproc; 04924 04925 return glIsQueryARB(id); 04926 } 04927 04928 static void APIENTRY InitBeginQueryARB (GLenum target, GLuint id) 04929 { 04930 void *extproc; 04931 04932 extproc = (void *) glGetProcAddress("glBeginQueryARB"); 04933 04934 if (extproc == NULL) { 04935 _ASSERT(0); 04936 return; 04937 } 04938 04939 glBeginQueryARB = extproc; 04940 04941 glBeginQueryARB(target, id); 04942 } 04943 04944 static void APIENTRY InitEndQueryARB (GLenum target) 04945 { 04946 void *extproc; 04947 04948 extproc = (void *) glGetProcAddress("glEndQueryARB"); 04949 04950 if (extproc == NULL) { 04951 _ASSERT(0); 04952 return; 04953 } 04954 04955 glEndQueryARB = extproc; 04956 04957 glEndQueryARB(target); 04958 } 04959 04960 static void APIENTRY InitGetQueryivARB (GLenum target, GLenum pname, GLint *params) 04961 { 04962 void *extproc; 04963 04964 extproc = (void *) glGetProcAddress("glGetQueryivARB"); 04965 04966 if (extproc == NULL) { 04967 _ASSERT(0); 04968 return; 04969 } 04970 04971 glGetQueryivARB = extproc; 04972 04973 glGetQueryivARB(target, pname, params); 04974 } 04975 04976 static void APIENTRY InitGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params) 04977 { 04978 void *extproc; 04979 04980 extproc = (void *) glGetProcAddress("glGetQueryObjectivARB"); 04981 04982 if (extproc == NULL) { 04983 _ASSERT(0); 04984 return; 04985 } 04986 04987 glGetQueryObjectivARB = extproc; 04988 04989 glGetQueryObjectivARB(id, pname, params); 04990 } 04991 04992 static void APIENTRY InitGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params) 04993 { 04994 void *extproc; 04995 04996 extproc = (void *) glGetProcAddress("glGetQueryObjectuivARB"); 04997 04998 if (extproc == NULL) { 04999 _ASSERT(0); 05000 return; 05001 } 05002 05003 glGetQueryObjectuivARB = extproc; 05004 05005 glGetQueryObjectuivARB(id, pname, params); 05006 } 05007 05008 static void APIENTRY InitDeleteObjectARB (GLhandleARB obj) 05009 { 05010 void *extproc; 05011 05012 extproc = (void *) glGetProcAddress("glDeleteObjectARB"); 05013 05014 if (extproc == NULL) { 05015 _ASSERT(0); 05016 return; 05017 } 05018 05019 glDeleteObjectARB = extproc; 05020 05021 glDeleteObjectARB(obj); 05022 } 05023 05024 static GLhandleARB APIENTRY InitGetHandleARB (GLenum pname) 05025 { 05026 void *extproc; 05027 05028 extproc = (void *) glGetProcAddress("glGetHandleARB"); 05029 05030 if (extproc == NULL) { 05031 _ASSERT(0); 05032 return 0; 05033 } 05034 05035 glGetHandleARB = extproc; 05036 05037 return glGetHandleARB(pname); 05038 } 05039 05040 static void APIENTRY InitDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj) 05041 { 05042 void *extproc; 05043 05044 extproc = (void *) glGetProcAddress("glDetachObjectARB"); 05045 05046 if (extproc == NULL) { 05047 _ASSERT(0); 05048 return; 05049 } 05050 05051 glDetachObjectARB = extproc; 05052 05053 glDetachObjectARB(containerObj, attachedObj); 05054 } 05055 05056 static GLhandleARB APIENTRY InitCreateShaderObjectARB (GLenum shaderType) 05057 { 05058 void *extproc; 05059 05060 extproc = (void *) glGetProcAddress("glCreateShaderObjectARB"); 05061 05062 if (extproc == NULL) { 05063 _ASSERT(0); 05064 return 0; 05065 } 05066 05067 glCreateShaderObjectARB = extproc; 05068 05069 return glCreateShaderObjectARB(shaderType); 05070 } 05071 05072 static void APIENTRY InitShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length) 05073 { 05074 void *extproc; 05075 05076 extproc = (void *) glGetProcAddress("glShaderSourceARB"); 05077 05078 if (extproc == NULL) { 05079 _ASSERT(0); 05080 return; 05081 } 05082 05083 glShaderSourceARB = extproc; 05084 05085 glShaderSourceARB(shaderObj, count, string, length); 05086 } 05087 05088 static void APIENTRY InitCompileShaderARB (GLhandleARB shaderObj) 05089 { 05090 void *extproc; 05091 05092 extproc = (void *) glGetProcAddress("glCompileShaderARB"); 05093 05094 if (extproc == NULL) { 05095 _ASSERT(0); 05096 return; 05097 } 05098 05099 glCompileShaderARB = extproc; 05100 05101 glCompileShaderARB(shaderObj); 05102 } 05103 05104 static GLhandleARB APIENTRY InitCreateProgramObjectARB (void) 05105 { 05106 void *extproc; 05107 05108 extproc = (void *) glGetProcAddress("glCreateProgramObjectARB"); 05109 05110 if (extproc == NULL) { 05111 _ASSERT(0); 05112 return 0; 05113 } 05114 05115 glCreateProgramObjectARB = extproc; 05116 05117 return glCreateProgramObjectARB(); 05118 } 05119 05120 static void APIENTRY InitAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj) 05121 { 05122 void *extproc; 05123 05124 extproc = (void *) glGetProcAddress("glAttachObjectARB"); 05125 05126 if (extproc == NULL) { 05127 _ASSERT(0); 05128 return; 05129 } 05130 05131 glAttachObjectARB = extproc; 05132 05133 glAttachObjectARB(containerObj, obj); 05134 } 05135 05136 static void APIENTRY InitLinkProgramARB (GLhandleARB programObj) 05137 { 05138 void *extproc; 05139 05140 extproc = (void *) glGetProcAddress("glLinkProgramARB"); 05141 05142 if (extproc == NULL) { 05143 _ASSERT(0); 05144 return; 05145 } 05146 05147 glLinkProgramARB = extproc; 05148 05149 glLinkProgramARB(programObj); 05150 } 05151 05152 static void APIENTRY InitUseProgramObjectARB (GLhandleARB programObj) 05153 { 05154 void *extproc; 05155 05156 extproc = (void *) glGetProcAddress("glUseProgramObjectARB"); 05157 05158 if (extproc == NULL) { 05159 _ASSERT(0); 05160 return; 05161 } 05162 05163 glUseProgramObjectARB = extproc; 05164 05165 glUseProgramObjectARB(programObj); 05166 } 05167 05168 static void APIENTRY InitValidateProgramARB (GLhandleARB programObj) 05169 { 05170 void *extproc; 05171 05172 extproc = (void *) glGetProcAddress("glValidateProgramARB"); 05173 05174 if (extproc == NULL) { 05175 _ASSERT(0); 05176 return; 05177 } 05178 05179 glValidateProgramARB = extproc; 05180 05181 glValidateProgramARB(programObj); 05182 } 05183 05184 static void APIENTRY InitUniform1fARB (GLint location, GLfloat v0) 05185 { 05186 void *extproc; 05187 05188 extproc = (void *) glGetProcAddress("glUniform1fARB"); 05189 05190 if (extproc == NULL) { 05191 _ASSERT(0); 05192 return; 05193 } 05194 05195 glUniform1fARB = extproc; 05196 05197 glUniform1fARB(location, v0); 05198 } 05199 05200 static void APIENTRY InitUniform2fARB (GLint location, GLfloat v0, GLfloat v1) 05201 { 05202 void *extproc; 05203 05204 extproc = (void *) glGetProcAddress("glUniform2fARB"); 05205 05206 if (extproc == NULL) { 05207 _ASSERT(0); 05208 return; 05209 } 05210 05211 glUniform2fARB = extproc; 05212 05213 glUniform2fARB(location, v0, v1); 05214 } 05215 05216 static void APIENTRY InitUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) 05217 { 05218 void *extproc; 05219 05220 extproc = (void *) glGetProcAddress("glUniform3fARB"); 05221 05222 if (extproc == NULL) { 05223 _ASSERT(0); 05224 return; 05225 } 05226 05227 glUniform3fARB = extproc; 05228 05229 glUniform3fARB(location, v0, v1, v2); 05230 } 05231 05232 static void APIENTRY InitUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) 05233 { 05234 void *extproc; 05235 05236 extproc = (void *) glGetProcAddress("glUniform4fARB"); 05237 05238 if (extproc == NULL) { 05239 _ASSERT(0); 05240 return; 05241 } 05242 05243 glUniform4fARB = extproc; 05244 05245 glUniform4fARB(location, v0, v1, v2, v3); 05246 } 05247 05248 static void APIENTRY InitUniform1iARB (GLint location, GLint v0) 05249 { 05250 void *extproc; 05251 05252 extproc = (void *) glGetProcAddress("glUniform1iARB"); 05253 05254 if (extproc == NULL) { 05255 _ASSERT(0); 05256 return; 05257 } 05258 05259 glUniform1iARB = extproc; 05260 05261 glUniform1iARB(location, v0); 05262 } 05263 05264 static void APIENTRY InitUniform2iARB (GLint location, GLint v0, GLint v1) 05265 { 05266 void *extproc; 05267 05268 extproc = (void *) glGetProcAddress("glUniform2iARB"); 05269 05270 if (extproc == NULL) { 05271 _ASSERT(0); 05272 return; 05273 } 05274 05275 glUniform2iARB = extproc; 05276 05277 glUniform2iARB(location, v0, v1); 05278 } 05279 05280 static void APIENTRY InitUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2) 05281 { 05282 void *extproc; 05283 05284 extproc = (void *) glGetProcAddress("glUniform3iARB"); 05285 05286 if (extproc == NULL) { 05287 _ASSERT(0); 05288 return; 05289 } 05290 05291 glUniform3iARB = extproc; 05292 05293 glUniform3iARB(location, v0, v1, v2); 05294 } 05295 05296 static void APIENTRY InitUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) 05297 { 05298 void *extproc; 05299 05300 extproc = (void *) glGetProcAddress("glUniform4iARB"); 05301 05302 if (extproc == NULL) { 05303 _ASSERT(0); 05304 return; 05305 } 05306 05307 glUniform4iARB = extproc; 05308 05309 glUniform4iARB(location, v0, v1, v2, v3); 05310 } 05311 05312 static void APIENTRY InitUniform1fvARB (GLint location, GLsizei count, const GLfloat *value) 05313 { 05314 void *extproc; 05315 05316 extproc = (void *) glGetProcAddress("glUniform1fvARB"); 05317 05318 if (extproc == NULL) { 05319 _ASSERT(0); 05320 return; 05321 } 05322 05323 glUniform1fvARB = extproc; 05324 05325 glUniform1fvARB(location, count, value); 05326 } 05327 05328 static void APIENTRY InitUniform2fvARB (GLint location, GLsizei count, const GLfloat *value) 05329 { 05330 void *extproc; 05331 05332 extproc = (void *) glGetProcAddress("glUniform2fvARB"); 05333 05334 if (extproc == NULL) { 05335 _ASSERT(0); 05336 return; 05337 } 05338 05339 glUniform2fvARB = extproc; 05340 05341 glUniform2fvARB(location, count, value); 05342 } 05343 05344 static void APIENTRY InitUniform3fvARB (GLint location, GLsizei count, const GLfloat *value) 05345 { 05346 void *extproc; 05347 05348 extproc = (void *) glGetProcAddress("glUniform3fvARB"); 05349 05350 if (extproc == NULL) { 05351 _ASSERT(0); 05352 return; 05353 } 05354 05355 glUniform3fvARB = extproc; 05356 05357 glUniform3fvARB(location, count, value); 05358 } 05359 05360 static void APIENTRY InitUniform4fvARB (GLint location, GLsizei count, const GLfloat *value) 05361 { 05362 void *extproc; 05363 05364 extproc = (void *) glGetProcAddress("glUniform4fvARB"); 05365 05366 if (extproc == NULL) { 05367 _ASSERT(0); 05368 return; 05369 } 05370 05371 glUniform4fvARB = extproc; 05372 05373 glUniform4fvARB(location, count, value); 05374 } 05375 05376 static void APIENTRY InitUniform1ivARB (GLint location, GLsizei count, const GLint *value) 05377 { 05378 void *extproc; 05379 05380 extproc = (void *) glGetProcAddress("glUniform1ivARB"); 05381 05382 if (extproc == NULL) { 05383 _ASSERT(0); 05384 return; 05385 } 05386 05387 glUniform1ivARB = extproc; 05388 05389 glUniform1ivARB(location, count, value); 05390 } 05391 05392 static void APIENTRY InitUniform2ivARB (GLint location, GLsizei count, const GLint *value) 05393 { 05394 void *extproc; 05395 05396 extproc = (void *) glGetProcAddress("glUniform2ivARB"); 05397 05398 if (extproc == NULL) { 05399 _ASSERT(0); 05400 return; 05401 } 05402 05403 glUniform2ivARB = extproc; 05404 05405 glUniform2ivARB(location, count, value); 05406 } 05407 05408 static void APIENTRY InitUniform3ivARB (GLint location, GLsizei count, const GLint *value) 05409 { 05410 void *extproc; 05411 05412 extproc = (void *) glGetProcAddress("glUniform3ivARB"); 05413 05414 if (extproc == NULL) { 05415 _ASSERT(0); 05416 return; 05417 } 05418 05419 glUniform3ivARB = extproc; 05420 05421 glUniform3ivARB(location, count, value); 05422 } 05423 05424 static void APIENTRY InitUniform4ivARB (GLint location, GLsizei count, const GLint *value) 05425 { 05426 void *extproc; 05427 05428 extproc = (void *) glGetProcAddress("glUniform4ivARB"); 05429 05430 if (extproc == NULL) { 05431 _ASSERT(0); 05432 return; 05433 } 05434 05435 glUniform4ivARB = extproc; 05436 05437 glUniform4ivARB(location, count, value); 05438 } 05439 05440 static void APIENTRY InitUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 05441 { 05442 void *extproc; 05443 05444 extproc = (void *) glGetProcAddress("glUniformMatrix2fvARB"); 05445 05446 if (extproc == NULL) { 05447 _ASSERT(0); 05448 return; 05449 } 05450 05451 glUniformMatrix2fvARB = extproc; 05452 05453 glUniformMatrix2fvARB(location, count, transpose, value); 05454 } 05455 05456 static void APIENTRY InitUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 05457 { 05458 void *extproc; 05459 05460 extproc = (void *) glGetProcAddress("glUniformMatrix3fvARB"); 05461 05462 if (extproc == NULL) { 05463 _ASSERT(0); 05464 return; 05465 } 05466 05467 glUniformMatrix3fvARB = extproc; 05468 05469 glUniformMatrix3fvARB(location, count, transpose, value); 05470 } 05471 05472 static void APIENTRY InitUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 05473 { 05474 void *extproc; 05475 05476 extproc = (void *) glGetProcAddress("glUniformMatrix4fvARB"); 05477 05478 if (extproc == NULL) { 05479 _ASSERT(0); 05480 return; 05481 } 05482 05483 glUniformMatrix4fvARB = extproc; 05484 05485 glUniformMatrix4fvARB(location, count, transpose, value); 05486 } 05487 05488 static void APIENTRY InitGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params) 05489 { 05490 void *extproc; 05491 05492 extproc = (void *) glGetProcAddress("glGetObjectParameterfvARB"); 05493 05494 if (extproc == NULL) { 05495 _ASSERT(0); 05496 return; 05497 } 05498 05499 glGetObjectParameterfvARB = extproc; 05500 05501 glGetObjectParameterfvARB(obj, pname, params); 05502 } 05503 05504 static void APIENTRY InitGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params) 05505 { 05506 void *extproc; 05507 05508 extproc = (void *) glGetProcAddress("glGetObjectParameterivARB"); 05509 05510 if (extproc == NULL) { 05511 _ASSERT(0); 05512 return; 05513 } 05514 05515 glGetObjectParameterivARB = extproc; 05516 05517 glGetObjectParameterivARB(obj, pname, params); 05518 } 05519 05520 static void APIENTRY InitGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog) 05521 { 05522 void *extproc; 05523 05524 extproc = (void *) glGetProcAddress("glGetInfoLogARB"); 05525 05526 if (extproc == NULL) { 05527 _ASSERT(0); 05528 return; 05529 } 05530 05531 glGetInfoLogARB = extproc; 05532 05533 glGetInfoLogARB(obj, maxLength, length, infoLog); 05534 } 05535 05536 static void APIENTRY InitGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj) 05537 { 05538 void *extproc; 05539 05540 extproc = (void *) glGetProcAddress("glGetAttachedObjectsARB"); 05541 05542 if (extproc == NULL) { 05543 _ASSERT(0); 05544 return; 05545 } 05546 05547 glGetAttachedObjectsARB = extproc; 05548 05549 glGetAttachedObjectsARB(containerObj, maxCount, count, obj); 05550 } 05551 05552 static GLint APIENTRY InitGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name) 05553 { 05554 void *extproc; 05555 05556 extproc = (void *) glGetProcAddress("glGetUniformLocationARB"); 05557 05558 if (extproc == NULL) { 05559 _ASSERT(0); 05560 return 0; 05561 } 05562 05563 glGetUniformLocationARB = extproc; 05564 05565 return glGetUniformLocationARB(programObj, name); 05566 } 05567 05568 static void APIENTRY InitGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name) 05569 { 05570 void *extproc; 05571 05572 extproc = (void *) glGetProcAddress("glGetActiveUniformARB"); 05573 05574 if (extproc == NULL) { 05575 _ASSERT(0); 05576 return; 05577 } 05578 05579 glGetActiveUniformARB = extproc; 05580 05581 glGetActiveUniformARB(programObj, index, maxLength, length, size, type, name); 05582 } 05583 05584 static void APIENTRY InitGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params) 05585 { 05586 void *extproc; 05587 05588 extproc = (void *) glGetProcAddress("glGetUniformfvARB"); 05589 05590 if (extproc == NULL) { 05591 _ASSERT(0); 05592 return; 05593 } 05594 05595 glGetUniformfvARB = extproc; 05596 05597 glGetUniformfvARB(programObj, location, params); 05598 } 05599 05600 static void APIENTRY InitGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params) 05601 { 05602 void *extproc; 05603 05604 extproc = (void *) glGetProcAddress("glGetUniformivARB"); 05605 05606 if (extproc == NULL) { 05607 _ASSERT(0); 05608 return; 05609 } 05610 05611 glGetUniformivARB = extproc; 05612 05613 glGetUniformivARB(programObj, location, params); 05614 } 05615 05616 static void APIENTRY InitGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source) 05617 { 05618 void *extproc; 05619 05620 extproc = (void *) glGetProcAddress("glGetShaderSourceARB"); 05621 05622 if (extproc == NULL) { 05623 _ASSERT(0); 05624 return; 05625 } 05626 05627 glGetShaderSourceARB = extproc; 05628 05629 glGetShaderSourceARB(obj, maxLength, length, source); 05630 } 05631 05632 static void APIENTRY InitBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name) 05633 { 05634 void *extproc; 05635 05636 extproc = (void *) glGetProcAddress("glBindAttribLocationARB"); 05637 05638 if (extproc == NULL) { 05639 _ASSERT(0); 05640 return; 05641 } 05642 05643 glBindAttribLocationARB = extproc; 05644 05645 glBindAttribLocationARB(programObj, index, name); 05646 } 05647 05648 static void APIENTRY InitGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name) 05649 { 05650 void *extproc; 05651 05652 extproc = (void *) glGetProcAddress("glGetActiveAttribARB"); 05653 05654 if (extproc == NULL) { 05655 _ASSERT(0); 05656 return; 05657 } 05658 05659 glGetActiveAttribARB = extproc; 05660 05661 glGetActiveAttribARB(programObj, index, maxLength, length, size, type, name); 05662 } 05663 05664 static GLint APIENTRY InitGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name) 05665 { 05666 void *extproc; 05667 05668 extproc = (void *) glGetProcAddress("glGetAttribLocationARB"); 05669 05670 if (extproc == NULL) { 05671 _ASSERT(0); 05672 return 0; 05673 } 05674 05675 glGetAttribLocationARB = extproc; 05676 05677 return glGetAttribLocationARB(programObj, name); 05678 } 05679 05680 static void APIENTRY InitBlendColorEXT (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) 05681 { 05682 void *extproc; 05683 05684 extproc = (void *) glGetProcAddress("glBlendColorEXT"); 05685 05686 if (extproc == NULL) { 05687 _ASSERT(0); 05688 return; 05689 } 05690 05691 glBlendColorEXT = extproc; 05692 05693 glBlendColorEXT(red, green, blue, alpha); 05694 } 05695 05696 static void APIENTRY InitPolygonOffsetEXT (GLfloat factor, GLfloat bias) 05697 { 05698 void *extproc; 05699 05700 extproc = (void *) glGetProcAddress("glPolygonOffsetEXT"); 05701 05702 if (extproc == NULL) { 05703 _ASSERT(0); 05704 return; 05705 } 05706 05707 glPolygonOffsetEXT = extproc; 05708 05709 glPolygonOffsetEXT(factor, bias); 05710 } 05711 05712 static void APIENTRY InitTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) 05713 { 05714 void *extproc; 05715 05716 extproc = (void *) glGetProcAddress("glTexImage3DEXT"); 05717 05718 if (extproc == NULL) { 05719 _ASSERT(0); 05720 return; 05721 } 05722 05723 glTexImage3DEXT = extproc; 05724 05725 glTexImage3DEXT(target, level, internalformat, width, height, depth, border, format, type, pixels); 05726 } 05727 05728 static void APIENTRY InitTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) 05729 { 05730 void *extproc; 05731 05732 extproc = (void *) glGetProcAddress("glTexSubImage3DEXT"); 05733 05734 if (extproc == NULL) { 05735 _ASSERT(0); 05736 return; 05737 } 05738 05739 glTexSubImage3DEXT = extproc; 05740 05741 glTexSubImage3DEXT(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 05742 } 05743 05744 static void APIENTRY InitGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights) 05745 { 05746 void *extproc; 05747 05748 extproc = (void *) glGetProcAddress("glGetTexFilterFuncSGIS"); 05749 05750 if (extproc == NULL) { 05751 _ASSERT(0); 05752 return; 05753 } 05754 05755 glGetTexFilterFuncSGIS = extproc; 05756 05757 glGetTexFilterFuncSGIS(target, filter, weights); 05758 } 05759 05760 static void APIENTRY InitTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights) 05761 { 05762 void *extproc; 05763 05764 extproc = (void *) glGetProcAddress("glTexFilterFuncSGIS"); 05765 05766 if (extproc == NULL) { 05767 _ASSERT(0); 05768 return; 05769 } 05770 05771 glTexFilterFuncSGIS = extproc; 05772 05773 glTexFilterFuncSGIS(target, filter, n, weights); 05774 } 05775 05776 static void APIENTRY InitTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) 05777 { 05778 void *extproc; 05779 05780 extproc = (void *) glGetProcAddress("glTexSubImage1DEXT"); 05781 05782 if (extproc == NULL) { 05783 _ASSERT(0); 05784 return; 05785 } 05786 05787 glTexSubImage1DEXT = extproc; 05788 05789 glTexSubImage1DEXT(target, level, xoffset, width, format, type, pixels); 05790 } 05791 05792 static void APIENTRY InitTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) 05793 { 05794 void *extproc; 05795 05796 extproc = (void *) glGetProcAddress("glTexSubImage2DEXT"); 05797 05798 if (extproc == NULL) { 05799 _ASSERT(0); 05800 return; 05801 } 05802 05803 glTexSubImage2DEXT = extproc; 05804 05805 glTexSubImage2DEXT(target, level, xoffset, yoffset, width, height, format, type, pixels); 05806 } 05807 05808 static void APIENTRY InitCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) 05809 { 05810 void *extproc; 05811 05812 extproc = (void *) glGetProcAddress("glCopyTexImage1DEXT"); 05813 05814 if (extproc == NULL) { 05815 _ASSERT(0); 05816 return; 05817 } 05818 05819 glCopyTexImage1DEXT = extproc; 05820 05821 glCopyTexImage1DEXT(target, level, internalformat, x, y, width, border); 05822 } 05823 05824 static void APIENTRY InitCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) 05825 { 05826 void *extproc; 05827 05828 extproc = (void *) glGetProcAddress("glCopyTexImage2DEXT"); 05829 05830 if (extproc == NULL) { 05831 _ASSERT(0); 05832 return; 05833 } 05834 05835 glCopyTexImage2DEXT = extproc; 05836 05837 glCopyTexImage2DEXT(target, level, internalformat, x, y, width, height, border); 05838 } 05839 05840 static void APIENTRY InitCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) 05841 { 05842 void *extproc; 05843 05844 extproc = (void *) glGetProcAddress("glCopyTexSubImage1DEXT"); 05845 05846 if (extproc == NULL) { 05847 _ASSERT(0); 05848 return; 05849 } 05850 05851 glCopyTexSubImage1DEXT = extproc; 05852 05853 glCopyTexSubImage1DEXT(target, level, xoffset, x, y, width); 05854 } 05855 05856 static void APIENTRY InitCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) 05857 { 05858 void *extproc; 05859 05860 extproc = (void *) glGetProcAddress("glCopyTexSubImage2DEXT"); 05861 05862 if (extproc == NULL) { 05863 _ASSERT(0); 05864 return; 05865 } 05866 05867 glCopyTexSubImage2DEXT = extproc; 05868 05869 glCopyTexSubImage2DEXT(target, level, xoffset, yoffset, x, y, width, height); 05870 } 05871 05872 static void APIENTRY InitCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) 05873 { 05874 void *extproc; 05875 05876 extproc = (void *) glGetProcAddress("glCopyTexSubImage3DEXT"); 05877 05878 if (extproc == NULL) { 05879 _ASSERT(0); 05880 return; 05881 } 05882 05883 glCopyTexSubImage3DEXT = extproc; 05884 05885 glCopyTexSubImage3DEXT(target, level, xoffset, yoffset, zoffset, x, y, width, height); 05886 } 05887 05888 static void APIENTRY InitGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) 05889 { 05890 void *extproc; 05891 05892 extproc = (void *) glGetProcAddress("glGetHistogramEXT"); 05893 05894 if (extproc == NULL) { 05895 _ASSERT(0); 05896 return; 05897 } 05898 05899 glGetHistogramEXT = extproc; 05900 05901 glGetHistogramEXT(target, reset, format, type, values); 05902 } 05903 05904 static void APIENTRY InitGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params) 05905 { 05906 void *extproc; 05907 05908 extproc = (void *) glGetProcAddress("glGetHistogramParameterfvEXT"); 05909 05910 if (extproc == NULL) { 05911 _ASSERT(0); 05912 return; 05913 } 05914 05915 glGetHistogramParameterfvEXT = extproc; 05916 05917 glGetHistogramParameterfvEXT(target, pname, params); 05918 } 05919 05920 static void APIENTRY InitGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params) 05921 { 05922 void *extproc; 05923 05924 extproc = (void *) glGetProcAddress("glGetHistogramParameterivEXT"); 05925 05926 if (extproc == NULL) { 05927 _ASSERT(0); 05928 return; 05929 } 05930 05931 glGetHistogramParameterivEXT = extproc; 05932 05933 glGetHistogramParameterivEXT(target, pname, params); 05934 } 05935 05936 static void APIENTRY InitGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) 05937 { 05938 void *extproc; 05939 05940 extproc = (void *) glGetProcAddress("glGetMinmaxEXT"); 05941 05942 if (extproc == NULL) { 05943 _ASSERT(0); 05944 return; 05945 } 05946 05947 glGetMinmaxEXT = extproc; 05948 05949 glGetMinmaxEXT(target, reset, format, type, values); 05950 } 05951 05952 static void APIENTRY InitGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params) 05953 { 05954 void *extproc; 05955 05956 extproc = (void *) glGetProcAddress("glGetMinmaxParameterfvEXT"); 05957 05958 if (extproc == NULL) { 05959 _ASSERT(0); 05960 return; 05961 } 05962 05963 glGetMinmaxParameterfvEXT = extproc; 05964 05965 glGetMinmaxParameterfvEXT(target, pname, params); 05966 } 05967 05968 static void APIENTRY InitGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params) 05969 { 05970 void *extproc; 05971 05972 extproc = (void *) glGetProcAddress("glGetMinmaxParameterivEXT"); 05973 05974 if (extproc == NULL) { 05975 _ASSERT(0); 05976 return; 05977 } 05978 05979 glGetMinmaxParameterivEXT = extproc; 05980 05981 glGetMinmaxParameterivEXT(target, pname, params); 05982 } 05983 05984 static void APIENTRY InitHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) 05985 { 05986 void *extproc; 05987 05988 extproc = (void *) glGetProcAddress("glHistogramEXT"); 05989 05990 if (extproc == NULL) { 05991 _ASSERT(0); 05992 return; 05993 } 05994 05995 glHistogramEXT = extproc; 05996 05997 glHistogramEXT(target, width, internalformat, sink); 05998 } 05999 06000 static void APIENTRY InitMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink) 06001 { 06002 void *extproc; 06003 06004 extproc = (void *) glGetProcAddress("glMinmaxEXT"); 06005 06006 if (extproc == NULL) { 06007 _ASSERT(0); 06008 return; 06009 } 06010 06011 glMinmaxEXT = extproc; 06012 06013 glMinmaxEXT(target, internalformat, sink); 06014 } 06015 06016 static void APIENTRY InitResetHistogramEXT (GLenum target) 06017 { 06018 void *extproc; 06019 06020 extproc = (void *) glGetProcAddress("glResetHistogramEXT"); 06021 06022 if (extproc == NULL) { 06023 _ASSERT(0); 06024 return; 06025 } 06026 06027 glResetHistogramEXT = extproc; 06028 06029 glResetHistogramEXT(target); 06030 } 06031 06032 static void APIENTRY InitResetMinmaxEXT (GLenum target) 06033 { 06034 void *extproc; 06035 06036 extproc = (void *) glGetProcAddress("glResetMinmaxEXT"); 06037 06038 if (extproc == NULL) { 06039 _ASSERT(0); 06040 return; 06041 } 06042 06043 glResetMinmaxEXT = extproc; 06044 06045 glResetMinmaxEXT(target); 06046 } 06047 06048 static void APIENTRY InitConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) 06049 { 06050 void *extproc; 06051 06052 extproc = (void *) glGetProcAddress("glConvolutionFilter1DEXT"); 06053 06054 if (extproc == NULL) { 06055 _ASSERT(0); 06056 return; 06057 } 06058 06059 glConvolutionFilter1DEXT = extproc; 06060 06061 glConvolutionFilter1DEXT(target, internalformat, width, format, type, image); 06062 } 06063 06064 static void APIENTRY InitConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) 06065 { 06066 void *extproc; 06067 06068 extproc = (void *) glGetProcAddress("glConvolutionFilter2DEXT"); 06069 06070 if (extproc == NULL) { 06071 _ASSERT(0); 06072 return; 06073 } 06074 06075 glConvolutionFilter2DEXT = extproc; 06076 06077 glConvolutionFilter2DEXT(target, internalformat, width, height, format, type, image); 06078 } 06079 06080 static void APIENTRY InitConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params) 06081 { 06082 void *extproc; 06083 06084 extproc = (void *) glGetProcAddress("glConvolutionParameterfEXT"); 06085 06086 if (extproc == NULL) { 06087 _ASSERT(0); 06088 return; 06089 } 06090 06091 glConvolutionParameterfEXT = extproc; 06092 06093 glConvolutionParameterfEXT(target, pname, params); 06094 } 06095 06096 static void APIENTRY InitConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params) 06097 { 06098 void *extproc; 06099 06100 extproc = (void *) glGetProcAddress("glConvolutionParameterfvEXT"); 06101 06102 if (extproc == NULL) { 06103 _ASSERT(0); 06104 return; 06105 } 06106 06107 glConvolutionParameterfvEXT = extproc; 06108 06109 glConvolutionParameterfvEXT(target, pname, params); 06110 } 06111 06112 static void APIENTRY InitConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params) 06113 { 06114 void *extproc; 06115 06116 extproc = (void *) glGetProcAddress("glConvolutionParameteriEXT"); 06117 06118 if (extproc == NULL) { 06119 _ASSERT(0); 06120 return; 06121 } 06122 06123 glConvolutionParameteriEXT = extproc; 06124 06125 glConvolutionParameteriEXT(target, pname, params); 06126 } 06127 06128 static void APIENTRY InitConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params) 06129 { 06130 void *extproc; 06131 06132 extproc = (void *) glGetProcAddress("glConvolutionParameterivEXT"); 06133 06134 if (extproc == NULL) { 06135 _ASSERT(0); 06136 return; 06137 } 06138 06139 glConvolutionParameterivEXT = extproc; 06140 06141 glConvolutionParameterivEXT(target, pname, params); 06142 } 06143 06144 static void APIENTRY InitCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) 06145 { 06146 void *extproc; 06147 06148 extproc = (void *) glGetProcAddress("glCopyConvolutionFilter1DEXT"); 06149 06150 if (extproc == NULL) { 06151 _ASSERT(0); 06152 return; 06153 } 06154 06155 glCopyConvolutionFilter1DEXT = extproc; 06156 06157 glCopyConvolutionFilter1DEXT(target, internalformat, x, y, width); 06158 } 06159 06160 static void APIENTRY InitCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) 06161 { 06162 void *extproc; 06163 06164 extproc = (void *) glGetProcAddress("glCopyConvolutionFilter2DEXT"); 06165 06166 if (extproc == NULL) { 06167 _ASSERT(0); 06168 return; 06169 } 06170 06171 glCopyConvolutionFilter2DEXT = extproc; 06172 06173 glCopyConvolutionFilter2DEXT(target, internalformat, x, y, width, height); 06174 } 06175 06176 static void APIENTRY InitGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *image) 06177 { 06178 void *extproc; 06179 06180 extproc = (void *) glGetProcAddress("glGetConvolutionFilterEXT"); 06181 06182 if (extproc == NULL) { 06183 _ASSERT(0); 06184 return; 06185 } 06186 06187 glGetConvolutionFilterEXT = extproc; 06188 06189 glGetConvolutionFilterEXT(target, format, type, image); 06190 } 06191 06192 static void APIENTRY InitGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params) 06193 { 06194 void *extproc; 06195 06196 extproc = (void *) glGetProcAddress("glGetConvolutionParameterfvEXT"); 06197 06198 if (extproc == NULL) { 06199 _ASSERT(0); 06200 return; 06201 } 06202 06203 glGetConvolutionParameterfvEXT = extproc; 06204 06205 glGetConvolutionParameterfvEXT(target, pname, params); 06206 } 06207 06208 static void APIENTRY InitGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params) 06209 { 06210 void *extproc; 06211 06212 extproc = (void *) glGetProcAddress("glGetConvolutionParameterivEXT"); 06213 06214 if (extproc == NULL) { 06215 _ASSERT(0); 06216 return; 06217 } 06218 06219 glGetConvolutionParameterivEXT = extproc; 06220 06221 glGetConvolutionParameterivEXT(target, pname, params); 06222 } 06223 06224 static void APIENTRY InitGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) 06225 { 06226 void *extproc; 06227 06228 extproc = (void *) glGetProcAddress("glGetSeparableFilterEXT"); 06229 06230 if (extproc == NULL) { 06231 _ASSERT(0); 06232 return; 06233 } 06234 06235 glGetSeparableFilterEXT = extproc; 06236 06237 glGetSeparableFilterEXT(target, format, type, row, column, span); 06238 } 06239 06240 static void APIENTRY InitSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) 06241 { 06242 void *extproc; 06243 06244 extproc = (void *) glGetProcAddress("glSeparableFilter2DEXT"); 06245 06246 if (extproc == NULL) { 06247 _ASSERT(0); 06248 return; 06249 } 06250 06251 glSeparableFilter2DEXT = extproc; 06252 06253 glSeparableFilter2DEXT(target, internalformat, width, height, format, type, row, column); 06254 } 06255 06256 static void APIENTRY InitColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) 06257 { 06258 void *extproc; 06259 06260 extproc = (void *) glGetProcAddress("glColorTableSGI"); 06261 06262 if (extproc == NULL) { 06263 _ASSERT(0); 06264 return; 06265 } 06266 06267 glColorTableSGI = extproc; 06268 06269 glColorTableSGI(target, internalformat, width, format, type, table); 06270 } 06271 06272 static void APIENTRY InitColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params) 06273 { 06274 void *extproc; 06275 06276 extproc = (void *) glGetProcAddress("glColorTableParameterfvSGI"); 06277 06278 if (extproc == NULL) { 06279 _ASSERT(0); 06280 return; 06281 } 06282 06283 glColorTableParameterfvSGI = extproc; 06284 06285 glColorTableParameterfvSGI(target, pname, params); 06286 } 06287 06288 static void APIENTRY InitColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params) 06289 { 06290 void *extproc; 06291 06292 extproc = (void *) glGetProcAddress("glColorTableParameterivSGI"); 06293 06294 if (extproc == NULL) { 06295 _ASSERT(0); 06296 return; 06297 } 06298 06299 glColorTableParameterivSGI = extproc; 06300 06301 glColorTableParameterivSGI(target, pname, params); 06302 } 06303 06304 static void APIENTRY InitCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) 06305 { 06306 void *extproc; 06307 06308 extproc = (void *) glGetProcAddress("glCopyColorTableSGI"); 06309 06310 if (extproc == NULL) { 06311 _ASSERT(0); 06312 return; 06313 } 06314 06315 glCopyColorTableSGI = extproc; 06316 06317 glCopyColorTableSGI(target, internalformat, x, y, width); 06318 } 06319 06320 static void APIENTRY InitGetColorTableSGI (GLenum target, GLenum format, GLenum type, GLvoid *table) 06321 { 06322 void *extproc; 06323 06324 extproc = (void *) glGetProcAddress("glGetColorTableSGI"); 06325 06326 if (extproc == NULL) { 06327 _ASSERT(0); 06328 return; 06329 } 06330 06331 glGetColorTableSGI = extproc; 06332 06333 glGetColorTableSGI(target, format, type, table); 06334 } 06335 06336 static void APIENTRY InitGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params) 06337 { 06338 void *extproc; 06339 06340 extproc = (void *) glGetProcAddress("glGetColorTableParameterfvSGI"); 06341 06342 if (extproc == NULL) { 06343 _ASSERT(0); 06344 return; 06345 } 06346 06347 glGetColorTableParameterfvSGI = extproc; 06348 06349 glGetColorTableParameterfvSGI(target, pname, params); 06350 } 06351 06352 static void APIENTRY InitGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params) 06353 { 06354 void *extproc; 06355 06356 extproc = (void *) glGetProcAddress("glGetColorTableParameterivSGI"); 06357 06358 if (extproc == NULL) { 06359 _ASSERT(0); 06360 return; 06361 } 06362 06363 glGetColorTableParameterivSGI = extproc; 06364 06365 glGetColorTableParameterivSGI(target, pname, params); 06366 } 06367 06368 static void APIENTRY InitPixelTexGenSGIX (GLenum mode) 06369 { 06370 void *extproc; 06371 06372 extproc = (void *) glGetProcAddress("glPixelTexGenSGIX"); 06373 06374 if (extproc == NULL) { 06375 _ASSERT(0); 06376 return; 06377 } 06378 06379 glPixelTexGenSGIX = extproc; 06380 06381 glPixelTexGenSGIX(mode); 06382 } 06383 06384 static void APIENTRY InitPixelTexGenParameteriSGIS (GLenum pname, GLint param) 06385 { 06386 void *extproc; 06387 06388 extproc = (void *) glGetProcAddress("glPixelTexGenParameteriSGIS"); 06389 06390 if (extproc == NULL) { 06391 _ASSERT(0); 06392 return; 06393 } 06394 06395 glPixelTexGenParameteriSGIS = extproc; 06396 06397 glPixelTexGenParameteriSGIS(pname, param); 06398 } 06399 06400 static void APIENTRY InitPixelTexGenParameterivSGIS (GLenum pname, const GLint *params) 06401 { 06402 void *extproc; 06403 06404 extproc = (void *) glGetProcAddress("glPixelTexGenParameterivSGIS"); 06405 06406 if (extproc == NULL) { 06407 _ASSERT(0); 06408 return; 06409 } 06410 06411 glPixelTexGenParameterivSGIS = extproc; 06412 06413 glPixelTexGenParameterivSGIS(pname, params); 06414 } 06415 06416 static void APIENTRY InitPixelTexGenParameterfSGIS (GLenum pname, GLfloat param) 06417 { 06418 void *extproc; 06419 06420 extproc = (void *) glGetProcAddress("glPixelTexGenParameterfSGIS"); 06421 06422 if (extproc == NULL) { 06423 _ASSERT(0); 06424 return; 06425 } 06426 06427 glPixelTexGenParameterfSGIS = extproc; 06428 06429 glPixelTexGenParameterfSGIS(pname, param); 06430 } 06431 06432 static void APIENTRY InitPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params) 06433 { 06434 void *extproc; 06435 06436 extproc = (void *) glGetProcAddress("glPixelTexGenParameterfvSGIS"); 06437 06438 if (extproc == NULL) { 06439 _ASSERT(0); 06440 return; 06441 } 06442 06443 glPixelTexGenParameterfvSGIS = extproc; 06444 06445 glPixelTexGenParameterfvSGIS(pname, params); 06446 } 06447 06448 static void APIENTRY InitGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params) 06449 { 06450 void *extproc; 06451 06452 extproc = (void *) glGetProcAddress("glGetPixelTexGenParameterivSGIS"); 06453 06454 if (extproc == NULL) { 06455 _ASSERT(0); 06456 return; 06457 } 06458 06459 glGetPixelTexGenParameterivSGIS = extproc; 06460 06461 glGetPixelTexGenParameterivSGIS(pname, params); 06462 } 06463 06464 static void APIENTRY InitGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params) 06465 { 06466 void *extproc; 06467 06468 extproc = (void *) glGetProcAddress("glGetPixelTexGenParameterfvSGIS"); 06469 06470 if (extproc == NULL) { 06471 _ASSERT(0); 06472 return; 06473 } 06474 06475 glGetPixelTexGenParameterfvSGIS = extproc; 06476 06477 glGetPixelTexGenParameterfvSGIS(pname, params); 06478 } 06479 06480 static void APIENTRY InitTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels) 06481 { 06482 void *extproc; 06483 06484 extproc = (void *) glGetProcAddress("glTexImage4DSGIS"); 06485 06486 if (extproc == NULL) { 06487 _ASSERT(0); 06488 return; 06489 } 06490 06491 glTexImage4DSGIS = extproc; 06492 06493 glTexImage4DSGIS(target, level, internalformat, width, height, depth, size4d, border, format, type, pixels); 06494 } 06495 06496 static void APIENTRY InitTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels) 06497 { 06498 void *extproc; 06499 06500 extproc = (void *) glGetProcAddress("glTexSubImage4DSGIS"); 06501 06502 if (extproc == NULL) { 06503 _ASSERT(0); 06504 return; 06505 } 06506 06507 glTexSubImage4DSGIS = extproc; 06508 06509 glTexSubImage4DSGIS(target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels); 06510 } 06511 06512 static GLboolean APIENTRY InitAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences) 06513 { 06514 void *extproc; 06515 06516 extproc = (void *) glGetProcAddress("glAreTexturesResidentEXT"); 06517 06518 if (extproc == NULL) { 06519 _ASSERT(0); 06520 return 0; 06521 } 06522 06523 glAreTexturesResidentEXT = extproc; 06524 06525 return glAreTexturesResidentEXT(n, textures, residences); 06526 } 06527 06528 static void APIENTRY InitBindTextureEXT (GLenum target, GLuint texture) 06529 { 06530 void *extproc; 06531 06532 extproc = (void *) glGetProcAddress("glBindTextureEXT"); 06533 06534 if (extproc == NULL) { 06535 _ASSERT(0); 06536 return; 06537 } 06538 06539 glBindTextureEXT = extproc; 06540 06541 glBindTextureEXT(target, texture); 06542 } 06543 06544 static void APIENTRY InitDeleteTexturesEXT (GLsizei n, const GLuint *textures) 06545 { 06546 void *extproc; 06547 06548 extproc = (void *) glGetProcAddress("glDeleteTexturesEXT"); 06549 06550 if (extproc == NULL) { 06551 _ASSERT(0); 06552 return; 06553 } 06554 06555 glDeleteTexturesEXT = extproc; 06556 06557 glDeleteTexturesEXT(n, textures); 06558 } 06559 06560 static void APIENTRY InitGenTexturesEXT (GLsizei n, GLuint *textures) 06561 { 06562 void *extproc; 06563 06564 extproc = (void *) glGetProcAddress("glGenTexturesEXT"); 06565 06566 if (extproc == NULL) { 06567 _ASSERT(0); 06568 return; 06569 } 06570 06571 glGenTexturesEXT = extproc; 06572 06573 glGenTexturesEXT(n, textures); 06574 } 06575 06576 static GLboolean APIENTRY InitIsTextureEXT (GLuint texture) 06577 { 06578 void *extproc; 06579 06580 extproc = (void *) glGetProcAddress("glIsTextureEXT"); 06581 06582 if (extproc == NULL) { 06583 _ASSERT(0); 06584 return 0; 06585 } 06586 06587 glIsTextureEXT = extproc; 06588 06589 return glIsTextureEXT(texture); 06590 } 06591 06592 static void APIENTRY InitPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities) 06593 { 06594 void *extproc; 06595 06596 extproc = (void *) glGetProcAddress("glPrioritizeTexturesEXT"); 06597 06598 if (extproc == NULL) { 06599 _ASSERT(0); 06600 return; 06601 } 06602 06603 glPrioritizeTexturesEXT = extproc; 06604 06605 glPrioritizeTexturesEXT(n, textures, priorities); 06606 } 06607 06608 static void APIENTRY InitDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points) 06609 { 06610 void *extproc; 06611 06612 extproc = (void *) glGetProcAddress("glDetailTexFuncSGIS"); 06613 06614 if (extproc == NULL) { 06615 _ASSERT(0); 06616 return; 06617 } 06618 06619 glDetailTexFuncSGIS = extproc; 06620 06621 glDetailTexFuncSGIS(target, n, points); 06622 } 06623 06624 static void APIENTRY InitGetDetailTexFuncSGIS (GLenum target, GLfloat *points) 06625 { 06626 void *extproc; 06627 06628 extproc = (void *) glGetProcAddress("glGetDetailTexFuncSGIS"); 06629 06630 if (extproc == NULL) { 06631 _ASSERT(0); 06632 return; 06633 } 06634 06635 glGetDetailTexFuncSGIS = extproc; 06636 06637 glGetDetailTexFuncSGIS(target, points); 06638 } 06639 06640 static void APIENTRY InitSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points) 06641 { 06642 void *extproc; 06643 06644 extproc = (void *) glGetProcAddress("glSharpenTexFuncSGIS"); 06645 06646 if (extproc == NULL) { 06647 _ASSERT(0); 06648 return; 06649 } 06650 06651 glSharpenTexFuncSGIS = extproc; 06652 06653 glSharpenTexFuncSGIS(target, n, points); 06654 } 06655 06656 static void APIENTRY InitGetSharpenTexFuncSGIS (GLenum target, GLfloat *points) 06657 { 06658 void *extproc; 06659 06660 extproc = (void *) glGetProcAddress("glGetSharpenTexFuncSGIS"); 06661 06662 if (extproc == NULL) { 06663 _ASSERT(0); 06664 return; 06665 } 06666 06667 glGetSharpenTexFuncSGIS = extproc; 06668 06669 glGetSharpenTexFuncSGIS(target, points); 06670 } 06671 06672 static void APIENTRY InitSampleMaskSGIS (GLclampf value, GLboolean invert) 06673 { 06674 void *extproc; 06675 06676 extproc = (void *) glGetProcAddress("glSampleMaskSGIS"); 06677 06678 if (extproc == NULL) { 06679 _ASSERT(0); 06680 return; 06681 } 06682 06683 glSampleMaskSGIS = extproc; 06684 06685 glSampleMaskSGIS(value, invert); 06686 } 06687 06688 static void APIENTRY InitSamplePatternSGIS (GLenum pattern) 06689 { 06690 void *extproc; 06691 06692 extproc = (void *) glGetProcAddress("glSamplePatternSGIS"); 06693 06694 if (extproc == NULL) { 06695 _ASSERT(0); 06696 return; 06697 } 06698 06699 glSamplePatternSGIS = extproc; 06700 06701 glSamplePatternSGIS(pattern); 06702 } 06703 06704 static void APIENTRY InitArrayElementEXT (GLint i) 06705 { 06706 void *extproc; 06707 06708 extproc = (void *) glGetProcAddress("glArrayElementEXT"); 06709 06710 if (extproc == NULL) { 06711 _ASSERT(0); 06712 return; 06713 } 06714 06715 glArrayElementEXT = extproc; 06716 06717 glArrayElementEXT(i); 06718 } 06719 06720 static void APIENTRY InitColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) 06721 { 06722 void *extproc; 06723 06724 extproc = (void *) glGetProcAddress("glColorPointerEXT"); 06725 06726 if (extproc == NULL) { 06727 _ASSERT(0); 06728 return; 06729 } 06730 06731 glColorPointerEXT = extproc; 06732 06733 glColorPointerEXT(size, type, stride, count, pointer); 06734 } 06735 06736 static void APIENTRY InitDrawArraysEXT (GLenum mode, GLint first, GLsizei count) 06737 { 06738 void *extproc; 06739 06740 extproc = (void *) glGetProcAddress("glDrawArraysEXT"); 06741 06742 if (extproc == NULL) { 06743 _ASSERT(0); 06744 return; 06745 } 06746 06747 glDrawArraysEXT = extproc; 06748 06749 glDrawArraysEXT(mode, first, count); 06750 } 06751 06752 static void APIENTRY InitEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer) 06753 { 06754 void *extproc; 06755 06756 extproc = (void *) glGetProcAddress("glEdgeFlagPointerEXT"); 06757 06758 if (extproc == NULL) { 06759 _ASSERT(0); 06760 return; 06761 } 06762 06763 glEdgeFlagPointerEXT = extproc; 06764 06765 glEdgeFlagPointerEXT(stride, count, pointer); 06766 } 06767 06768 static void APIENTRY InitGetPointervEXT (GLenum pname, GLvoid* *params) 06769 { 06770 void *extproc; 06771 06772 extproc = (void *) glGetProcAddress("glGetPointervEXT"); 06773 06774 if (extproc == NULL) { 06775 _ASSERT(0); 06776 return; 06777 } 06778 06779 glGetPointervEXT = extproc; 06780 06781 glGetPointervEXT(pname, params); 06782 } 06783 06784 static void APIENTRY InitIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) 06785 { 06786 void *extproc; 06787 06788 extproc = (void *) glGetProcAddress("glIndexPointerEXT"); 06789 06790 if (extproc == NULL) { 06791 _ASSERT(0); 06792 return; 06793 } 06794 06795 glIndexPointerEXT = extproc; 06796 06797 glIndexPointerEXT(type, stride, count, pointer); 06798 } 06799 06800 static void APIENTRY InitNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) 06801 { 06802 void *extproc; 06803 06804 extproc = (void *) glGetProcAddress("glNormalPointerEXT"); 06805 06806 if (extproc == NULL) { 06807 _ASSERT(0); 06808 return; 06809 } 06810 06811 glNormalPointerEXT = extproc; 06812 06813 glNormalPointerEXT(type, stride, count, pointer); 06814 } 06815 06816 static void APIENTRY InitTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) 06817 { 06818 void *extproc; 06819 06820 extproc = (void *) glGetProcAddress("glTexCoordPointerEXT"); 06821 06822 if (extproc == NULL) { 06823 _ASSERT(0); 06824 return; 06825 } 06826 06827 glTexCoordPointerEXT = extproc; 06828 06829 glTexCoordPointerEXT(size, type, stride, count, pointer); 06830 } 06831 06832 static void APIENTRY InitVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) 06833 { 06834 void *extproc; 06835 06836 extproc = (void *) glGetProcAddress("glVertexPointerEXT"); 06837 06838 if (extproc == NULL) { 06839 _ASSERT(0); 06840 return; 06841 } 06842 06843 glVertexPointerEXT = extproc; 06844 06845 glVertexPointerEXT(size, type, stride, count, pointer); 06846 } 06847 06848 static void APIENTRY InitBlendEquationEXT (GLenum mode) 06849 { 06850 void *extproc; 06851 06852 extproc = (void *) glGetProcAddress("glBlendEquationEXT"); 06853 06854 if (extproc == NULL) { 06855 _ASSERT(0); 06856 return; 06857 } 06858 06859 glBlendEquationEXT = extproc; 06860 06861 glBlendEquationEXT(mode); 06862 } 06863 06864 static void APIENTRY InitSpriteParameterfSGIX (GLenum pname, GLfloat param) 06865 { 06866 void *extproc; 06867 06868 extproc = (void *) glGetProcAddress("glSpriteParameterfSGIX"); 06869 06870 if (extproc == NULL) { 06871 _ASSERT(0); 06872 return; 06873 } 06874 06875 glSpriteParameterfSGIX = extproc; 06876 06877 glSpriteParameterfSGIX(pname, param); 06878 } 06879 06880 static void APIENTRY InitSpriteParameterfvSGIX (GLenum pname, const GLfloat *params) 06881 { 06882 void *extproc; 06883 06884 extproc = (void *) glGetProcAddress("glSpriteParameterfvSGIX"); 06885 06886 if (extproc == NULL) { 06887 _ASSERT(0); 06888 return; 06889 } 06890 06891 glSpriteParameterfvSGIX = extproc; 06892 06893 glSpriteParameterfvSGIX(pname, params); 06894 } 06895 06896 static void APIENTRY InitSpriteParameteriSGIX (GLenum pname, GLint param) 06897 { 06898 void *extproc; 06899 06900 extproc = (void *) glGetProcAddress("glSpriteParameteriSGIX"); 06901 06902 if (extproc == NULL) { 06903 _ASSERT(0); 06904 return; 06905 } 06906 06907 glSpriteParameteriSGIX = extproc; 06908 06909 glSpriteParameteriSGIX(pname, param); 06910 } 06911 06912 static void APIENTRY InitSpriteParameterivSGIX (GLenum pname, const GLint *params) 06913 { 06914 void *extproc; 06915 06916 extproc = (void *) glGetProcAddress("glSpriteParameterivSGIX"); 06917 06918 if (extproc == NULL) { 06919 _ASSERT(0); 06920 return; 06921 } 06922 06923 glSpriteParameterivSGIX = extproc; 06924 06925 glSpriteParameterivSGIX(pname, params); 06926 } 06927 06928 static void APIENTRY InitPointParameterfEXT (GLenum pname, GLfloat param) 06929 { 06930 void *extproc; 06931 06932 extproc = (void *) glGetProcAddress("glPointParameterfEXT"); 06933 06934 if (extproc == NULL) { 06935 _ASSERT(0); 06936 return; 06937 } 06938 06939 glPointParameterfEXT = extproc; 06940 06941 glPointParameterfEXT(pname, param); 06942 } 06943 06944 static void APIENTRY InitPointParameterfvEXT (GLenum pname, const GLfloat *params) 06945 { 06946 void *extproc; 06947 06948 extproc = (void *) glGetProcAddress("glPointParameterfvEXT"); 06949 06950 if (extproc == NULL) { 06951 _ASSERT(0); 06952 return; 06953 } 06954 06955 glPointParameterfvEXT = extproc; 06956 06957 glPointParameterfvEXT(pname, params); 06958 } 06959 06960 static void APIENTRY InitPointParameterfSGIS (GLenum pname, GLfloat param) 06961 { 06962 void *extproc; 06963 06964 extproc = (void *) glGetProcAddress("glPointParameterfSGIS"); 06965 06966 if (extproc == NULL) { 06967 _ASSERT(0); 06968 return; 06969 } 06970 06971 glPointParameterfSGIS = extproc; 06972 06973 glPointParameterfSGIS(pname, param); 06974 } 06975 06976 static void APIENTRY InitPointParameterfvSGIS (GLenum pname, const GLfloat *params) 06977 { 06978 void *extproc; 06979 06980 extproc = (void *) glGetProcAddress("glPointParameterfvSGIS"); 06981 06982 if (extproc == NULL) { 06983 _ASSERT(0); 06984 return; 06985 } 06986 06987 glPointParameterfvSGIS = extproc; 06988 06989 glPointParameterfvSGIS(pname, params); 06990 } 06991 06992 static GLint APIENTRY InitGetInstrumentsSGIX (void) 06993 { 06994 void *extproc; 06995 06996 extproc = (void *) glGetProcAddress("glGetInstrumentsSGIX"); 06997 06998 if (extproc == NULL) { 06999 _ASSERT(0); 07000 return 0; 07001 } 07002 07003 glGetInstrumentsSGIX = extproc; 07004 07005 return glGetInstrumentsSGIX(); 07006 } 07007 07008 static void APIENTRY InitInstrumentsBufferSGIX (GLsizei size, GLint *buffer) 07009 { 07010 void *extproc; 07011 07012 extproc = (void *) glGetProcAddress("glInstrumentsBufferSGIX"); 07013 07014 if (extproc == NULL) { 07015 _ASSERT(0); 07016 return; 07017 } 07018 07019 glInstrumentsBufferSGIX = extproc; 07020 07021 glInstrumentsBufferSGIX(size, buffer); 07022 } 07023 07024 static GLint APIENTRY InitPollInstrumentsSGIX (GLint *marker_p) 07025 { 07026 void *extproc; 07027 07028 extproc = (void *) glGetProcAddress("glPollInstrumentsSGIX"); 07029 07030 if (extproc == NULL) { 07031 _ASSERT(0); 07032 return 0; 07033 } 07034 07035 glPollInstrumentsSGIX = extproc; 07036 07037 return glPollInstrumentsSGIX(marker_p); 07038 } 07039 07040 static void APIENTRY InitReadInstrumentsSGIX (GLint marker) 07041 { 07042 void *extproc; 07043 07044 extproc = (void *) glGetProcAddress("glReadInstrumentsSGIX"); 07045 07046 if (extproc == NULL) { 07047 _ASSERT(0); 07048 return; 07049 } 07050 07051 glReadInstrumentsSGIX = extproc; 07052 07053 glReadInstrumentsSGIX(marker); 07054 } 07055 07056 static void APIENTRY InitStartInstrumentsSGIX (void) 07057 { 07058 void *extproc; 07059 07060 extproc = (void *) glGetProcAddress("glStartInstrumentsSGIX"); 07061 07062 if (extproc == NULL) { 07063 _ASSERT(0); 07064 return; 07065 } 07066 07067 glStartInstrumentsSGIX = extproc; 07068 07069 glStartInstrumentsSGIX(); 07070 } 07071 07072 static void APIENTRY InitStopInstrumentsSGIX (GLint marker) 07073 { 07074 void *extproc; 07075 07076 extproc = (void *) glGetProcAddress("glStopInstrumentsSGIX"); 07077 07078 if (extproc == NULL) { 07079 _ASSERT(0); 07080 return; 07081 } 07082 07083 glStopInstrumentsSGIX = extproc; 07084 07085 glStopInstrumentsSGIX(marker); 07086 } 07087 07088 static void APIENTRY InitFrameZoomSGIX (GLint factor) 07089 { 07090 void *extproc; 07091 07092 extproc = (void *) glGetProcAddress("glFrameZoomSGIX"); 07093 07094 if (extproc == NULL) { 07095 _ASSERT(0); 07096 return; 07097 } 07098 07099 glFrameZoomSGIX = extproc; 07100 07101 glFrameZoomSGIX(factor); 07102 } 07103 07104 static void APIENTRY InitTagSampleBufferSGIX (void) 07105 { 07106 void *extproc; 07107 07108 extproc = (void *) glGetProcAddress("glTagSampleBufferSGIX"); 07109 07110 if (extproc == NULL) { 07111 _ASSERT(0); 07112 return; 07113 } 07114 07115 glTagSampleBufferSGIX = extproc; 07116 07117 glTagSampleBufferSGIX(); 07118 } 07119 07120 static void APIENTRY InitDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points) 07121 { 07122 void *extproc; 07123 07124 extproc = (void *) glGetProcAddress("glDeformationMap3dSGIX"); 07125 07126 if (extproc == NULL) { 07127 _ASSERT(0); 07128 return; 07129 } 07130 07131 glDeformationMap3dSGIX = extproc; 07132 07133 glDeformationMap3dSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); 07134 } 07135 07136 static void APIENTRY InitDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points) 07137 { 07138 void *extproc; 07139 07140 extproc = (void *) glGetProcAddress("glDeformationMap3fSGIX"); 07141 07142 if (extproc == NULL) { 07143 _ASSERT(0); 07144 return; 07145 } 07146 07147 glDeformationMap3fSGIX = extproc; 07148 07149 glDeformationMap3fSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); 07150 } 07151 07152 static void APIENTRY InitDeformSGIX (GLbitfield mask) 07153 { 07154 void *extproc; 07155 07156 extproc = (void *) glGetProcAddress("glDeformSGIX"); 07157 07158 if (extproc == NULL) { 07159 _ASSERT(0); 07160 return; 07161 } 07162 07163 glDeformSGIX = extproc; 07164 07165 glDeformSGIX(mask); 07166 } 07167 07168 static void APIENTRY InitLoadIdentityDeformationMapSGIX (GLbitfield mask) 07169 { 07170 void *extproc; 07171 07172 extproc = (void *) glGetProcAddress("glLoadIdentityDeformationMapSGIX"); 07173 07174 if (extproc == NULL) { 07175 _ASSERT(0); 07176 return; 07177 } 07178 07179 glLoadIdentityDeformationMapSGIX = extproc; 07180 07181 glLoadIdentityDeformationMapSGIX(mask); 07182 } 07183 07184 static void APIENTRY InitReferencePlaneSGIX (const GLdouble *equation) 07185 { 07186 void *extproc; 07187 07188 extproc = (void *) glGetProcAddress("glReferencePlaneSGIX"); 07189 07190 if (extproc == NULL) { 07191 _ASSERT(0); 07192 return; 07193 } 07194 07195 glReferencePlaneSGIX = extproc; 07196 07197 glReferencePlaneSGIX(equation); 07198 } 07199 07200 static void APIENTRY InitFlushRasterSGIX (void) 07201 { 07202 void *extproc; 07203 07204 extproc = (void *) glGetProcAddress("glFlushRasterSGIX"); 07205 07206 if (extproc == NULL) { 07207 _ASSERT(0); 07208 return; 07209 } 07210 07211 glFlushRasterSGIX = extproc; 07212 07213 glFlushRasterSGIX(); 07214 } 07215 07216 static void APIENTRY InitFogFuncSGIS (GLsizei n, const GLfloat *points) 07217 { 07218 void *extproc; 07219 07220 extproc = (void *) glGetProcAddress("glFogFuncSGIS"); 07221 07222 if (extproc == NULL) { 07223 _ASSERT(0); 07224 return; 07225 } 07226 07227 glFogFuncSGIS = extproc; 07228 07229 glFogFuncSGIS(n, points); 07230 } 07231 07232 static void APIENTRY InitGetFogFuncSGIS (GLfloat *points) 07233 { 07234 void *extproc; 07235 07236 extproc = (void *) glGetProcAddress("glGetFogFuncSGIS"); 07237 07238 if (extproc == NULL) { 07239 _ASSERT(0); 07240 return; 07241 } 07242 07243 glGetFogFuncSGIS = extproc; 07244 07245 glGetFogFuncSGIS(points); 07246 } 07247 07248 static void APIENTRY InitImageTransformParameteriHP (GLenum target, GLenum pname, GLint param) 07249 { 07250 void *extproc; 07251 07252 extproc = (void *) glGetProcAddress("glImageTransformParameteriHP"); 07253 07254 if (extproc == NULL) { 07255 _ASSERT(0); 07256 return; 07257 } 07258 07259 glImageTransformParameteriHP = extproc; 07260 07261 glImageTransformParameteriHP(target, pname, param); 07262 } 07263 07264 static void APIENTRY InitImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param) 07265 { 07266 void *extproc; 07267 07268 extproc = (void *) glGetProcAddress("glImageTransformParameterfHP"); 07269 07270 if (extproc == NULL) { 07271 _ASSERT(0); 07272 return; 07273 } 07274 07275 glImageTransformParameterfHP = extproc; 07276 07277 glImageTransformParameterfHP(target, pname, param); 07278 } 07279 07280 static void APIENTRY InitImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params) 07281 { 07282 void *extproc; 07283 07284 extproc = (void *) glGetProcAddress("glImageTransformParameterivHP"); 07285 07286 if (extproc == NULL) { 07287 _ASSERT(0); 07288 return; 07289 } 07290 07291 glImageTransformParameterivHP = extproc; 07292 07293 glImageTransformParameterivHP(target, pname, params); 07294 } 07295 07296 static void APIENTRY InitImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params) 07297 { 07298 void *extproc; 07299 07300 extproc = (void *) glGetProcAddress("glImageTransformParameterfvHP"); 07301 07302 if (extproc == NULL) { 07303 _ASSERT(0); 07304 return; 07305 } 07306 07307 glImageTransformParameterfvHP = extproc; 07308 07309 glImageTransformParameterfvHP(target, pname, params); 07310 } 07311 07312 static void APIENTRY InitGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params) 07313 { 07314 void *extproc; 07315 07316 extproc = (void *) glGetProcAddress("glGetImageTransformParameterivHP"); 07317 07318 if (extproc == NULL) { 07319 _ASSERT(0); 07320 return; 07321 } 07322 07323 glGetImageTransformParameterivHP = extproc; 07324 07325 glGetImageTransformParameterivHP(target, pname, params); 07326 } 07327 07328 static void APIENTRY InitGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params) 07329 { 07330 void *extproc; 07331 07332 extproc = (void *) glGetProcAddress("glGetImageTransformParameterfvHP"); 07333 07334 if (extproc == NULL) { 07335 _ASSERT(0); 07336 return; 07337 } 07338 07339 glGetImageTransformParameterfvHP = extproc; 07340 07341 glGetImageTransformParameterfvHP(target, pname, params); 07342 } 07343 07344 static void APIENTRY InitColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) 07345 { 07346 void *extproc; 07347 07348 extproc = (void *) glGetProcAddress("glColorSubTableEXT"); 07349 07350 if (extproc == NULL) { 07351 _ASSERT(0); 07352 return; 07353 } 07354 07355 glColorSubTableEXT = extproc; 07356 07357 glColorSubTableEXT(target, start, count, format, type, data); 07358 } 07359 07360 static void APIENTRY InitCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) 07361 { 07362 void *extproc; 07363 07364 extproc = (void *) glGetProcAddress("glCopyColorSubTableEXT"); 07365 07366 if (extproc == NULL) { 07367 _ASSERT(0); 07368 return; 07369 } 07370 07371 glCopyColorSubTableEXT = extproc; 07372 07373 glCopyColorSubTableEXT(target, start, x, y, width); 07374 } 07375 07376 static void APIENTRY InitHintPGI (GLenum target, GLint mode) 07377 { 07378 void *extproc; 07379 07380 extproc = (void *) glGetProcAddress("glHintPGI"); 07381 07382 if (extproc == NULL) { 07383 _ASSERT(0); 07384 return; 07385 } 07386 07387 glHintPGI = extproc; 07388 07389 glHintPGI(target, mode); 07390 } 07391 07392 static void APIENTRY InitColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) 07393 { 07394 void *extproc; 07395 07396 extproc = (void *) glGetProcAddress("glColorTableEXT"); 07397 07398 if (extproc == NULL) { 07399 _ASSERT(0); 07400 return; 07401 } 07402 07403 glColorTableEXT = extproc; 07404 07405 glColorTableEXT(target, internalFormat, width, format, type, table); 07406 } 07407 07408 static void APIENTRY InitGetColorTableEXT (GLenum target, GLenum format, GLenum type, GLvoid *data) 07409 { 07410 void *extproc; 07411 07412 extproc = (void *) glGetProcAddress("glGetColorTableEXT"); 07413 07414 if (extproc == NULL) { 07415 _ASSERT(0); 07416 return; 07417 } 07418 07419 glGetColorTableEXT = extproc; 07420 07421 glGetColorTableEXT(target, format, type, data); 07422 } 07423 07424 static void APIENTRY InitGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params) 07425 { 07426 void *extproc; 07427 07428 extproc = (void *) glGetProcAddress("glGetColorTableParameterivEXT"); 07429 07430 if (extproc == NULL) { 07431 _ASSERT(0); 07432 return; 07433 } 07434 07435 glGetColorTableParameterivEXT = extproc; 07436 07437 glGetColorTableParameterivEXT(target, pname, params); 07438 } 07439 07440 static void APIENTRY InitGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params) 07441 { 07442 void *extproc; 07443 07444 extproc = (void *) glGetProcAddress("glGetColorTableParameterfvEXT"); 07445 07446 if (extproc == NULL) { 07447 _ASSERT(0); 07448 return; 07449 } 07450 07451 glGetColorTableParameterfvEXT = extproc; 07452 07453 glGetColorTableParameterfvEXT(target, pname, params); 07454 } 07455 07456 static void APIENTRY InitGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params) 07457 { 07458 void *extproc; 07459 07460 extproc = (void *) glGetProcAddress("glGetListParameterfvSGIX"); 07461 07462 if (extproc == NULL) { 07463 _ASSERT(0); 07464 return; 07465 } 07466 07467 glGetListParameterfvSGIX = extproc; 07468 07469 glGetListParameterfvSGIX(list, pname, params); 07470 } 07471 07472 static void APIENTRY InitGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params) 07473 { 07474 void *extproc; 07475 07476 extproc = (void *) glGetProcAddress("glGetListParameterivSGIX"); 07477 07478 if (extproc == NULL) { 07479 _ASSERT(0); 07480 return; 07481 } 07482 07483 glGetListParameterivSGIX = extproc; 07484 07485 glGetListParameterivSGIX(list, pname, params); 07486 } 07487 07488 static void APIENTRY InitListParameterfSGIX (GLuint list, GLenum pname, GLfloat param) 07489 { 07490 void *extproc; 07491 07492 extproc = (void *) glGetProcAddress("glListParameterfSGIX"); 07493 07494 if (extproc == NULL) { 07495 _ASSERT(0); 07496 return; 07497 } 07498 07499 glListParameterfSGIX = extproc; 07500 07501 glListParameterfSGIX(list, pname, param); 07502 } 07503 07504 static void APIENTRY InitListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params) 07505 { 07506 void *extproc; 07507 07508 extproc = (void *) glGetProcAddress("glListParameterfvSGIX"); 07509 07510 if (extproc == NULL) { 07511 _ASSERT(0); 07512 return; 07513 } 07514 07515 glListParameterfvSGIX = extproc; 07516 07517 glListParameterfvSGIX(list, pname, params); 07518 } 07519 07520 static void APIENTRY InitListParameteriSGIX (GLuint list, GLenum pname, GLint param) 07521 { 07522 void *extproc; 07523 07524 extproc = (void *) glGetProcAddress("glListParameteriSGIX"); 07525 07526 if (extproc == NULL) { 07527 _ASSERT(0); 07528 return; 07529 } 07530 07531 glListParameteriSGIX = extproc; 07532 07533 glListParameteriSGIX(list, pname, param); 07534 } 07535 07536 static void APIENTRY InitListParameterivSGIX (GLuint list, GLenum pname, const GLint *params) 07537 { 07538 void *extproc; 07539 07540 extproc = (void *) glGetProcAddress("glListParameterivSGIX"); 07541 07542 if (extproc == NULL) { 07543 _ASSERT(0); 07544 return; 07545 } 07546 07547 glListParameterivSGIX = extproc; 07548 07549 glListParameterivSGIX(list, pname, params); 07550 } 07551 07552 static void APIENTRY InitIndexMaterialEXT (GLenum face, GLenum mode) 07553 { 07554 void *extproc; 07555 07556 extproc = (void *) glGetProcAddress("glIndexMaterialEXT"); 07557 07558 if (extproc == NULL) { 07559 _ASSERT(0); 07560 return; 07561 } 07562 07563 glIndexMaterialEXT = extproc; 07564 07565 glIndexMaterialEXT(face, mode); 07566 } 07567 07568 static void APIENTRY InitIndexFuncEXT (GLenum func, GLclampf ref) 07569 { 07570 void *extproc; 07571 07572 extproc = (void *) glGetProcAddress("glIndexFuncEXT"); 07573 07574 if (extproc == NULL) { 07575 _ASSERT(0); 07576 return; 07577 } 07578 07579 glIndexFuncEXT = extproc; 07580 07581 glIndexFuncEXT(func, ref); 07582 } 07583 07584 static void APIENTRY InitLockArraysEXT (GLint first, GLsizei count) 07585 { 07586 void *extproc; 07587 07588 extproc = (void *) glGetProcAddress("glLockArraysEXT"); 07589 07590 if (extproc == NULL) { 07591 _ASSERT(0); 07592 return; 07593 } 07594 07595 glLockArraysEXT = extproc; 07596 07597 glLockArraysEXT(first, count); 07598 } 07599 07600 static void APIENTRY InitUnlockArraysEXT (void) 07601 { 07602 void *extproc; 07603 07604 extproc = (void *) glGetProcAddress("glUnlockArraysEXT"); 07605 07606 if (extproc == NULL) { 07607 _ASSERT(0); 07608 return; 07609 } 07610 07611 glUnlockArraysEXT = extproc; 07612 07613 glUnlockArraysEXT(); 07614 } 07615 07616 static void APIENTRY InitCullParameterdvEXT (GLenum pname, GLdouble *params) 07617 { 07618 void *extproc; 07619 07620 extproc = (void *) glGetProcAddress("glCullParameterdvEXT"); 07621 07622 if (extproc == NULL) { 07623 _ASSERT(0); 07624 return; 07625 } 07626 07627 glCullParameterdvEXT = extproc; 07628 07629 glCullParameterdvEXT(pname, params); 07630 } 07631 07632 static void APIENTRY InitCullParameterfvEXT (GLenum pname, GLfloat *params) 07633 { 07634 void *extproc; 07635 07636 extproc = (void *) glGetProcAddress("glCullParameterfvEXT"); 07637 07638 if (extproc == NULL) { 07639 _ASSERT(0); 07640 return; 07641 } 07642 07643 glCullParameterfvEXT = extproc; 07644 07645 glCullParameterfvEXT(pname, params); 07646 } 07647 07648 static void APIENTRY InitFragmentColorMaterialSGIX (GLenum face, GLenum mode) 07649 { 07650 void *extproc; 07651 07652 extproc = (void *) glGetProcAddress("glFragmentColorMaterialSGIX"); 07653 07654 if (extproc == NULL) { 07655 _ASSERT(0); 07656 return; 07657 } 07658 07659 glFragmentColorMaterialSGIX = extproc; 07660 07661 glFragmentColorMaterialSGIX(face, mode); 07662 } 07663 07664 static void APIENTRY InitFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param) 07665 { 07666 void *extproc; 07667 07668 extproc = (void *) glGetProcAddress("glFragmentLightfSGIX"); 07669 07670 if (extproc == NULL) { 07671 _ASSERT(0); 07672 return; 07673 } 07674 07675 glFragmentLightfSGIX = extproc; 07676 07677 glFragmentLightfSGIX(light, pname, param); 07678 } 07679 07680 static void APIENTRY InitFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params) 07681 { 07682 void *extproc; 07683 07684 extproc = (void *) glGetProcAddress("glFragmentLightfvSGIX"); 07685 07686 if (extproc == NULL) { 07687 _ASSERT(0); 07688 return; 07689 } 07690 07691 glFragmentLightfvSGIX = extproc; 07692 07693 glFragmentLightfvSGIX(light, pname, params); 07694 } 07695 07696 static void APIENTRY InitFragmentLightiSGIX (GLenum light, GLenum pname, GLint param) 07697 { 07698 void *extproc; 07699 07700 extproc = (void *) glGetProcAddress("glFragmentLightiSGIX"); 07701 07702 if (extproc == NULL) { 07703 _ASSERT(0); 07704 return; 07705 } 07706 07707 glFragmentLightiSGIX = extproc; 07708 07709 glFragmentLightiSGIX(light, pname, param); 07710 } 07711 07712 static void APIENTRY InitFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params) 07713 { 07714 void *extproc; 07715 07716 extproc = (void *) glGetProcAddress("glFragmentLightivSGIX"); 07717 07718 if (extproc == NULL) { 07719 _ASSERT(0); 07720 return; 07721 } 07722 07723 glFragmentLightivSGIX = extproc; 07724 07725 glFragmentLightivSGIX(light, pname, params); 07726 } 07727 07728 static void APIENTRY InitFragmentLightModelfSGIX (GLenum pname, GLfloat param) 07729 { 07730 void *extproc; 07731 07732 extproc = (void *) glGetProcAddress("glFragmentLightModelfSGIX"); 07733 07734 if (extproc == NULL) { 07735 _ASSERT(0); 07736 return; 07737 } 07738 07739 glFragmentLightModelfSGIX = extproc; 07740 07741 glFragmentLightModelfSGIX(pname, param); 07742 } 07743 07744 static void APIENTRY InitFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params) 07745 { 07746 void *extproc; 07747 07748 extproc = (void *) glGetProcAddress("glFragmentLightModelfvSGIX"); 07749 07750 if (extproc == NULL) { 07751 _ASSERT(0); 07752 return; 07753 } 07754 07755 glFragmentLightModelfvSGIX = extproc; 07756 07757 glFragmentLightModelfvSGIX(pname, params); 07758 } 07759 07760 static void APIENTRY InitFragmentLightModeliSGIX (GLenum pname, GLint param) 07761 { 07762 void *extproc; 07763 07764 extproc = (void *) glGetProcAddress("glFragmentLightModeliSGIX"); 07765 07766 if (extproc == NULL) { 07767 _ASSERT(0); 07768 return; 07769 } 07770 07771 glFragmentLightModeliSGIX = extproc; 07772 07773 glFragmentLightModeliSGIX(pname, param); 07774 } 07775 07776 static void APIENTRY InitFragmentLightModelivSGIX (GLenum pname, const GLint *params) 07777 { 07778 void *extproc; 07779 07780 extproc = (void *) glGetProcAddress("glFragmentLightModelivSGIX"); 07781 07782 if (extproc == NULL) { 07783 _ASSERT(0); 07784 return; 07785 } 07786 07787 glFragmentLightModelivSGIX = extproc; 07788 07789 glFragmentLightModelivSGIX(pname, params); 07790 } 07791 07792 static void APIENTRY InitFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param) 07793 { 07794 void *extproc; 07795 07796 extproc = (void *) glGetProcAddress("glFragmentMaterialfSGIX"); 07797 07798 if (extproc == NULL) { 07799 _ASSERT(0); 07800 return; 07801 } 07802 07803 glFragmentMaterialfSGIX = extproc; 07804 07805 glFragmentMaterialfSGIX(face, pname, param); 07806 } 07807 07808 static void APIENTRY InitFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params) 07809 { 07810 void *extproc; 07811 07812 extproc = (void *) glGetProcAddress("glFragmentMaterialfvSGIX"); 07813 07814 if (extproc == NULL) { 07815 _ASSERT(0); 07816 return; 07817 } 07818 07819 glFragmentMaterialfvSGIX = extproc; 07820 07821 glFragmentMaterialfvSGIX(face, pname, params); 07822 } 07823 07824 static void APIENTRY InitFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param) 07825 { 07826 void *extproc; 07827 07828 extproc = (void *) glGetProcAddress("glFragmentMaterialiSGIX"); 07829 07830 if (extproc == NULL) { 07831 _ASSERT(0); 07832 return; 07833 } 07834 07835 glFragmentMaterialiSGIX = extproc; 07836 07837 glFragmentMaterialiSGIX(face, pname, param); 07838 } 07839 07840 static void APIENTRY InitFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params) 07841 { 07842 void *extproc; 07843 07844 extproc = (void *) glGetProcAddress("glFragmentMaterialivSGIX"); 07845 07846 if (extproc == NULL) { 07847 _ASSERT(0); 07848 return; 07849 } 07850 07851 glFragmentMaterialivSGIX = extproc; 07852 07853 glFragmentMaterialivSGIX(face, pname, params); 07854 } 07855 07856 static void APIENTRY InitGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params) 07857 { 07858 void *extproc; 07859 07860 extproc = (void *) glGetProcAddress("glGetFragmentLightfvSGIX"); 07861 07862 if (extproc == NULL) { 07863 _ASSERT(0); 07864 return; 07865 } 07866 07867 glGetFragmentLightfvSGIX = extproc; 07868 07869 glGetFragmentLightfvSGIX(light, pname, params); 07870 } 07871 07872 static void APIENTRY InitGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params) 07873 { 07874 void *extproc; 07875 07876 extproc = (void *) glGetProcAddress("glGetFragmentLightivSGIX"); 07877 07878 if (extproc == NULL) { 07879 _ASSERT(0); 07880 return; 07881 } 07882 07883 glGetFragmentLightivSGIX = extproc; 07884 07885 glGetFragmentLightivSGIX(light, pname, params); 07886 } 07887 07888 static void APIENTRY InitGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params) 07889 { 07890 void *extproc; 07891 07892 extproc = (void *) glGetProcAddress("glGetFragmentMaterialfvSGIX"); 07893 07894 if (extproc == NULL) { 07895 _ASSERT(0); 07896 return; 07897 } 07898 07899 glGetFragmentMaterialfvSGIX = extproc; 07900 07901 glGetFragmentMaterialfvSGIX(face, pname, params); 07902 } 07903 07904 static void APIENTRY InitGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params) 07905 { 07906 void *extproc; 07907 07908 extproc = (void *) glGetProcAddress("glGetFragmentMaterialivSGIX"); 07909 07910 if (extproc == NULL) { 07911 _ASSERT(0); 07912 return; 07913 } 07914 07915 glGetFragmentMaterialivSGIX = extproc; 07916 07917 glGetFragmentMaterialivSGIX(face, pname, params); 07918 } 07919 07920 static void APIENTRY InitLightEnviSGIX (GLenum pname, GLint param) 07921 { 07922 void *extproc; 07923 07924 extproc = (void *) glGetProcAddress("glLightEnviSGIX"); 07925 07926 if (extproc == NULL) { 07927 _ASSERT(0); 07928 return; 07929 } 07930 07931 glLightEnviSGIX = extproc; 07932 07933 glLightEnviSGIX(pname, param); 07934 } 07935 07936 static void APIENTRY InitDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) 07937 { 07938 void *extproc; 07939 07940 extproc = (void *) glGetProcAddress("glDrawRangeElementsEXT"); 07941 07942 if (extproc == NULL) { 07943 _ASSERT(0); 07944 return; 07945 } 07946 07947 glDrawRangeElementsEXT = extproc; 07948 07949 glDrawRangeElementsEXT(mode, start, end, count, type, indices); 07950 } 07951 07952 static void APIENTRY InitApplyTextureEXT (GLenum mode) 07953 { 07954 void *extproc; 07955 07956 extproc = (void *) glGetProcAddress("glApplyTextureEXT"); 07957 07958 if (extproc == NULL) { 07959 _ASSERT(0); 07960 return; 07961 } 07962 07963 glApplyTextureEXT = extproc; 07964 07965 glApplyTextureEXT(mode); 07966 } 07967 07968 static void APIENTRY InitTextureLightEXT (GLenum pname) 07969 { 07970 void *extproc; 07971 07972 extproc = (void *) glGetProcAddress("glTextureLightEXT"); 07973 07974 if (extproc == NULL) { 07975 _ASSERT(0); 07976 return; 07977 } 07978 07979 glTextureLightEXT = extproc; 07980 07981 glTextureLightEXT(pname); 07982 } 07983 07984 static void APIENTRY InitTextureMaterialEXT (GLenum face, GLenum mode) 07985 { 07986 void *extproc; 07987 07988 extproc = (void *) glGetProcAddress("glTextureMaterialEXT"); 07989 07990 if (extproc == NULL) { 07991 _ASSERT(0); 07992 return; 07993 } 07994 07995 glTextureMaterialEXT = extproc; 07996 07997 glTextureMaterialEXT(face, mode); 07998 } 07999 08000 static void APIENTRY InitAsyncMarkerSGIX (GLuint marker) 08001 { 08002 void *extproc; 08003 08004 extproc = (void *) glGetProcAddress("glAsyncMarkerSGIX"); 08005 08006 if (extproc == NULL) { 08007 _ASSERT(0); 08008 return; 08009 } 08010 08011 glAsyncMarkerSGIX = extproc; 08012 08013 glAsyncMarkerSGIX(marker); 08014 } 08015 08016 static GLint APIENTRY InitFinishAsyncSGIX (GLuint *markerp) 08017 { 08018 void *extproc; 08019 08020 extproc = (void *) glGetProcAddress("glFinishAsyncSGIX"); 08021 08022 if (extproc == NULL) { 08023 _ASSERT(0); 08024 return 0; 08025 } 08026 08027 glFinishAsyncSGIX = extproc; 08028 08029 return glFinishAsyncSGIX(markerp); 08030 } 08031 08032 static GLint APIENTRY InitPollAsyncSGIX (GLuint *markerp) 08033 { 08034 void *extproc; 08035 08036 extproc = (void *) glGetProcAddress("glPollAsyncSGIX"); 08037 08038 if (extproc == NULL) { 08039 _ASSERT(0); 08040 return 0; 08041 } 08042 08043 glPollAsyncSGIX = extproc; 08044 08045 return glPollAsyncSGIX(markerp); 08046 } 08047 08048 static GLuint APIENTRY InitGenAsyncMarkersSGIX (GLsizei range) 08049 { 08050 void *extproc; 08051 08052 extproc = (void *) glGetProcAddress("glGenAsyncMarkersSGIX"); 08053 08054 if (extproc == NULL) { 08055 _ASSERT(0); 08056 return 0; 08057 } 08058 08059 glGenAsyncMarkersSGIX = extproc; 08060 08061 return glGenAsyncMarkersSGIX(range); 08062 } 08063 08064 static void APIENTRY InitDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range) 08065 { 08066 void *extproc; 08067 08068 extproc = (void *) glGetProcAddress("glDeleteAsyncMarkersSGIX"); 08069 08070 if (extproc == NULL) { 08071 _ASSERT(0); 08072 return; 08073 } 08074 08075 glDeleteAsyncMarkersSGIX = extproc; 08076 08077 glDeleteAsyncMarkersSGIX(marker, range); 08078 } 08079 08080 static GLboolean APIENTRY InitIsAsyncMarkerSGIX (GLuint marker) 08081 { 08082 void *extproc; 08083 08084 extproc = (void *) glGetProcAddress("glIsAsyncMarkerSGIX"); 08085 08086 if (extproc == NULL) { 08087 _ASSERT(0); 08088 return 0; 08089 } 08090 08091 glIsAsyncMarkerSGIX = extproc; 08092 08093 return glIsAsyncMarkerSGIX(marker); 08094 } 08095 08096 static void APIENTRY InitVertexPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer) 08097 { 08098 void *extproc; 08099 08100 extproc = (void *) glGetProcAddress("glVertexPointervINTEL"); 08101 08102 if (extproc == NULL) { 08103 _ASSERT(0); 08104 return; 08105 } 08106 08107 glVertexPointervINTEL = extproc; 08108 08109 glVertexPointervINTEL(size, type, pointer); 08110 } 08111 08112 static void APIENTRY InitNormalPointervINTEL (GLenum type, const GLvoid* *pointer) 08113 { 08114 void *extproc; 08115 08116 extproc = (void *) glGetProcAddress("glNormalPointervINTEL"); 08117 08118 if (extproc == NULL) { 08119 _ASSERT(0); 08120 return; 08121 } 08122 08123 glNormalPointervINTEL = extproc; 08124 08125 glNormalPointervINTEL(type, pointer); 08126 } 08127 08128 static void APIENTRY InitColorPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer) 08129 { 08130 void *extproc; 08131 08132 extproc = (void *) glGetProcAddress("glColorPointervINTEL"); 08133 08134 if (extproc == NULL) { 08135 _ASSERT(0); 08136 return; 08137 } 08138 08139 glColorPointervINTEL = extproc; 08140 08141 glColorPointervINTEL(size, type, pointer); 08142 } 08143 08144 static void APIENTRY InitTexCoordPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer) 08145 { 08146 void *extproc; 08147 08148 extproc = (void *) glGetProcAddress("glTexCoordPointervINTEL"); 08149 08150 if (extproc == NULL) { 08151 _ASSERT(0); 08152 return; 08153 } 08154 08155 glTexCoordPointervINTEL = extproc; 08156 08157 glTexCoordPointervINTEL(size, type, pointer); 08158 } 08159 08160 static void APIENTRY InitPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param) 08161 { 08162 void *extproc; 08163 08164 extproc = (void *) glGetProcAddress("glPixelTransformParameteriEXT"); 08165 08166 if (extproc == NULL) { 08167 _ASSERT(0); 08168 return; 08169 } 08170 08171 glPixelTransformParameteriEXT = extproc; 08172 08173 glPixelTransformParameteriEXT(target, pname, param); 08174 } 08175 08176 static void APIENTRY InitPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param) 08177 { 08178 void *extproc; 08179 08180 extproc = (void *) glGetProcAddress("glPixelTransformParameterfEXT"); 08181 08182 if (extproc == NULL) { 08183 _ASSERT(0); 08184 return; 08185 } 08186 08187 glPixelTransformParameterfEXT = extproc; 08188 08189 glPixelTransformParameterfEXT(target, pname, param); 08190 } 08191 08192 static void APIENTRY InitPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params) 08193 { 08194 void *extproc; 08195 08196 extproc = (void *) glGetProcAddress("glPixelTransformParameterivEXT"); 08197 08198 if (extproc == NULL) { 08199 _ASSERT(0); 08200 return; 08201 } 08202 08203 glPixelTransformParameterivEXT = extproc; 08204 08205 glPixelTransformParameterivEXT(target, pname, params); 08206 } 08207 08208 static void APIENTRY InitPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params) 08209 { 08210 void *extproc; 08211 08212 extproc = (void *) glGetProcAddress("glPixelTransformParameterfvEXT"); 08213 08214 if (extproc == NULL) { 08215 _ASSERT(0); 08216 return; 08217 } 08218 08219 glPixelTransformParameterfvEXT = extproc; 08220 08221 glPixelTransformParameterfvEXT(target, pname, params); 08222 } 08223 08224 static void APIENTRY InitSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue) 08225 { 08226 void *extproc; 08227 08228 extproc = (void *) glGetProcAddress("glSecondaryColor3bEXT"); 08229 08230 if (extproc == NULL) { 08231 _ASSERT(0); 08232 return; 08233 } 08234 08235 glSecondaryColor3bEXT = extproc; 08236 08237 glSecondaryColor3bEXT(red, green, blue); 08238 } 08239 08240 static void APIENTRY InitSecondaryColor3bvEXT (const GLbyte *v) 08241 { 08242 void *extproc; 08243 08244 extproc = (void *) glGetProcAddress("glSecondaryColor3bvEXT"); 08245 08246 if (extproc == NULL) { 08247 _ASSERT(0); 08248 return; 08249 } 08250 08251 glSecondaryColor3bvEXT = extproc; 08252 08253 glSecondaryColor3bvEXT(v); 08254 } 08255 08256 static void APIENTRY InitSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue) 08257 { 08258 void *extproc; 08259 08260 extproc = (void *) glGetProcAddress("glSecondaryColor3dEXT"); 08261 08262 if (extproc == NULL) { 08263 _ASSERT(0); 08264 return; 08265 } 08266 08267 glSecondaryColor3dEXT = extproc; 08268 08269 glSecondaryColor3dEXT(red, green, blue); 08270 } 08271 08272 static void APIENTRY InitSecondaryColor3dvEXT (const GLdouble *v) 08273 { 08274 void *extproc; 08275 08276 extproc = (void *) glGetProcAddress("glSecondaryColor3dvEXT"); 08277 08278 if (extproc == NULL) { 08279 _ASSERT(0); 08280 return; 08281 } 08282 08283 glSecondaryColor3dvEXT = extproc; 08284 08285 glSecondaryColor3dvEXT(v); 08286 } 08287 08288 static void APIENTRY InitSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue) 08289 { 08290 void *extproc; 08291 08292 extproc = (void *) glGetProcAddress("glSecondaryColor3fEXT"); 08293 08294 if (extproc == NULL) { 08295 _ASSERT(0); 08296 return; 08297 } 08298 08299 glSecondaryColor3fEXT = extproc; 08300 08301 glSecondaryColor3fEXT(red, green, blue); 08302 } 08303 08304 static void APIENTRY InitSecondaryColor3fvEXT (const GLfloat *v) 08305 { 08306 void *extproc; 08307 08308 extproc = (void *) glGetProcAddress("glSecondaryColor3fvEXT"); 08309 08310 if (extproc == NULL) { 08311 _ASSERT(0); 08312 return; 08313 } 08314 08315 glSecondaryColor3fvEXT = extproc; 08316 08317 glSecondaryColor3fvEXT(v); 08318 } 08319 08320 static void APIENTRY InitSecondaryColor3iEXT (GLint red, GLint green, GLint blue) 08321 { 08322 void *extproc; 08323 08324 extproc = (void *) glGetProcAddress("glSecondaryColor3iEXT"); 08325 08326 if (extproc == NULL) { 08327 _ASSERT(0); 08328 return; 08329 } 08330 08331 glSecondaryColor3iEXT = extproc; 08332 08333 glSecondaryColor3iEXT(red, green, blue); 08334 } 08335 08336 static void APIENTRY InitSecondaryColor3ivEXT (const GLint *v) 08337 { 08338 void *extproc; 08339 08340 extproc = (void *) glGetProcAddress("glSecondaryColor3ivEXT"); 08341 08342 if (extproc == NULL) { 08343 _ASSERT(0); 08344 return; 08345 } 08346 08347 glSecondaryColor3ivEXT = extproc; 08348 08349 glSecondaryColor3ivEXT(v); 08350 } 08351 08352 static void APIENTRY InitSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue) 08353 { 08354 void *extproc; 08355 08356 extproc = (void *) glGetProcAddress("glSecondaryColor3sEXT"); 08357 08358 if (extproc == NULL) { 08359 _ASSERT(0); 08360 return; 08361 } 08362 08363 glSecondaryColor3sEXT = extproc; 08364 08365 glSecondaryColor3sEXT(red, green, blue); 08366 } 08367 08368 static void APIENTRY InitSecondaryColor3svEXT (const GLshort *v) 08369 { 08370 void *extproc; 08371 08372 extproc = (void *) glGetProcAddress("glSecondaryColor3svEXT"); 08373 08374 if (extproc == NULL) { 08375 _ASSERT(0); 08376 return; 08377 } 08378 08379 glSecondaryColor3svEXT = extproc; 08380 08381 glSecondaryColor3svEXT(v); 08382 } 08383 08384 static void APIENTRY InitSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue) 08385 { 08386 void *extproc; 08387 08388 extproc = (void *) glGetProcAddress("glSecondaryColor3ubEXT"); 08389 08390 if (extproc == NULL) { 08391 _ASSERT(0); 08392 return; 08393 } 08394 08395 glSecondaryColor3ubEXT = extproc; 08396 08397 glSecondaryColor3ubEXT(red, green, blue); 08398 } 08399 08400 static void APIENTRY InitSecondaryColor3ubvEXT (const GLubyte *v) 08401 { 08402 void *extproc; 08403 08404 extproc = (void *) glGetProcAddress("glSecondaryColor3ubvEXT"); 08405 08406 if (extproc == NULL) { 08407 _ASSERT(0); 08408 return; 08409 } 08410 08411 glSecondaryColor3ubvEXT = extproc; 08412 08413 glSecondaryColor3ubvEXT(v); 08414 } 08415 08416 static void APIENTRY InitSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue) 08417 { 08418 void *extproc; 08419 08420 extproc = (void *) glGetProcAddress("glSecondaryColor3uiEXT"); 08421 08422 if (extproc == NULL) { 08423 _ASSERT(0); 08424 return; 08425 } 08426 08427 glSecondaryColor3uiEXT = extproc; 08428 08429 glSecondaryColor3uiEXT(red, green, blue); 08430 } 08431 08432 static void APIENTRY InitSecondaryColor3uivEXT (const GLuint *v) 08433 { 08434 void *extproc; 08435 08436 extproc = (void *) glGetProcAddress("glSecondaryColor3uivEXT"); 08437 08438 if (extproc == NULL) { 08439 _ASSERT(0); 08440 return; 08441 } 08442 08443 glSecondaryColor3uivEXT = extproc; 08444 08445 glSecondaryColor3uivEXT(v); 08446 } 08447 08448 static void APIENTRY InitSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue) 08449 { 08450 void *extproc; 08451 08452 extproc = (void *) glGetProcAddress("glSecondaryColor3usEXT"); 08453 08454 if (extproc == NULL) { 08455 _ASSERT(0); 08456 return; 08457 } 08458 08459 glSecondaryColor3usEXT = extproc; 08460 08461 glSecondaryColor3usEXT(red, green, blue); 08462 } 08463 08464 static void APIENTRY InitSecondaryColor3usvEXT (const GLushort *v) 08465 { 08466 void *extproc; 08467 08468 extproc = (void *) glGetProcAddress("glSecondaryColor3usvEXT"); 08469 08470 if (extproc == NULL) { 08471 _ASSERT(0); 08472 return; 08473 } 08474 08475 glSecondaryColor3usvEXT = extproc; 08476 08477 glSecondaryColor3usvEXT(v); 08478 } 08479 08480 static void APIENTRY InitSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) 08481 { 08482 void *extproc; 08483 08484 extproc = (void *) glGetProcAddress("glSecondaryColorPointerEXT"); 08485 08486 if (extproc == NULL) { 08487 _ASSERT(0); 08488 return; 08489 } 08490 08491 glSecondaryColorPointerEXT = extproc; 08492 08493 glSecondaryColorPointerEXT(size, type, stride, pointer); 08494 } 08495 08496 static void APIENTRY InitTextureNormalEXT (GLenum mode) 08497 { 08498 void *extproc; 08499 08500 extproc = (void *) glGetProcAddress("glTextureNormalEXT"); 08501 08502 if (extproc == NULL) { 08503 _ASSERT(0); 08504 return; 08505 } 08506 08507 glTextureNormalEXT = extproc; 08508 08509 glTextureNormalEXT(mode); 08510 } 08511 08512 static void APIENTRY InitMultiDrawArraysEXT (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) 08513 { 08514 void *extproc; 08515 08516 extproc = (void *) glGetProcAddress("glMultiDrawArraysEXT"); 08517 08518 if (extproc == NULL) { 08519 _ASSERT(0); 08520 return; 08521 } 08522 08523 glMultiDrawArraysEXT = extproc; 08524 08525 glMultiDrawArraysEXT(mode, first, count, primcount); 08526 } 08527 08528 static void APIENTRY InitMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) 08529 { 08530 void *extproc; 08531 08532 extproc = (void *) glGetProcAddress("glMultiDrawElementsEXT"); 08533 08534 if (extproc == NULL) { 08535 _ASSERT(0); 08536 return; 08537 } 08538 08539 glMultiDrawElementsEXT = extproc; 08540 08541 glMultiDrawElementsEXT(mode, count, type, indices, primcount); 08542 } 08543 08544 static void APIENTRY InitFogCoordfEXT (GLfloat coord) 08545 { 08546 void *extproc; 08547 08548 extproc = (void *) glGetProcAddress("glFogCoordfEXT"); 08549 08550 if (extproc == NULL) { 08551 _ASSERT(0); 08552 return; 08553 } 08554 08555 glFogCoordfEXT = extproc; 08556 08557 glFogCoordfEXT(coord); 08558 } 08559 08560 static void APIENTRY InitFogCoordfvEXT (const GLfloat *coord) 08561 { 08562 void *extproc; 08563 08564 extproc = (void *) glGetProcAddress("glFogCoordfvEXT"); 08565 08566 if (extproc == NULL) { 08567 _ASSERT(0); 08568 return; 08569 } 08570 08571 glFogCoordfvEXT = extproc; 08572 08573 glFogCoordfvEXT(coord); 08574 } 08575 08576 static void APIENTRY InitFogCoorddEXT (GLdouble coord) 08577 { 08578 void *extproc; 08579 08580 extproc = (void *) glGetProcAddress("glFogCoorddEXT"); 08581 08582 if (extproc == NULL) { 08583 _ASSERT(0); 08584 return; 08585 } 08586 08587 glFogCoorddEXT = extproc; 08588 08589 glFogCoorddEXT(coord); 08590 } 08591 08592 static void APIENTRY InitFogCoorddvEXT (const GLdouble *coord) 08593 { 08594 void *extproc; 08595 08596 extproc = (void *) glGetProcAddress("glFogCoorddvEXT"); 08597 08598 if (extproc == NULL) { 08599 _ASSERT(0); 08600 return; 08601 } 08602 08603 glFogCoorddvEXT = extproc; 08604 08605 glFogCoorddvEXT(coord); 08606 } 08607 08608 static void APIENTRY InitFogCoordPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer) 08609 { 08610 void *extproc; 08611 08612 extproc = (void *) glGetProcAddress("glFogCoordPointerEXT"); 08613 08614 if (extproc == NULL) { 08615 _ASSERT(0); 08616 return; 08617 } 08618 08619 glFogCoordPointerEXT = extproc; 08620 08621 glFogCoordPointerEXT(type, stride, pointer); 08622 } 08623 08624 static void APIENTRY InitTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz) 08625 { 08626 void *extproc; 08627 08628 extproc = (void *) glGetProcAddress("glTangent3bEXT"); 08629 08630 if (extproc == NULL) { 08631 _ASSERT(0); 08632 return; 08633 } 08634 08635 glTangent3bEXT = extproc; 08636 08637 glTangent3bEXT(tx, ty, tz); 08638 } 08639 08640 static void APIENTRY InitTangent3bvEXT (const GLbyte *v) 08641 { 08642 void *extproc; 08643 08644 extproc = (void *) glGetProcAddress("glTangent3bvEXT"); 08645 08646 if (extproc == NULL) { 08647 _ASSERT(0); 08648 return; 08649 } 08650 08651 glTangent3bvEXT = extproc; 08652 08653 glTangent3bvEXT(v); 08654 } 08655 08656 static void APIENTRY InitTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz) 08657 { 08658 void *extproc; 08659 08660 extproc = (void *) glGetProcAddress("glTangent3dEXT"); 08661 08662 if (extproc == NULL) { 08663 _ASSERT(0); 08664 return; 08665 } 08666 08667 glTangent3dEXT = extproc; 08668 08669 glTangent3dEXT(tx, ty, tz); 08670 } 08671 08672 static void APIENTRY InitTangent3dvEXT (const GLdouble *v) 08673 { 08674 void *extproc; 08675 08676 extproc = (void *) glGetProcAddress("glTangent3dvEXT"); 08677 08678 if (extproc == NULL) { 08679 _ASSERT(0); 08680 return; 08681 } 08682 08683 glTangent3dvEXT = extproc; 08684 08685 glTangent3dvEXT(v); 08686 } 08687 08688 static void APIENTRY InitTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz) 08689 { 08690 void *extproc; 08691 08692 extproc = (void *) glGetProcAddress("glTangent3fEXT"); 08693 08694 if (extproc == NULL) { 08695 _ASSERT(0); 08696 return; 08697 } 08698 08699 glTangent3fEXT = extproc; 08700 08701 glTangent3fEXT(tx, ty, tz); 08702 } 08703 08704 static void APIENTRY InitTangent3fvEXT (const GLfloat *v) 08705 { 08706 void *extproc; 08707 08708 extproc = (void *) glGetProcAddress("glTangent3fvEXT"); 08709 08710 if (extproc == NULL) { 08711 _ASSERT(0); 08712 return; 08713 } 08714 08715 glTangent3fvEXT = extproc; 08716 08717 glTangent3fvEXT(v); 08718 } 08719 08720 static void APIENTRY InitTangent3iEXT (GLint tx, GLint ty, GLint tz) 08721 { 08722 void *extproc; 08723 08724 extproc = (void *) glGetProcAddress("glTangent3iEXT"); 08725 08726 if (extproc == NULL) { 08727 _ASSERT(0); 08728 return; 08729 } 08730 08731 glTangent3iEXT = extproc; 08732 08733 glTangent3iEXT(tx, ty, tz); 08734 } 08735 08736 static void APIENTRY InitTangent3ivEXT (const GLint *v) 08737 { 08738 void *extproc; 08739 08740 extproc = (void *) glGetProcAddress("glTangent3ivEXT"); 08741 08742 if (extproc == NULL) { 08743 _ASSERT(0); 08744 return; 08745 } 08746 08747 glTangent3ivEXT = extproc; 08748 08749 glTangent3ivEXT(v); 08750 } 08751 08752 static void APIENTRY InitTangent3sEXT (GLshort tx, GLshort ty, GLshort tz) 08753 { 08754 void *extproc; 08755 08756 extproc = (void *) glGetProcAddress("glTangent3sEXT"); 08757 08758 if (extproc == NULL) { 08759 _ASSERT(0); 08760 return; 08761 } 08762 08763 glTangent3sEXT = extproc; 08764 08765 glTangent3sEXT(tx, ty, tz); 08766 } 08767 08768 static void APIENTRY InitTangent3svEXT (const GLshort *v) 08769 { 08770 void *extproc; 08771 08772 extproc = (void *) glGetProcAddress("glTangent3svEXT"); 08773 08774 if (extproc == NULL) { 08775 _ASSERT(0); 08776 return; 08777 } 08778 08779 glTangent3svEXT = extproc; 08780 08781 glTangent3svEXT(v); 08782 } 08783 08784 static void APIENTRY InitBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz) 08785 { 08786 void *extproc; 08787 08788 extproc = (void *) glGetProcAddress("glBinormal3bEXT"); 08789 08790 if (extproc == NULL) { 08791 _ASSERT(0); 08792 return; 08793 } 08794 08795 glBinormal3bEXT = extproc; 08796 08797 glBinormal3bEXT(bx, by, bz); 08798 } 08799 08800 static void APIENTRY InitBinormal3bvEXT (const GLbyte *v) 08801 { 08802 void *extproc; 08803 08804 extproc = (void *) glGetProcAddress("glBinormal3bvEXT"); 08805 08806 if (extproc == NULL) { 08807 _ASSERT(0); 08808 return; 08809 } 08810 08811 glBinormal3bvEXT = extproc; 08812 08813 glBinormal3bvEXT(v); 08814 } 08815 08816 static void APIENTRY InitBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz) 08817 { 08818 void *extproc; 08819 08820 extproc = (void *) glGetProcAddress("glBinormal3dEXT"); 08821 08822 if (extproc == NULL) { 08823 _ASSERT(0); 08824 return; 08825 } 08826 08827 glBinormal3dEXT = extproc; 08828 08829 glBinormal3dEXT(bx, by, bz); 08830 } 08831 08832 static void APIENTRY InitBinormal3dvEXT (const GLdouble *v) 08833 { 08834 void *extproc; 08835 08836 extproc = (void *) glGetProcAddress("glBinormal3dvEXT"); 08837 08838 if (extproc == NULL) { 08839 _ASSERT(0); 08840 return; 08841 } 08842 08843 glBinormal3dvEXT = extproc; 08844 08845 glBinormal3dvEXT(v); 08846 } 08847 08848 static void APIENTRY InitBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz) 08849 { 08850 void *extproc; 08851 08852 extproc = (void *) glGetProcAddress("glBinormal3fEXT"); 08853 08854 if (extproc == NULL) { 08855 _ASSERT(0); 08856 return; 08857 } 08858 08859 glBinormal3fEXT = extproc; 08860 08861 glBinormal3fEXT(bx, by, bz); 08862 } 08863 08864 static void APIENTRY InitBinormal3fvEXT (const GLfloat *v) 08865 { 08866 void *extproc; 08867 08868 extproc = (void *) glGetProcAddress("glBinormal3fvEXT"); 08869 08870 if (extproc == NULL) { 08871 _ASSERT(0); 08872 return; 08873 } 08874 08875 glBinormal3fvEXT = extproc; 08876 08877 glBinormal3fvEXT(v); 08878 } 08879 08880 static void APIENTRY InitBinormal3iEXT (GLint bx, GLint by, GLint bz) 08881 { 08882 void *extproc; 08883 08884 extproc = (void *) glGetProcAddress("glBinormal3iEXT"); 08885 08886 if (extproc == NULL) { 08887 _ASSERT(0); 08888 return; 08889 } 08890 08891 glBinormal3iEXT = extproc; 08892 08893 glBinormal3iEXT(bx, by, bz); 08894 } 08895 08896 static void APIENTRY InitBinormal3ivEXT (const GLint *v) 08897 { 08898 void *extproc; 08899 08900 extproc = (void *) glGetProcAddress("glBinormal3ivEXT"); 08901 08902 if (extproc == NULL) { 08903 _ASSERT(0); 08904 return; 08905 } 08906 08907 glBinormal3ivEXT = extproc; 08908 08909 glBinormal3ivEXT(v); 08910 } 08911 08912 static void APIENTRY InitBinormal3sEXT (GLshort bx, GLshort by, GLshort bz) 08913 { 08914 void *extproc; 08915 08916 extproc = (void *) glGetProcAddress("glBinormal3sEXT"); 08917 08918 if (extproc == NULL) { 08919 _ASSERT(0); 08920 return; 08921 } 08922 08923 glBinormal3sEXT = extproc; 08924 08925 glBinormal3sEXT(bx, by, bz); 08926 } 08927 08928 static void APIENTRY InitBinormal3svEXT (const GLshort *v) 08929 { 08930 void *extproc; 08931 08932 extproc = (void *) glGetProcAddress("glBinormal3svEXT"); 08933 08934 if (extproc == NULL) { 08935 _ASSERT(0); 08936 return; 08937 } 08938 08939 glBinormal3svEXT = extproc; 08940 08941 glBinormal3svEXT(v); 08942 } 08943 08944 static void APIENTRY InitTangentPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer) 08945 { 08946 void *extproc; 08947 08948 extproc = (void *) glGetProcAddress("glTangentPointerEXT"); 08949 08950 if (extproc == NULL) { 08951 _ASSERT(0); 08952 return; 08953 } 08954 08955 glTangentPointerEXT = extproc; 08956 08957 glTangentPointerEXT(type, stride, pointer); 08958 } 08959 08960 static void APIENTRY InitBinormalPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer) 08961 { 08962 void *extproc; 08963 08964 extproc = (void *) glGetProcAddress("glBinormalPointerEXT"); 08965 08966 if (extproc == NULL) { 08967 _ASSERT(0); 08968 return; 08969 } 08970 08971 glBinormalPointerEXT = extproc; 08972 08973 glBinormalPointerEXT(type, stride, pointer); 08974 } 08975 08976 static void APIENTRY InitFinishTextureSUNX (void) 08977 { 08978 void *extproc; 08979 08980 extproc = (void *) glGetProcAddress("glFinishTextureSUNX"); 08981 08982 if (extproc == NULL) { 08983 _ASSERT(0); 08984 return; 08985 } 08986 08987 glFinishTextureSUNX = extproc; 08988 08989 glFinishTextureSUNX(); 08990 } 08991 08992 static void APIENTRY InitGlobalAlphaFactorbSUN (GLbyte factor) 08993 { 08994 void *extproc; 08995 08996 extproc = (void *) glGetProcAddress("glGlobalAlphaFactorbSUN"); 08997 08998 if (extproc == NULL) { 08999 _ASSERT(0); 09000 return; 09001 } 09002 09003 glGlobalAlphaFactorbSUN = extproc; 09004 09005 glGlobalAlphaFactorbSUN(factor); 09006 } 09007 09008 static void APIENTRY InitGlobalAlphaFactorsSUN (GLshort factor) 09009 { 09010 void *extproc; 09011 09012 extproc = (void *) glGetProcAddress("glGlobalAlphaFactorsSUN"); 09013 09014 if (extproc == NULL) { 09015 _ASSERT(0); 09016 return; 09017 } 09018 09019 glGlobalAlphaFactorsSUN = extproc; 09020 09021 glGlobalAlphaFactorsSUN(factor); 09022 } 09023 09024 static void APIENTRY InitGlobalAlphaFactoriSUN (GLint factor) 09025 { 09026 void *extproc; 09027 09028 extproc = (void *) glGetProcAddress("glGlobalAlphaFactoriSUN"); 09029 09030 if (extproc == NULL) { 09031 _ASSERT(0); 09032 return; 09033 } 09034 09035 glGlobalAlphaFactoriSUN = extproc; 09036 09037 glGlobalAlphaFactoriSUN(factor); 09038 } 09039 09040 static void APIENTRY InitGlobalAlphaFactorfSUN (GLfloat factor) 09041 { 09042 void *extproc; 09043 09044 extproc = (void *) glGetProcAddress("glGlobalAlphaFactorfSUN"); 09045 09046 if (extproc == NULL) { 09047 _ASSERT(0); 09048 return; 09049 } 09050 09051 glGlobalAlphaFactorfSUN = extproc; 09052 09053 glGlobalAlphaFactorfSUN(factor); 09054 } 09055 09056 static void APIENTRY InitGlobalAlphaFactordSUN (GLdouble factor) 09057 { 09058 void *extproc; 09059 09060 extproc = (void *) glGetProcAddress("glGlobalAlphaFactordSUN"); 09061 09062 if (extproc == NULL) { 09063 _ASSERT(0); 09064 return; 09065 } 09066 09067 glGlobalAlphaFactordSUN = extproc; 09068 09069 glGlobalAlphaFactordSUN(factor); 09070 } 09071 09072 static void APIENTRY InitGlobalAlphaFactorubSUN (GLubyte factor) 09073 { 09074 void *extproc; 09075 09076 extproc = (void *) glGetProcAddress("glGlobalAlphaFactorubSUN"); 09077 09078 if (extproc == NULL) { 09079 _ASSERT(0); 09080 return; 09081 } 09082 09083 glGlobalAlphaFactorubSUN = extproc; 09084 09085 glGlobalAlphaFactorubSUN(factor); 09086 } 09087 09088 static void APIENTRY InitGlobalAlphaFactorusSUN (GLushort factor) 09089 { 09090 void *extproc; 09091 09092 extproc = (void *) glGetProcAddress("glGlobalAlphaFactorusSUN"); 09093 09094 if (extproc == NULL) { 09095 _ASSERT(0); 09096 return; 09097 } 09098 09099 glGlobalAlphaFactorusSUN = extproc; 09100 09101 glGlobalAlphaFactorusSUN(factor); 09102 } 09103 09104 static void APIENTRY InitGlobalAlphaFactoruiSUN (GLuint factor) 09105 { 09106 void *extproc; 09107 09108 extproc = (void *) glGetProcAddress("glGlobalAlphaFactoruiSUN"); 09109 09110 if (extproc == NULL) { 09111 _ASSERT(0); 09112 return; 09113 } 09114 09115 glGlobalAlphaFactoruiSUN = extproc; 09116 09117 glGlobalAlphaFactoruiSUN(factor); 09118 } 09119 09120 static void APIENTRY InitReplacementCodeuiSUN (GLuint code) 09121 { 09122 void *extproc; 09123 09124 extproc = (void *) glGetProcAddress("glReplacementCodeuiSUN"); 09125 09126 if (extproc == NULL) { 09127 _ASSERT(0); 09128 return; 09129 } 09130 09131 glReplacementCodeuiSUN = extproc; 09132 09133 glReplacementCodeuiSUN(code); 09134 } 09135 09136 static void APIENTRY InitReplacementCodeusSUN (GLushort code) 09137 { 09138 void *extproc; 09139 09140 extproc = (void *) glGetProcAddress("glReplacementCodeusSUN"); 09141 09142 if (extproc == NULL) { 09143 _ASSERT(0); 09144 return; 09145 } 09146 09147 glReplacementCodeusSUN = extproc; 09148 09149 glReplacementCodeusSUN(code); 09150 } 09151 09152 static void APIENTRY InitReplacementCodeubSUN (GLubyte code) 09153 { 09154 void *extproc; 09155 09156 extproc = (void *) glGetProcAddress("glReplacementCodeubSUN"); 09157 09158 if (extproc == NULL) { 09159 _ASSERT(0); 09160 return; 09161 } 09162 09163 glReplacementCodeubSUN = extproc; 09164 09165 glReplacementCodeubSUN(code); 09166 } 09167 09168 static void APIENTRY InitReplacementCodeuivSUN (const GLuint *code) 09169 { 09170 void *extproc; 09171 09172 extproc = (void *) glGetProcAddress("glReplacementCodeuivSUN"); 09173 09174 if (extproc == NULL) { 09175 _ASSERT(0); 09176 return; 09177 } 09178 09179 glReplacementCodeuivSUN = extproc; 09180 09181 glReplacementCodeuivSUN(code); 09182 } 09183 09184 static void APIENTRY InitReplacementCodeusvSUN (const GLushort *code) 09185 { 09186 void *extproc; 09187 09188 extproc = (void *) glGetProcAddress("glReplacementCodeusvSUN"); 09189 09190 if (extproc == NULL) { 09191 _ASSERT(0); 09192 return; 09193 } 09194 09195 glReplacementCodeusvSUN = extproc; 09196 09197 glReplacementCodeusvSUN(code); 09198 } 09199 09200 static void APIENTRY InitReplacementCodeubvSUN (const GLubyte *code) 09201 { 09202 void *extproc; 09203 09204 extproc = (void *) glGetProcAddress("glReplacementCodeubvSUN"); 09205 09206 if (extproc == NULL) { 09207 _ASSERT(0); 09208 return; 09209 } 09210 09211 glReplacementCodeubvSUN = extproc; 09212 09213 glReplacementCodeubvSUN(code); 09214 } 09215 09216 static void APIENTRY InitReplacementCodePointerSUN (GLenum type, GLsizei stride, const GLvoid* *pointer) 09217 { 09218 void *extproc; 09219 09220 extproc = (void *) glGetProcAddress("glReplacementCodePointerSUN"); 09221 09222 if (extproc == NULL) { 09223 _ASSERT(0); 09224 return; 09225 } 09226 09227 glReplacementCodePointerSUN = extproc; 09228 09229 glReplacementCodePointerSUN(type, stride, pointer); 09230 } 09231 09232 static void APIENTRY InitColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y) 09233 { 09234 void *extproc; 09235 09236 extproc = (void *) glGetProcAddress("glColor4ubVertex2fSUN"); 09237 09238 if (extproc == NULL) { 09239 _ASSERT(0); 09240 return; 09241 } 09242 09243 glColor4ubVertex2fSUN = extproc; 09244 09245 glColor4ubVertex2fSUN(r, g, b, a, x, y); 09246 } 09247 09248 static void APIENTRY InitColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v) 09249 { 09250 void *extproc; 09251 09252 extproc = (void *) glGetProcAddress("glColor4ubVertex2fvSUN"); 09253 09254 if (extproc == NULL) { 09255 _ASSERT(0); 09256 return; 09257 } 09258 09259 glColor4ubVertex2fvSUN = extproc; 09260 09261 glColor4ubVertex2fvSUN(c, v); 09262 } 09263 09264 static void APIENTRY InitColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) 09265 { 09266 void *extproc; 09267 09268 extproc = (void *) glGetProcAddress("glColor4ubVertex3fSUN"); 09269 09270 if (extproc == NULL) { 09271 _ASSERT(0); 09272 return; 09273 } 09274 09275 glColor4ubVertex3fSUN = extproc; 09276 09277 glColor4ubVertex3fSUN(r, g, b, a, x, y, z); 09278 } 09279 09280 static void APIENTRY InitColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v) 09281 { 09282 void *extproc; 09283 09284 extproc = (void *) glGetProcAddress("glColor4ubVertex3fvSUN"); 09285 09286 if (extproc == NULL) { 09287 _ASSERT(0); 09288 return; 09289 } 09290 09291 glColor4ubVertex3fvSUN = extproc; 09292 09293 glColor4ubVertex3fvSUN(c, v); 09294 } 09295 09296 static void APIENTRY InitColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) 09297 { 09298 void *extproc; 09299 09300 extproc = (void *) glGetProcAddress("glColor3fVertex3fSUN"); 09301 09302 if (extproc == NULL) { 09303 _ASSERT(0); 09304 return; 09305 } 09306 09307 glColor3fVertex3fSUN = extproc; 09308 09309 glColor3fVertex3fSUN(r, g, b, x, y, z); 09310 } 09311 09312 static void APIENTRY InitColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v) 09313 { 09314 void *extproc; 09315 09316 extproc = (void *) glGetProcAddress("glColor3fVertex3fvSUN"); 09317 09318 if (extproc == NULL) { 09319 _ASSERT(0); 09320 return; 09321 } 09322 09323 glColor3fVertex3fvSUN = extproc; 09324 09325 glColor3fVertex3fvSUN(c, v); 09326 } 09327 09328 static void APIENTRY InitNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) 09329 { 09330 void *extproc; 09331 09332 extproc = (void *) glGetProcAddress("glNormal3fVertex3fSUN"); 09333 09334 if (extproc == NULL) { 09335 _ASSERT(0); 09336 return; 09337 } 09338 09339 glNormal3fVertex3fSUN = extproc; 09340 09341 glNormal3fVertex3fSUN(nx, ny, nz, x, y, z); 09342 } 09343 09344 static void APIENTRY InitNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v) 09345 { 09346 void *extproc; 09347 09348 extproc = (void *) glGetProcAddress("glNormal3fVertex3fvSUN"); 09349 09350 if (extproc == NULL) { 09351 _ASSERT(0); 09352 return; 09353 } 09354 09355 glNormal3fVertex3fvSUN = extproc; 09356 09357 glNormal3fVertex3fvSUN(n, v); 09358 } 09359 09360 static void APIENTRY InitColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) 09361 { 09362 void *extproc; 09363 09364 extproc = (void *) glGetProcAddress("glColor4fNormal3fVertex3fSUN"); 09365 09366 if (extproc == NULL) { 09367 _ASSERT(0); 09368 return; 09369 } 09370 09371 glColor4fNormal3fVertex3fSUN = extproc; 09372 09373 glColor4fNormal3fVertex3fSUN(r, g, b, a, nx, ny, nz, x, y, z); 09374 } 09375 09376 static void APIENTRY InitColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v) 09377 { 09378 void *extproc; 09379 09380 extproc = (void *) glGetProcAddress("glColor4fNormal3fVertex3fvSUN"); 09381 09382 if (extproc == NULL) { 09383 _ASSERT(0); 09384 return; 09385 } 09386 09387 glColor4fNormal3fVertex3fvSUN = extproc; 09388 09389 glColor4fNormal3fVertex3fvSUN(c, n, v); 09390 } 09391 09392 static void APIENTRY InitTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) 09393 { 09394 void *extproc; 09395 09396 extproc = (void *) glGetProcAddress("glTexCoord2fVertex3fSUN"); 09397 09398 if (extproc == NULL) { 09399 _ASSERT(0); 09400 return; 09401 } 09402 09403 glTexCoord2fVertex3fSUN = extproc; 09404 09405 glTexCoord2fVertex3fSUN(s, t, x, y, z); 09406 } 09407 09408 static void APIENTRY InitTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v) 09409 { 09410 void *extproc; 09411 09412 extproc = (void *) glGetProcAddress("glTexCoord2fVertex3fvSUN"); 09413 09414 if (extproc == NULL) { 09415 _ASSERT(0); 09416 return; 09417 } 09418 09419 glTexCoord2fVertex3fvSUN = extproc; 09420 09421 glTexCoord2fVertex3fvSUN(tc, v); 09422 } 09423 09424 static void APIENTRY InitTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 09425 { 09426 void *extproc; 09427 09428 extproc = (void *) glGetProcAddress("glTexCoord4fVertex4fSUN"); 09429 09430 if (extproc == NULL) { 09431 _ASSERT(0); 09432 return; 09433 } 09434 09435 glTexCoord4fVertex4fSUN = extproc; 09436 09437 glTexCoord4fVertex4fSUN(s, t, p, q, x, y, z, w); 09438 } 09439 09440 static void APIENTRY InitTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v) 09441 { 09442 void *extproc; 09443 09444 extproc = (void *) glGetProcAddress("glTexCoord4fVertex4fvSUN"); 09445 09446 if (extproc == NULL) { 09447 _ASSERT(0); 09448 return; 09449 } 09450 09451 glTexCoord4fVertex4fvSUN = extproc; 09452 09453 glTexCoord4fVertex4fvSUN(tc, v); 09454 } 09455 09456 static void APIENTRY InitTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) 09457 { 09458 void *extproc; 09459 09460 extproc = (void *) glGetProcAddress("glTexCoord2fColor4ubVertex3fSUN"); 09461 09462 if (extproc == NULL) { 09463 _ASSERT(0); 09464 return; 09465 } 09466 09467 glTexCoord2fColor4ubVertex3fSUN = extproc; 09468 09469 glTexCoord2fColor4ubVertex3fSUN(s, t, r, g, b, a, x, y, z); 09470 } 09471 09472 static void APIENTRY InitTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v) 09473 { 09474 void *extproc; 09475 09476 extproc = (void *) glGetProcAddress("glTexCoord2fColor4ubVertex3fvSUN"); 09477 09478 if (extproc == NULL) { 09479 _ASSERT(0); 09480 return; 09481 } 09482 09483 glTexCoord2fColor4ubVertex3fvSUN = extproc; 09484 09485 glTexCoord2fColor4ubVertex3fvSUN(tc, c, v); 09486 } 09487 09488 static void APIENTRY InitTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) 09489 { 09490 void *extproc; 09491 09492 extproc = (void *) glGetProcAddress("glTexCoord2fColor3fVertex3fSUN"); 09493 09494 if (extproc == NULL) { 09495 _ASSERT(0); 09496 return; 09497 } 09498 09499 glTexCoord2fColor3fVertex3fSUN = extproc; 09500 09501 glTexCoord2fColor3fVertex3fSUN(s, t, r, g, b, x, y, z); 09502 } 09503 09504 static void APIENTRY InitTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v) 09505 { 09506 void *extproc; 09507 09508 extproc = (void *) glGetProcAddress("glTexCoord2fColor3fVertex3fvSUN"); 09509 09510 if (extproc == NULL) { 09511 _ASSERT(0); 09512 return; 09513 } 09514 09515 glTexCoord2fColor3fVertex3fvSUN = extproc; 09516 09517 glTexCoord2fColor3fVertex3fvSUN(tc, c, v); 09518 } 09519 09520 static void APIENTRY InitTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) 09521 { 09522 void *extproc; 09523 09524 extproc = (void *) glGetProcAddress("glTexCoord2fNormal3fVertex3fSUN"); 09525 09526 if (extproc == NULL) { 09527 _ASSERT(0); 09528 return; 09529 } 09530 09531 glTexCoord2fNormal3fVertex3fSUN = extproc; 09532 09533 glTexCoord2fNormal3fVertex3fSUN(s, t, nx, ny, nz, x, y, z); 09534 } 09535 09536 static void APIENTRY InitTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v) 09537 { 09538 void *extproc; 09539 09540 extproc = (void *) glGetProcAddress("glTexCoord2fNormal3fVertex3fvSUN"); 09541 09542 if (extproc == NULL) { 09543 _ASSERT(0); 09544 return; 09545 } 09546 09547 glTexCoord2fNormal3fVertex3fvSUN = extproc; 09548 09549 glTexCoord2fNormal3fVertex3fvSUN(tc, n, v); 09550 } 09551 09552 static void APIENTRY InitTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) 09553 { 09554 void *extproc; 09555 09556 extproc = (void *) glGetProcAddress("glTexCoord2fColor4fNormal3fVertex3fSUN"); 09557 09558 if (extproc == NULL) { 09559 _ASSERT(0); 09560 return; 09561 } 09562 09563 glTexCoord2fColor4fNormal3fVertex3fSUN = extproc; 09564 09565 glTexCoord2fColor4fNormal3fVertex3fSUN(s, t, r, g, b, a, nx, ny, nz, x, y, z); 09566 } 09567 09568 static void APIENTRY InitTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) 09569 { 09570 void *extproc; 09571 09572 extproc = (void *) glGetProcAddress("glTexCoord2fColor4fNormal3fVertex3fvSUN"); 09573 09574 if (extproc == NULL) { 09575 _ASSERT(0); 09576 return; 09577 } 09578 09579 glTexCoord2fColor4fNormal3fVertex3fvSUN = extproc; 09580 09581 glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, n, v); 09582 } 09583 09584 static void APIENTRY InitTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 09585 { 09586 void *extproc; 09587 09588 extproc = (void *) glGetProcAddress("glTexCoord4fColor4fNormal3fVertex4fSUN"); 09589 09590 if (extproc == NULL) { 09591 _ASSERT(0); 09592 return; 09593 } 09594 09595 glTexCoord4fColor4fNormal3fVertex4fSUN = extproc; 09596 09597 glTexCoord4fColor4fNormal3fVertex4fSUN(s, t, p, q, r, g, b, a, nx, ny, nz, x, y, z, w); 09598 } 09599 09600 static void APIENTRY InitTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) 09601 { 09602 void *extproc; 09603 09604 extproc = (void *) glGetProcAddress("glTexCoord4fColor4fNormal3fVertex4fvSUN"); 09605 09606 if (extproc == NULL) { 09607 _ASSERT(0); 09608 return; 09609 } 09610 09611 glTexCoord4fColor4fNormal3fVertex4fvSUN = extproc; 09612 09613 glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, n, v); 09614 } 09615 09616 static void APIENTRY InitReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z) 09617 { 09618 void *extproc; 09619 09620 extproc = (void *) glGetProcAddress("glReplacementCodeuiVertex3fSUN"); 09621 09622 if (extproc == NULL) { 09623 _ASSERT(0); 09624 return; 09625 } 09626 09627 glReplacementCodeuiVertex3fSUN = extproc; 09628 09629 glReplacementCodeuiVertex3fSUN(rc, x, y, z); 09630 } 09631 09632 static void APIENTRY InitReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v) 09633 { 09634 void *extproc; 09635 09636 extproc = (void *) glGetProcAddress("glReplacementCodeuiVertex3fvSUN"); 09637 09638 if (extproc == NULL) { 09639 _ASSERT(0); 09640 return; 09641 } 09642 09643 glReplacementCodeuiVertex3fvSUN = extproc; 09644 09645 glReplacementCodeuiVertex3fvSUN(rc, v); 09646 } 09647 09648 static void APIENTRY InitReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) 09649 { 09650 void *extproc; 09651 09652 extproc = (void *) glGetProcAddress("glReplacementCodeuiColor4ubVertex3fSUN"); 09653 09654 if (extproc == NULL) { 09655 _ASSERT(0); 09656 return; 09657 } 09658 09659 glReplacementCodeuiColor4ubVertex3fSUN = extproc; 09660 09661 glReplacementCodeuiColor4ubVertex3fSUN(rc, r, g, b, a, x, y, z); 09662 } 09663 09664 static void APIENTRY InitReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v) 09665 { 09666 void *extproc; 09667 09668 extproc = (void *) glGetProcAddress("glReplacementCodeuiColor4ubVertex3fvSUN"); 09669 09670 if (extproc == NULL) { 09671 _ASSERT(0); 09672 return; 09673 } 09674 09675 glReplacementCodeuiColor4ubVertex3fvSUN = extproc; 09676 09677 glReplacementCodeuiColor4ubVertex3fvSUN(rc, c, v); 09678 } 09679 09680 static void APIENTRY InitReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) 09681 { 09682 void *extproc; 09683 09684 extproc = (void *) glGetProcAddress("glReplacementCodeuiColor3fVertex3fSUN"); 09685 09686 if (extproc == NULL) { 09687 _ASSERT(0); 09688 return; 09689 } 09690 09691 glReplacementCodeuiColor3fVertex3fSUN = extproc; 09692 09693 glReplacementCodeuiColor3fVertex3fSUN(rc, r, g, b, x, y, z); 09694 } 09695 09696 static void APIENTRY InitReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v) 09697 { 09698 void *extproc; 09699 09700 extproc = (void *) glGetProcAddress("glReplacementCodeuiColor3fVertex3fvSUN"); 09701 09702 if (extproc == NULL) { 09703 _ASSERT(0); 09704 return; 09705 } 09706 09707 glReplacementCodeuiColor3fVertex3fvSUN = extproc; 09708 09709 glReplacementCodeuiColor3fVertex3fvSUN(rc, c, v); 09710 } 09711 09712 static void APIENTRY InitReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) 09713 { 09714 void *extproc; 09715 09716 extproc = (void *) glGetProcAddress("glReplacementCodeuiNormal3fVertex3fSUN"); 09717 09718 if (extproc == NULL) { 09719 _ASSERT(0); 09720 return; 09721 } 09722 09723 glReplacementCodeuiNormal3fVertex3fSUN = extproc; 09724 09725 glReplacementCodeuiNormal3fVertex3fSUN(rc, nx, ny, nz, x, y, z); 09726 } 09727 09728 static void APIENTRY InitReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v) 09729 { 09730 void *extproc; 09731 09732 extproc = (void *) glGetProcAddress("glReplacementCodeuiNormal3fVertex3fvSUN"); 09733 09734 if (extproc == NULL) { 09735 _ASSERT(0); 09736 return; 09737 } 09738 09739 glReplacementCodeuiNormal3fVertex3fvSUN = extproc; 09740 09741 glReplacementCodeuiNormal3fVertex3fvSUN(rc, n, v); 09742 } 09743 09744 static void APIENTRY InitReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) 09745 { 09746 void *extproc; 09747 09748 extproc = (void *) glGetProcAddress("glReplacementCodeuiColor4fNormal3fVertex3fSUN"); 09749 09750 if (extproc == NULL) { 09751 _ASSERT(0); 09752 return; 09753 } 09754 09755 glReplacementCodeuiColor4fNormal3fVertex3fSUN = extproc; 09756 09757 glReplacementCodeuiColor4fNormal3fVertex3fSUN(rc, r, g, b, a, nx, ny, nz, x, y, z); 09758 } 09759 09760 static void APIENTRY InitReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v) 09761 { 09762 void *extproc; 09763 09764 extproc = (void *) glGetProcAddress("glReplacementCodeuiColor4fNormal3fVertex3fvSUN"); 09765 09766 if (extproc == NULL) { 09767 _ASSERT(0); 09768 return; 09769 } 09770 09771 glReplacementCodeuiColor4fNormal3fVertex3fvSUN = extproc; 09772 09773 glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, n, v); 09774 } 09775 09776 static void APIENTRY InitReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) 09777 { 09778 void *extproc; 09779 09780 extproc = (void *) glGetProcAddress("glReplacementCodeuiTexCoord2fVertex3fSUN"); 09781 09782 if (extproc == NULL) { 09783 _ASSERT(0); 09784 return; 09785 } 09786 09787 glReplacementCodeuiTexCoord2fVertex3fSUN = extproc; 09788 09789 glReplacementCodeuiTexCoord2fVertex3fSUN(rc, s, t, x, y, z); 09790 } 09791 09792 static void APIENTRY InitReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v) 09793 { 09794 void *extproc; 09795 09796 extproc = (void *) glGetProcAddress("glReplacementCodeuiTexCoord2fVertex3fvSUN"); 09797 09798 if (extproc == NULL) { 09799 _ASSERT(0); 09800 return; 09801 } 09802 09803 glReplacementCodeuiTexCoord2fVertex3fvSUN = extproc; 09804 09805 glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, tc, v); 09806 } 09807 09808 static void APIENTRY InitReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) 09809 { 09810 void *extproc; 09811 09812 extproc = (void *) glGetProcAddress("glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN"); 09813 09814 if (extproc == NULL) { 09815 _ASSERT(0); 09816 return; 09817 } 09818 09819 glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = extproc; 09820 09821 glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(rc, s, t, nx, ny, nz, x, y, z); 09822 } 09823 09824 static void APIENTRY InitReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v) 09825 { 09826 void *extproc; 09827 09828 extproc = (void *) glGetProcAddress("glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN"); 09829 09830 if (extproc == NULL) { 09831 _ASSERT(0); 09832 return; 09833 } 09834 09835 glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = extproc; 09836 09837 glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, n, v); 09838 } 09839 09840 static void APIENTRY InitReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) 09841 { 09842 void *extproc; 09843 09844 extproc = (void *) glGetProcAddress("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN"); 09845 09846 if (extproc == NULL) { 09847 _ASSERT(0); 09848 return; 09849 } 09850 09851 glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = extproc; 09852 09853 glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(rc, s, t, r, g, b, a, nx, ny, nz, x, y, z); 09854 } 09855 09856 static void APIENTRY InitReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) 09857 { 09858 void *extproc; 09859 09860 extproc = (void *) glGetProcAddress("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN"); 09861 09862 if (extproc == NULL) { 09863 _ASSERT(0); 09864 return; 09865 } 09866 09867 glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = extproc; 09868 09869 glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, n, v); 09870 } 09871 09872 static void APIENTRY InitBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) 09873 { 09874 void *extproc; 09875 09876 extproc = (void *) glGetProcAddress("glBlendFuncSeparateEXT"); 09877 09878 if (extproc == NULL) { 09879 _ASSERT(0); 09880 return; 09881 } 09882 09883 glBlendFuncSeparateEXT = extproc; 09884 09885 glBlendFuncSeparateEXT(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); 09886 } 09887 09888 static void APIENTRY InitBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) 09889 { 09890 void *extproc; 09891 09892 extproc = (void *) glGetProcAddress("glBlendFuncSeparateINGR"); 09893 09894 if (extproc == NULL) { 09895 _ASSERT(0); 09896 return; 09897 } 09898 09899 glBlendFuncSeparateINGR = extproc; 09900 09901 glBlendFuncSeparateINGR(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); 09902 } 09903 09904 static void APIENTRY InitVertexWeightfEXT (GLfloat weight) 09905 { 09906 void *extproc; 09907 09908 extproc = (void *) glGetProcAddress("glVertexWeightfEXT"); 09909 09910 if (extproc == NULL) { 09911 _ASSERT(0); 09912 return; 09913 } 09914 09915 glVertexWeightfEXT = extproc; 09916 09917 glVertexWeightfEXT(weight); 09918 } 09919 09920 static void APIENTRY InitVertexWeightfvEXT (const GLfloat *weight) 09921 { 09922 void *extproc; 09923 09924 extproc = (void *) glGetProcAddress("glVertexWeightfvEXT"); 09925 09926 if (extproc == NULL) { 09927 _ASSERT(0); 09928 return; 09929 } 09930 09931 glVertexWeightfvEXT = extproc; 09932 09933 glVertexWeightfvEXT(weight); 09934 } 09935 09936 static void APIENTRY InitVertexWeightPointerEXT (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer) 09937 { 09938 void *extproc; 09939 09940 extproc = (void *) glGetProcAddress("glVertexWeightPointerEXT"); 09941 09942 if (extproc == NULL) { 09943 _ASSERT(0); 09944 return; 09945 } 09946 09947 glVertexWeightPointerEXT = extproc; 09948 09949 glVertexWeightPointerEXT(size, type, stride, pointer); 09950 } 09951 09952 static void APIENTRY InitFlushVertexArrayRangeNV (void) 09953 { 09954 void *extproc; 09955 09956 extproc = (void *) glGetProcAddress("glFlushVertexArrayRangeNV"); 09957 09958 if (extproc == NULL) { 09959 _ASSERT(0); 09960 return; 09961 } 09962 09963 glFlushVertexArrayRangeNV = extproc; 09964 09965 glFlushVertexArrayRangeNV(); 09966 } 09967 09968 static void APIENTRY InitVertexArrayRangeNV (GLsizei length, const GLvoid *pointer) 09969 { 09970 void *extproc; 09971 09972 extproc = (void *) glGetProcAddress("glVertexArrayRangeNV"); 09973 09974 if (extproc == NULL) { 09975 _ASSERT(0); 09976 return; 09977 } 09978 09979 glVertexArrayRangeNV = extproc; 09980 09981 glVertexArrayRangeNV(length, pointer); 09982 } 09983 09984 static void APIENTRY InitCombinerParameterfvNV (GLenum pname, const GLfloat *params) 09985 { 09986 void *extproc; 09987 09988 extproc = (void *) glGetProcAddress("glCombinerParameterfvNV"); 09989 09990 if (extproc == NULL) { 09991 _ASSERT(0); 09992 return; 09993 } 09994 09995 glCombinerParameterfvNV = extproc; 09996 09997 glCombinerParameterfvNV(pname, params); 09998 } 09999 10000 static void APIENTRY InitCombinerParameterfNV (GLenum pname, GLfloat param) 10001 { 10002 void *extproc; 10003 10004 extproc = (void *) glGetProcAddress("glCombinerParameterfNV"); 10005 10006 if (extproc == NULL) { 10007 _ASSERT(0); 10008 return; 10009 } 10010 10011 glCombinerParameterfNV = extproc; 10012 10013 glCombinerParameterfNV(pname, param); 10014 } 10015 10016 static void APIENTRY InitCombinerParameterivNV (GLenum pname, const GLint *params) 10017 { 10018 void *extproc; 10019 10020 extproc = (void *) glGetProcAddress("glCombinerParameterivNV"); 10021 10022 if (extproc == NULL) { 10023 _ASSERT(0); 10024 return; 10025 } 10026 10027 glCombinerParameterivNV = extproc; 10028 10029 glCombinerParameterivNV(pname, params); 10030 } 10031 10032 static void APIENTRY InitCombinerParameteriNV (GLenum pname, GLint param) 10033 { 10034 void *extproc; 10035 10036 extproc = (void *) glGetProcAddress("glCombinerParameteriNV"); 10037 10038 if (extproc == NULL) { 10039 _ASSERT(0); 10040 return; 10041 } 10042 10043 glCombinerParameteriNV = extproc; 10044 10045 glCombinerParameteriNV(pname, param); 10046 } 10047 10048 static void APIENTRY InitCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) 10049 { 10050 void *extproc; 10051 10052 extproc = (void *) glGetProcAddress("glCombinerInputNV"); 10053 10054 if (extproc == NULL) { 10055 _ASSERT(0); 10056 return; 10057 } 10058 10059 glCombinerInputNV = extproc; 10060 10061 glCombinerInputNV(stage, portion, variable, input, mapping, componentUsage); 10062 } 10063 10064 static void APIENTRY InitCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum) 10065 { 10066 void *extproc; 10067 10068 extproc = (void *) glGetProcAddress("glCombinerOutputNV"); 10069 10070 if (extproc == NULL) { 10071 _ASSERT(0); 10072 return; 10073 } 10074 10075 glCombinerOutputNV = extproc; 10076 10077 glCombinerOutputNV(stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum); 10078 } 10079 10080 static void APIENTRY InitFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) 10081 { 10082 void *extproc; 10083 10084 extproc = (void *) glGetProcAddress("glFinalCombinerInputNV"); 10085 10086 if (extproc == NULL) { 10087 _ASSERT(0); 10088 return; 10089 } 10090 10091 glFinalCombinerInputNV = extproc; 10092 10093 glFinalCombinerInputNV(variable, input, mapping, componentUsage); 10094 } 10095 10096 static void APIENTRY InitGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params) 10097 { 10098 void *extproc; 10099 10100 extproc = (void *) glGetProcAddress("glGetCombinerInputParameterfvNV"); 10101 10102 if (extproc == NULL) { 10103 _ASSERT(0); 10104 return; 10105 } 10106 10107 glGetCombinerInputParameterfvNV = extproc; 10108 10109 glGetCombinerInputParameterfvNV(stage, portion, variable, pname, params); 10110 } 10111 10112 static void APIENTRY InitGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params) 10113 { 10114 void *extproc; 10115 10116 extproc = (void *) glGetProcAddress("glGetCombinerInputParameterivNV"); 10117 10118 if (extproc == NULL) { 10119 _ASSERT(0); 10120 return; 10121 } 10122 10123 glGetCombinerInputParameterivNV = extproc; 10124 10125 glGetCombinerInputParameterivNV(stage, portion, variable, pname, params); 10126 } 10127 10128 static void APIENTRY InitGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params) 10129 { 10130 void *extproc; 10131 10132 extproc = (void *) glGetProcAddress("glGetCombinerOutputParameterfvNV"); 10133 10134 if (extproc == NULL) { 10135 _ASSERT(0); 10136 return; 10137 } 10138 10139 glGetCombinerOutputParameterfvNV = extproc; 10140 10141 glGetCombinerOutputParameterfvNV(stage, portion, pname, params); 10142 } 10143 10144 static void APIENTRY InitGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params) 10145 { 10146 void *extproc; 10147 10148 extproc = (void *) glGetProcAddress("glGetCombinerOutputParameterivNV"); 10149 10150 if (extproc == NULL) { 10151 _ASSERT(0); 10152 return; 10153 } 10154 10155 glGetCombinerOutputParameterivNV = extproc; 10156 10157 glGetCombinerOutputParameterivNV(stage, portion, pname, params); 10158 } 10159 10160 static void APIENTRY InitGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params) 10161 { 10162 void *extproc; 10163 10164 extproc = (void *) glGetProcAddress("glGetFinalCombinerInputParameterfvNV"); 10165 10166 if (extproc == NULL) { 10167 _ASSERT(0); 10168 return; 10169 } 10170 10171 glGetFinalCombinerInputParameterfvNV = extproc; 10172 10173 glGetFinalCombinerInputParameterfvNV(variable, pname, params); 10174 } 10175 10176 static void APIENTRY InitGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params) 10177 { 10178 void *extproc; 10179 10180 extproc = (void *) glGetProcAddress("glGetFinalCombinerInputParameterivNV"); 10181 10182 if (extproc == NULL) { 10183 _ASSERT(0); 10184 return; 10185 } 10186 10187 glGetFinalCombinerInputParameterivNV = extproc; 10188 10189 glGetFinalCombinerInputParameterivNV(variable, pname, params); 10190 } 10191 10192 static void APIENTRY InitResizeBuffersMESA (void) 10193 { 10194 void *extproc; 10195 10196 extproc = (void *) glGetProcAddress("glResizeBuffersMESA"); 10197 10198 if (extproc == NULL) { 10199 _ASSERT(0); 10200 return; 10201 } 10202 10203 glResizeBuffersMESA = extproc; 10204 10205 glResizeBuffersMESA(); 10206 } 10207 10208 static void APIENTRY InitWindowPos2dMESA (GLdouble x, GLdouble y) 10209 { 10210 void *extproc; 10211 10212 extproc = (void *) glGetProcAddress("glWindowPos2dMESA"); 10213 10214 if (extproc == NULL) { 10215 _ASSERT(0); 10216 return; 10217 } 10218 10219 glWindowPos2dMESA = extproc; 10220 10221 glWindowPos2dMESA(x, y); 10222 } 10223 10224 static void APIENTRY InitWindowPos2dvMESA (const GLdouble *v) 10225 { 10226 void *extproc; 10227 10228 extproc = (void *) glGetProcAddress("glWindowPos2dvMESA"); 10229 10230 if (extproc == NULL) { 10231 _ASSERT(0); 10232 return; 10233 } 10234 10235 glWindowPos2dvMESA = extproc; 10236 10237 glWindowPos2dvMESA(v); 10238 } 10239 10240 static void APIENTRY InitWindowPos2fMESA (GLfloat x, GLfloat y) 10241 { 10242 void *extproc; 10243 10244 extproc = (void *) glGetProcAddress("glWindowPos2fMESA"); 10245 10246 if (extproc == NULL) { 10247 _ASSERT(0); 10248 return; 10249 } 10250 10251 glWindowPos2fMESA = extproc; 10252 10253 glWindowPos2fMESA(x, y); 10254 } 10255 10256 static void APIENTRY InitWindowPos2fvMESA (const GLfloat *v) 10257 { 10258 void *extproc; 10259 10260 extproc = (void *) glGetProcAddress("glWindowPos2fvMESA"); 10261 10262 if (extproc == NULL) { 10263 _ASSERT(0); 10264 return; 10265 } 10266 10267 glWindowPos2fvMESA = extproc; 10268 10269 glWindowPos2fvMESA(v); 10270 } 10271 10272 static void APIENTRY InitWindowPos2iMESA (GLint x, GLint y) 10273 { 10274 void *extproc; 10275 10276 extproc = (void *) glGetProcAddress("glWindowPos2iMESA"); 10277 10278 if (extproc == NULL) { 10279 _ASSERT(0); 10280 return; 10281 } 10282 10283 glWindowPos2iMESA = extproc; 10284 10285 glWindowPos2iMESA(x, y); 10286 } 10287 10288 static void APIENTRY InitWindowPos2ivMESA (const GLint *v) 10289 { 10290 void *extproc; 10291 10292 extproc = (void *) glGetProcAddress("glWindowPos2ivMESA"); 10293 10294 if (extproc == NULL) { 10295 _ASSERT(0); 10296 return; 10297 } 10298 10299 glWindowPos2ivMESA = extproc; 10300 10301 glWindowPos2ivMESA(v); 10302 } 10303 10304 static void APIENTRY InitWindowPos2sMESA (GLshort x, GLshort y) 10305 { 10306 void *extproc; 10307 10308 extproc = (void *) glGetProcAddress("glWindowPos2sMESA"); 10309 10310 if (extproc == NULL) { 10311 _ASSERT(0); 10312 return; 10313 } 10314 10315 glWindowPos2sMESA = extproc; 10316 10317 glWindowPos2sMESA(x, y); 10318 } 10319 10320 static void APIENTRY InitWindowPos2svMESA (const GLshort *v) 10321 { 10322 void *extproc; 10323 10324 extproc = (void *) glGetProcAddress("glWindowPos2svMESA"); 10325 10326 if (extproc == NULL) { 10327 _ASSERT(0); 10328 return; 10329 } 10330 10331 glWindowPos2svMESA = extproc; 10332 10333 glWindowPos2svMESA(v); 10334 } 10335 10336 static void APIENTRY InitWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z) 10337 { 10338 void *extproc; 10339 10340 extproc = (void *) glGetProcAddress("glWindowPos3dMESA"); 10341 10342 if (extproc == NULL) { 10343 _ASSERT(0); 10344 return; 10345 } 10346 10347 glWindowPos3dMESA = extproc; 10348 10349 glWindowPos3dMESA(x, y, z); 10350 } 10351 10352 static void APIENTRY InitWindowPos3dvMESA (const GLdouble *v) 10353 { 10354 void *extproc; 10355 10356 extproc = (void *) glGetProcAddress("glWindowPos3dvMESA"); 10357 10358 if (extproc == NULL) { 10359 _ASSERT(0); 10360 return; 10361 } 10362 10363 glWindowPos3dvMESA = extproc; 10364 10365 glWindowPos3dvMESA(v); 10366 } 10367 10368 static void APIENTRY InitWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z) 10369 { 10370 void *extproc; 10371 10372 extproc = (void *) glGetProcAddress("glWindowPos3fMESA"); 10373 10374 if (extproc == NULL) { 10375 _ASSERT(0); 10376 return; 10377 } 10378 10379 glWindowPos3fMESA = extproc; 10380 10381 glWindowPos3fMESA(x, y, z); 10382 } 10383 10384 static void APIENTRY InitWindowPos3fvMESA (const GLfloat *v) 10385 { 10386 void *extproc; 10387 10388 extproc = (void *) glGetProcAddress("glWindowPos3fvMESA"); 10389 10390 if (extproc == NULL) { 10391 _ASSERT(0); 10392 return; 10393 } 10394 10395 glWindowPos3fvMESA = extproc; 10396 10397 glWindowPos3fvMESA(v); 10398 } 10399 10400 static void APIENTRY InitWindowPos3iMESA (GLint x, GLint y, GLint z) 10401 { 10402 void *extproc; 10403 10404 extproc = (void *) glGetProcAddress("glWindowPos3iMESA"); 10405 10406 if (extproc == NULL) { 10407 _ASSERT(0); 10408 return; 10409 } 10410 10411 glWindowPos3iMESA = extproc; 10412 10413 glWindowPos3iMESA(x, y, z); 10414 } 10415 10416 static void APIENTRY InitWindowPos3ivMESA (const GLint *v) 10417 { 10418 void *extproc; 10419 10420 extproc = (void *) glGetProcAddress("glWindowPos3ivMESA"); 10421 10422 if (extproc == NULL) { 10423 _ASSERT(0); 10424 return; 10425 } 10426 10427 glWindowPos3ivMESA = extproc; 10428 10429 glWindowPos3ivMESA(v); 10430 } 10431 10432 static void APIENTRY InitWindowPos3sMESA (GLshort x, GLshort y, GLshort z) 10433 { 10434 void *extproc; 10435 10436 extproc = (void *) glGetProcAddress("glWindowPos3sMESA"); 10437 10438 if (extproc == NULL) { 10439 _ASSERT(0); 10440 return; 10441 } 10442 10443 glWindowPos3sMESA = extproc; 10444 10445 glWindowPos3sMESA(x, y, z); 10446 } 10447 10448 static void APIENTRY InitWindowPos3svMESA (const GLshort *v) 10449 { 10450 void *extproc; 10451 10452 extproc = (void *) glGetProcAddress("glWindowPos3svMESA"); 10453 10454 if (extproc == NULL) { 10455 _ASSERT(0); 10456 return; 10457 } 10458 10459 glWindowPos3svMESA = extproc; 10460 10461 glWindowPos3svMESA(v); 10462 } 10463 10464 static void APIENTRY InitWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w) 10465 { 10466 void *extproc; 10467 10468 extproc = (void *) glGetProcAddress("glWindowPos4dMESA"); 10469 10470 if (extproc == NULL) { 10471 _ASSERT(0); 10472 return; 10473 } 10474 10475 glWindowPos4dMESA = extproc; 10476 10477 glWindowPos4dMESA(x, y, z, w); 10478 } 10479 10480 static void APIENTRY InitWindowPos4dvMESA (const GLdouble *v) 10481 { 10482 void *extproc; 10483 10484 extproc = (void *) glGetProcAddress("glWindowPos4dvMESA"); 10485 10486 if (extproc == NULL) { 10487 _ASSERT(0); 10488 return; 10489 } 10490 10491 glWindowPos4dvMESA = extproc; 10492 10493 glWindowPos4dvMESA(v); 10494 } 10495 10496 static void APIENTRY InitWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w) 10497 { 10498 void *extproc; 10499 10500 extproc = (void *) glGetProcAddress("glWindowPos4fMESA"); 10501 10502 if (extproc == NULL) { 10503 _ASSERT(0); 10504 return; 10505 } 10506 10507 glWindowPos4fMESA = extproc; 10508 10509 glWindowPos4fMESA(x, y, z, w); 10510 } 10511 10512 static void APIENTRY InitWindowPos4fvMESA (const GLfloat *v) 10513 { 10514 void *extproc; 10515 10516 extproc = (void *) glGetProcAddress("glWindowPos4fvMESA"); 10517 10518 if (extproc == NULL) { 10519 _ASSERT(0); 10520 return; 10521 } 10522 10523 glWindowPos4fvMESA = extproc; 10524 10525 glWindowPos4fvMESA(v); 10526 } 10527 10528 static void APIENTRY InitWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w) 10529 { 10530 void *extproc; 10531 10532 extproc = (void *) glGetProcAddress("glWindowPos4iMESA"); 10533 10534 if (extproc == NULL) { 10535 _ASSERT(0); 10536 return; 10537 } 10538 10539 glWindowPos4iMESA = extproc; 10540 10541 glWindowPos4iMESA(x, y, z, w); 10542 } 10543 10544 static void APIENTRY InitWindowPos4ivMESA (const GLint *v) 10545 { 10546 void *extproc; 10547 10548 extproc = (void *) glGetProcAddress("glWindowPos4ivMESA"); 10549 10550 if (extproc == NULL) { 10551 _ASSERT(0); 10552 return; 10553 } 10554 10555 glWindowPos4ivMESA = extproc; 10556 10557 glWindowPos4ivMESA(v); 10558 } 10559 10560 static void APIENTRY InitWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w) 10561 { 10562 void *extproc; 10563 10564 extproc = (void *) glGetProcAddress("glWindowPos4sMESA"); 10565 10566 if (extproc == NULL) { 10567 _ASSERT(0); 10568 return; 10569 } 10570 10571 glWindowPos4sMESA = extproc; 10572 10573 glWindowPos4sMESA(x, y, z, w); 10574 } 10575 10576 static void APIENTRY InitWindowPos4svMESA (const GLshort *v) 10577 { 10578 void *extproc; 10579 10580 extproc = (void *) glGetProcAddress("glWindowPos4svMESA"); 10581 10582 if (extproc == NULL) { 10583 _ASSERT(0); 10584 return; 10585 } 10586 10587 glWindowPos4svMESA = extproc; 10588 10589 glWindowPos4svMESA(v); 10590 } 10591 10592 static void APIENTRY InitMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride) 10593 { 10594 void *extproc; 10595 10596 extproc = (void *) glGetProcAddress("glMultiModeDrawArraysIBM"); 10597 10598 if (extproc == NULL) { 10599 _ASSERT(0); 10600 return; 10601 } 10602 10603 glMultiModeDrawArraysIBM = extproc; 10604 10605 glMultiModeDrawArraysIBM(mode, first, count, primcount, modestride); 10606 } 10607 10608 static void APIENTRY InitMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride) 10609 { 10610 void *extproc; 10611 10612 extproc = (void *) glGetProcAddress("glMultiModeDrawElementsIBM"); 10613 10614 if (extproc == NULL) { 10615 _ASSERT(0); 10616 return; 10617 } 10618 10619 glMultiModeDrawElementsIBM = extproc; 10620 10621 glMultiModeDrawElementsIBM(mode, count, type, indices, primcount, modestride); 10622 } 10623 10624 static void APIENTRY InitColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride) 10625 { 10626 void *extproc; 10627 10628 extproc = (void *) glGetProcAddress("glColorPointerListIBM"); 10629 10630 if (extproc == NULL) { 10631 _ASSERT(0); 10632 return; 10633 } 10634 10635 glColorPointerListIBM = extproc; 10636 10637 glColorPointerListIBM(size, type, stride, pointer, ptrstride); 10638 } 10639 10640 static void APIENTRY InitSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride) 10641 { 10642 void *extproc; 10643 10644 extproc = (void *) glGetProcAddress("glSecondaryColorPointerListIBM"); 10645 10646 if (extproc == NULL) { 10647 _ASSERT(0); 10648 return; 10649 } 10650 10651 glSecondaryColorPointerListIBM = extproc; 10652 10653 glSecondaryColorPointerListIBM(size, type, stride, pointer, ptrstride); 10654 } 10655 10656 static void APIENTRY InitEdgeFlagPointerListIBM (GLint stride, const GLboolean* *pointer, GLint ptrstride) 10657 { 10658 void *extproc; 10659 10660 extproc = (void *) glGetProcAddress("glEdgeFlagPointerListIBM"); 10661 10662 if (extproc == NULL) { 10663 _ASSERT(0); 10664 return; 10665 } 10666 10667 glEdgeFlagPointerListIBM = extproc; 10668 10669 glEdgeFlagPointerListIBM(stride, pointer, ptrstride); 10670 } 10671 10672 static void APIENTRY InitFogCoordPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride) 10673 { 10674 void *extproc; 10675 10676 extproc = (void *) glGetProcAddress("glFogCoordPointerListIBM"); 10677 10678 if (extproc == NULL) { 10679 _ASSERT(0); 10680 return; 10681 } 10682 10683 glFogCoordPointerListIBM = extproc; 10684 10685 glFogCoordPointerListIBM(type, stride, pointer, ptrstride); 10686 } 10687 10688 static void APIENTRY InitIndexPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride) 10689 { 10690 void *extproc; 10691 10692 extproc = (void *) glGetProcAddress("glIndexPointerListIBM"); 10693 10694 if (extproc == NULL) { 10695 _ASSERT(0); 10696 return; 10697 } 10698 10699 glIndexPointerListIBM = extproc; 10700 10701 glIndexPointerListIBM(type, stride, pointer, ptrstride); 10702 } 10703 10704 static void APIENTRY InitNormalPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride) 10705 { 10706 void *extproc; 10707 10708 extproc = (void *) glGetProcAddress("glNormalPointerListIBM"); 10709 10710 if (extproc == NULL) { 10711 _ASSERT(0); 10712 return; 10713 } 10714 10715 glNormalPointerListIBM = extproc; 10716 10717 glNormalPointerListIBM(type, stride, pointer, ptrstride); 10718 } 10719 10720 static void APIENTRY InitTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride) 10721 { 10722 void *extproc; 10723 10724 extproc = (void *) glGetProcAddress("glTexCoordPointerListIBM"); 10725 10726 if (extproc == NULL) { 10727 _ASSERT(0); 10728 return; 10729 } 10730 10731 glTexCoordPointerListIBM = extproc; 10732 10733 glTexCoordPointerListIBM(size, type, stride, pointer, ptrstride); 10734 } 10735 10736 static void APIENTRY InitVertexPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride) 10737 { 10738 void *extproc; 10739 10740 extproc = (void *) glGetProcAddress("glVertexPointerListIBM"); 10741 10742 if (extproc == NULL) { 10743 _ASSERT(0); 10744 return; 10745 } 10746 10747 glVertexPointerListIBM = extproc; 10748 10749 glVertexPointerListIBM(size, type, stride, pointer, ptrstride); 10750 } 10751 10752 static void APIENTRY InitTbufferMask3DFX (GLuint mask) 10753 { 10754 void *extproc; 10755 10756 extproc = (void *) glGetProcAddress("glTbufferMask3DFX"); 10757 10758 if (extproc == NULL) { 10759 _ASSERT(0); 10760 return; 10761 } 10762 10763 glTbufferMask3DFX = extproc; 10764 10765 glTbufferMask3DFX(mask); 10766 } 10767 10768 static void APIENTRY InitSampleMaskEXT (GLclampf value, GLboolean invert) 10769 { 10770 void *extproc; 10771 10772 extproc = (void *) glGetProcAddress("glSampleMaskEXT"); 10773 10774 if (extproc == NULL) { 10775 _ASSERT(0); 10776 return; 10777 } 10778 10779 glSampleMaskEXT = extproc; 10780 10781 glSampleMaskEXT(value, invert); 10782 } 10783 10784 static void APIENTRY InitSamplePatternEXT (GLenum pattern) 10785 { 10786 void *extproc; 10787 10788 extproc = (void *) glGetProcAddress("glSamplePatternEXT"); 10789 10790 if (extproc == NULL) { 10791 _ASSERT(0); 10792 return; 10793 } 10794 10795 glSamplePatternEXT = extproc; 10796 10797 glSamplePatternEXT(pattern); 10798 } 10799 10800 static void APIENTRY InitTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) 10801 { 10802 void *extproc; 10803 10804 extproc = (void *) glGetProcAddress("glTextureColorMaskSGIS"); 10805 10806 if (extproc == NULL) { 10807 _ASSERT(0); 10808 return; 10809 } 10810 10811 glTextureColorMaskSGIS = extproc; 10812 10813 glTextureColorMaskSGIS(red, green, blue, alpha); 10814 } 10815 10816 static void APIENTRY InitIglooInterfaceSGIX (GLenum pname, const GLvoid *params) 10817 { 10818 void *extproc; 10819 10820 extproc = (void *) glGetProcAddress("glIglooInterfaceSGIX"); 10821 10822 if (extproc == NULL) { 10823 _ASSERT(0); 10824 return; 10825 } 10826 10827 glIglooInterfaceSGIX = extproc; 10828 10829 glIglooInterfaceSGIX(pname, params); 10830 } 10831 10832 static void APIENTRY InitDeleteFencesNV (GLsizei n, const GLuint *fences) 10833 { 10834 void *extproc; 10835 10836 extproc = (void *) glGetProcAddress("glDeleteFencesNV"); 10837 10838 if (extproc == NULL) { 10839 _ASSERT(0); 10840 return; 10841 } 10842 10843 glDeleteFencesNV = extproc; 10844 10845 glDeleteFencesNV(n, fences); 10846 } 10847 10848 static void APIENTRY InitGenFencesNV (GLsizei n, GLuint *fences) 10849 { 10850 void *extproc; 10851 10852 extproc = (void *) glGetProcAddress("glGenFencesNV"); 10853 10854 if (extproc == NULL) { 10855 _ASSERT(0); 10856 return; 10857 } 10858 10859 glGenFencesNV = extproc; 10860 10861 glGenFencesNV(n, fences); 10862 } 10863 10864 static GLboolean APIENTRY InitIsFenceNV (GLuint fence) 10865 { 10866 void *extproc; 10867 10868 extproc = (void *) glGetProcAddress("glIsFenceNV"); 10869 10870 if (extproc == NULL) { 10871 _ASSERT(0); 10872 return 0; 10873 } 10874 10875 glIsFenceNV = extproc; 10876 10877 return glIsFenceNV(fence); 10878 } 10879 10880 static GLboolean APIENTRY InitTestFenceNV (GLuint fence) 10881 { 10882 void *extproc; 10883 10884 extproc = (void *) glGetProcAddress("glTestFenceNV"); 10885 10886 if (extproc == NULL) { 10887 _ASSERT(0); 10888 return 0; 10889 } 10890 10891 glTestFenceNV = extproc; 10892 10893 return glTestFenceNV(fence); 10894 } 10895 10896 static void APIENTRY InitGetFenceivNV (GLuint fence, GLenum pname, GLint *params) 10897 { 10898 void *extproc; 10899 10900 extproc = (void *) glGetProcAddress("glGetFenceivNV"); 10901 10902 if (extproc == NULL) { 10903 _ASSERT(0); 10904 return; 10905 } 10906 10907 glGetFenceivNV = extproc; 10908 10909 glGetFenceivNV(fence, pname, params); 10910 } 10911 10912 static void APIENTRY InitFinishFenceNV (GLuint fence) 10913 { 10914 void *extproc; 10915 10916 extproc = (void *) glGetProcAddress("glFinishFenceNV"); 10917 10918 if (extproc == NULL) { 10919 _ASSERT(0); 10920 return; 10921 } 10922 10923 glFinishFenceNV = extproc; 10924 10925 glFinishFenceNV(fence); 10926 } 10927 10928 static void APIENTRY InitSetFenceNV (GLuint fence, GLenum condition) 10929 { 10930 void *extproc; 10931 10932 extproc = (void *) glGetProcAddress("glSetFenceNV"); 10933 10934 if (extproc == NULL) { 10935 _ASSERT(0); 10936 return; 10937 } 10938 10939 glSetFenceNV = extproc; 10940 10941 glSetFenceNV(fence, condition); 10942 } 10943 10944 static void APIENTRY InitMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points) 10945 { 10946 void *extproc; 10947 10948 extproc = (void *) glGetProcAddress("glMapControlPointsNV"); 10949 10950 if (extproc == NULL) { 10951 _ASSERT(0); 10952 return; 10953 } 10954 10955 glMapControlPointsNV = extproc; 10956 10957 glMapControlPointsNV(target, index, type, ustride, vstride, uorder, vorder, packed, points); 10958 } 10959 10960 static void APIENTRY InitMapParameterivNV (GLenum target, GLenum pname, const GLint *params) 10961 { 10962 void *extproc; 10963 10964 extproc = (void *) glGetProcAddress("glMapParameterivNV"); 10965 10966 if (extproc == NULL) { 10967 _ASSERT(0); 10968 return; 10969 } 10970 10971 glMapParameterivNV = extproc; 10972 10973 glMapParameterivNV(target, pname, params); 10974 } 10975 10976 static void APIENTRY InitMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params) 10977 { 10978 void *extproc; 10979 10980 extproc = (void *) glGetProcAddress("glMapParameterfvNV"); 10981 10982 if (extproc == NULL) { 10983 _ASSERT(0); 10984 return; 10985 } 10986 10987 glMapParameterfvNV = extproc; 10988 10989 glMapParameterfvNV(target, pname, params); 10990 } 10991 10992 static void APIENTRY InitGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points) 10993 { 10994 void *extproc; 10995 10996 extproc = (void *) glGetProcAddress("glGetMapControlPointsNV"); 10997 10998 if (extproc == NULL) { 10999 _ASSERT(0); 11000 return; 11001 } 11002 11003 glGetMapControlPointsNV = extproc; 11004 11005 glGetMapControlPointsNV(target, index, type, ustride, vstride, packed, points); 11006 } 11007 11008 static void APIENTRY InitGetMapParameterivNV (GLenum target, GLenum pname, GLint *params) 11009 { 11010 void *extproc; 11011 11012 extproc = (void *) glGetProcAddress("glGetMapParameterivNV"); 11013 11014 if (extproc == NULL) { 11015 _ASSERT(0); 11016 return; 11017 } 11018 11019 glGetMapParameterivNV = extproc; 11020 11021 glGetMapParameterivNV(target, pname, params); 11022 } 11023 11024 static void APIENTRY InitGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params) 11025 { 11026 void *extproc; 11027 11028 extproc = (void *) glGetProcAddress("glGetMapParameterfvNV"); 11029 11030 if (extproc == NULL) { 11031 _ASSERT(0); 11032 return; 11033 } 11034 11035 glGetMapParameterfvNV = extproc; 11036 11037 glGetMapParameterfvNV(target, pname, params); 11038 } 11039 11040 static void APIENTRY InitGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params) 11041 { 11042 void *extproc; 11043 11044 extproc = (void *) glGetProcAddress("glGetMapAttribParameterivNV"); 11045 11046 if (extproc == NULL) { 11047 _ASSERT(0); 11048 return; 11049 } 11050 11051 glGetMapAttribParameterivNV = extproc; 11052 11053 glGetMapAttribParameterivNV(target, index, pname, params); 11054 } 11055 11056 static void APIENTRY InitGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params) 11057 { 11058 void *extproc; 11059 11060 extproc = (void *) glGetProcAddress("glGetMapAttribParameterfvNV"); 11061 11062 if (extproc == NULL) { 11063 _ASSERT(0); 11064 return; 11065 } 11066 11067 glGetMapAttribParameterfvNV = extproc; 11068 11069 glGetMapAttribParameterfvNV(target, index, pname, params); 11070 } 11071 11072 static void APIENTRY InitEvalMapsNV (GLenum target, GLenum mode) 11073 { 11074 void *extproc; 11075 11076 extproc = (void *) glGetProcAddress("glEvalMapsNV"); 11077 11078 if (extproc == NULL) { 11079 _ASSERT(0); 11080 return; 11081 } 11082 11083 glEvalMapsNV = extproc; 11084 11085 glEvalMapsNV(target, mode); 11086 } 11087 11088 static void APIENTRY InitCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params) 11089 { 11090 void *extproc; 11091 11092 extproc = (void *) glGetProcAddress("glCombinerStageParameterfvNV"); 11093 11094 if (extproc == NULL) { 11095 _ASSERT(0); 11096 return; 11097 } 11098 11099 glCombinerStageParameterfvNV = extproc; 11100 11101 glCombinerStageParameterfvNV(stage, pname, params); 11102 } 11103 11104 static void APIENTRY InitGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params) 11105 { 11106 void *extproc; 11107 11108 extproc = (void *) glGetProcAddress("glGetCombinerStageParameterfvNV"); 11109 11110 if (extproc == NULL) { 11111 _ASSERT(0); 11112 return; 11113 } 11114 11115 glGetCombinerStageParameterfvNV = extproc; 11116 11117 glGetCombinerStageParameterfvNV(stage, pname, params); 11118 } 11119 11120 static GLboolean APIENTRY InitAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences) 11121 { 11122 void *extproc; 11123 11124 extproc = (void *) glGetProcAddress("glAreProgramsResidentNV"); 11125 11126 if (extproc == NULL) { 11127 _ASSERT(0); 11128 return 0; 11129 } 11130 11131 glAreProgramsResidentNV = extproc; 11132 11133 return glAreProgramsResidentNV(n, programs, residences); 11134 } 11135 11136 static void APIENTRY InitBindProgramNV (GLenum target, GLuint id) 11137 { 11138 void *extproc; 11139 11140 extproc = (void *) glGetProcAddress("glBindProgramNV"); 11141 11142 if (extproc == NULL) { 11143 _ASSERT(0); 11144 return; 11145 } 11146 11147 glBindProgramNV = extproc; 11148 11149 glBindProgramNV(target, id); 11150 } 11151 11152 static void APIENTRY InitDeleteProgramsNV (GLsizei n, const GLuint *programs) 11153 { 11154 void *extproc; 11155 11156 extproc = (void *) glGetProcAddress("glDeleteProgramsNV"); 11157 11158 if (extproc == NULL) { 11159 _ASSERT(0); 11160 return; 11161 } 11162 11163 glDeleteProgramsNV = extproc; 11164 11165 glDeleteProgramsNV(n, programs); 11166 } 11167 11168 static void APIENTRY InitExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params) 11169 { 11170 void *extproc; 11171 11172 extproc = (void *) glGetProcAddress("glExecuteProgramNV"); 11173 11174 if (extproc == NULL) { 11175 _ASSERT(0); 11176 return; 11177 } 11178 11179 glExecuteProgramNV = extproc; 11180 11181 glExecuteProgramNV(target, id, params); 11182 } 11183 11184 static void APIENTRY InitGenProgramsNV (GLsizei n, GLuint *programs) 11185 { 11186 void *extproc; 11187 11188 extproc = (void *) glGetProcAddress("glGenProgramsNV"); 11189 11190 if (extproc == NULL) { 11191 _ASSERT(0); 11192 return; 11193 } 11194 11195 glGenProgramsNV = extproc; 11196 11197 glGenProgramsNV(n, programs); 11198 } 11199 11200 static void APIENTRY InitGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params) 11201 { 11202 void *extproc; 11203 11204 extproc = (void *) glGetProcAddress("glGetProgramParameterdvNV"); 11205 11206 if (extproc == NULL) { 11207 _ASSERT(0); 11208 return; 11209 } 11210 11211 glGetProgramParameterdvNV = extproc; 11212 11213 glGetProgramParameterdvNV(target, index, pname, params); 11214 } 11215 11216 static void APIENTRY InitGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params) 11217 { 11218 void *extproc; 11219 11220 extproc = (void *) glGetProcAddress("glGetProgramParameterfvNV"); 11221 11222 if (extproc == NULL) { 11223 _ASSERT(0); 11224 return; 11225 } 11226 11227 glGetProgramParameterfvNV = extproc; 11228 11229 glGetProgramParameterfvNV(target, index, pname, params); 11230 } 11231 11232 static void APIENTRY InitGetProgramivNV (GLuint id, GLenum pname, GLint *params) 11233 { 11234 void *extproc; 11235 11236 extproc = (void *) glGetProcAddress("glGetProgramivNV"); 11237 11238 if (extproc == NULL) { 11239 _ASSERT(0); 11240 return; 11241 } 11242 11243 glGetProgramivNV = extproc; 11244 11245 glGetProgramivNV(id, pname, params); 11246 } 11247 11248 static void APIENTRY InitGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program) 11249 { 11250 void *extproc; 11251 11252 extproc = (void *) glGetProcAddress("glGetProgramStringNV"); 11253 11254 if (extproc == NULL) { 11255 _ASSERT(0); 11256 return; 11257 } 11258 11259 glGetProgramStringNV = extproc; 11260 11261 glGetProgramStringNV(id, pname, program); 11262 } 11263 11264 static void APIENTRY InitGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params) 11265 { 11266 void *extproc; 11267 11268 extproc = (void *) glGetProcAddress("glGetTrackMatrixivNV"); 11269 11270 if (extproc == NULL) { 11271 _ASSERT(0); 11272 return; 11273 } 11274 11275 glGetTrackMatrixivNV = extproc; 11276 11277 glGetTrackMatrixivNV(target, address, pname, params); 11278 } 11279 11280 static void APIENTRY InitGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params) 11281 { 11282 void *extproc; 11283 11284 extproc = (void *) glGetProcAddress("glGetVertexAttribdvNV"); 11285 11286 if (extproc == NULL) { 11287 _ASSERT(0); 11288 return; 11289 } 11290 11291 glGetVertexAttribdvNV = extproc; 11292 11293 glGetVertexAttribdvNV(index, pname, params); 11294 } 11295 11296 static void APIENTRY InitGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params) 11297 { 11298 void *extproc; 11299 11300 extproc = (void *) glGetProcAddress("glGetVertexAttribfvNV"); 11301 11302 if (extproc == NULL) { 11303 _ASSERT(0); 11304 return; 11305 } 11306 11307 glGetVertexAttribfvNV = extproc; 11308 11309 glGetVertexAttribfvNV(index, pname, params); 11310 } 11311 11312 static void APIENTRY InitGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params) 11313 { 11314 void *extproc; 11315 11316 extproc = (void *) glGetProcAddress("glGetVertexAttribivNV"); 11317 11318 if (extproc == NULL) { 11319 _ASSERT(0); 11320 return; 11321 } 11322 11323 glGetVertexAttribivNV = extproc; 11324 11325 glGetVertexAttribivNV(index, pname, params); 11326 } 11327 11328 static void APIENTRY InitGetVertexAttribPointervNV (GLuint index, GLenum pname, GLvoid* *pointer) 11329 { 11330 void *extproc; 11331 11332 extproc = (void *) glGetProcAddress("glGetVertexAttribPointervNV"); 11333 11334 if (extproc == NULL) { 11335 _ASSERT(0); 11336 return; 11337 } 11338 11339 glGetVertexAttribPointervNV = extproc; 11340 11341 glGetVertexAttribPointervNV(index, pname, pointer); 11342 } 11343 11344 static GLboolean APIENTRY InitIsProgramNV (GLuint id) 11345 { 11346 void *extproc; 11347 11348 extproc = (void *) glGetProcAddress("glIsProgramNV"); 11349 11350 if (extproc == NULL) { 11351 _ASSERT(0); 11352 return 0; 11353 } 11354 11355 glIsProgramNV = extproc; 11356 11357 return glIsProgramNV(id); 11358 } 11359 11360 static void APIENTRY InitLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program) 11361 { 11362 void *extproc; 11363 11364 extproc = (void *) glGetProcAddress("glLoadProgramNV"); 11365 11366 if (extproc == NULL) { 11367 _ASSERT(0); 11368 return; 11369 } 11370 11371 glLoadProgramNV = extproc; 11372 11373 glLoadProgramNV(target, id, len, program); 11374 } 11375 11376 static void APIENTRY InitProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 11377 { 11378 void *extproc; 11379 11380 extproc = (void *) glGetProcAddress("glProgramParameter4dNV"); 11381 11382 if (extproc == NULL) { 11383 _ASSERT(0); 11384 return; 11385 } 11386 11387 glProgramParameter4dNV = extproc; 11388 11389 glProgramParameter4dNV(target, index, x, y, z, w); 11390 } 11391 11392 static void APIENTRY InitProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v) 11393 { 11394 void *extproc; 11395 11396 extproc = (void *) glGetProcAddress("glProgramParameter4dvNV"); 11397 11398 if (extproc == NULL) { 11399 _ASSERT(0); 11400 return; 11401 } 11402 11403 glProgramParameter4dvNV = extproc; 11404 11405 glProgramParameter4dvNV(target, index, v); 11406 } 11407 11408 static void APIENTRY InitProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 11409 { 11410 void *extproc; 11411 11412 extproc = (void *) glGetProcAddress("glProgramParameter4fNV"); 11413 11414 if (extproc == NULL) { 11415 _ASSERT(0); 11416 return; 11417 } 11418 11419 glProgramParameter4fNV = extproc; 11420 11421 glProgramParameter4fNV(target, index, x, y, z, w); 11422 } 11423 11424 static void APIENTRY InitProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v) 11425 { 11426 void *extproc; 11427 11428 extproc = (void *) glGetProcAddress("glProgramParameter4fvNV"); 11429 11430 if (extproc == NULL) { 11431 _ASSERT(0); 11432 return; 11433 } 11434 11435 glProgramParameter4fvNV = extproc; 11436 11437 glProgramParameter4fvNV(target, index, v); 11438 } 11439 11440 static void APIENTRY InitProgramParameters4dvNV (GLenum target, GLuint index, GLuint count, const GLdouble *v) 11441 { 11442 void *extproc; 11443 11444 extproc = (void *) glGetProcAddress("glProgramParameters4dvNV"); 11445 11446 if (extproc == NULL) { 11447 _ASSERT(0); 11448 return; 11449 } 11450 11451 glProgramParameters4dvNV = extproc; 11452 11453 glProgramParameters4dvNV(target, index, count, v); 11454 } 11455 11456 static void APIENTRY InitProgramParameters4fvNV (GLenum target, GLuint index, GLuint count, const GLfloat *v) 11457 { 11458 void *extproc; 11459 11460 extproc = (void *) glGetProcAddress("glProgramParameters4fvNV"); 11461 11462 if (extproc == NULL) { 11463 _ASSERT(0); 11464 return; 11465 } 11466 11467 glProgramParameters4fvNV = extproc; 11468 11469 glProgramParameters4fvNV(target, index, count, v); 11470 } 11471 11472 static void APIENTRY InitRequestResidentProgramsNV (GLsizei n, const GLuint *programs) 11473 { 11474 void *extproc; 11475 11476 extproc = (void *) glGetProcAddress("glRequestResidentProgramsNV"); 11477 11478 if (extproc == NULL) { 11479 _ASSERT(0); 11480 return; 11481 } 11482 11483 glRequestResidentProgramsNV = extproc; 11484 11485 glRequestResidentProgramsNV(n, programs); 11486 } 11487 11488 static void APIENTRY InitTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform) 11489 { 11490 void *extproc; 11491 11492 extproc = (void *) glGetProcAddress("glTrackMatrixNV"); 11493 11494 if (extproc == NULL) { 11495 _ASSERT(0); 11496 return; 11497 } 11498 11499 glTrackMatrixNV = extproc; 11500 11501 glTrackMatrixNV(target, address, matrix, transform); 11502 } 11503 11504 static void APIENTRY InitVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer) 11505 { 11506 void *extproc; 11507 11508 extproc = (void *) glGetProcAddress("glVertexAttribPointerNV"); 11509 11510 if (extproc == NULL) { 11511 _ASSERT(0); 11512 return; 11513 } 11514 11515 glVertexAttribPointerNV = extproc; 11516 11517 glVertexAttribPointerNV(index, fsize, type, stride, pointer); 11518 } 11519 11520 static void APIENTRY InitVertexAttrib1dNV (GLuint index, GLdouble x) 11521 { 11522 void *extproc; 11523 11524 extproc = (void *) glGetProcAddress("glVertexAttrib1dNV"); 11525 11526 if (extproc == NULL) { 11527 _ASSERT(0); 11528 return; 11529 } 11530 11531 glVertexAttrib1dNV = extproc; 11532 11533 glVertexAttrib1dNV(index, x); 11534 } 11535 11536 static void APIENTRY InitVertexAttrib1dvNV (GLuint index, const GLdouble *v) 11537 { 11538 void *extproc; 11539 11540 extproc = (void *) glGetProcAddress("glVertexAttrib1dvNV"); 11541 11542 if (extproc == NULL) { 11543 _ASSERT(0); 11544 return; 11545 } 11546 11547 glVertexAttrib1dvNV = extproc; 11548 11549 glVertexAttrib1dvNV(index, v); 11550 } 11551 11552 static void APIENTRY InitVertexAttrib1fNV (GLuint index, GLfloat x) 11553 { 11554 void *extproc; 11555 11556 extproc = (void *) glGetProcAddress("glVertexAttrib1fNV"); 11557 11558 if (extproc == NULL) { 11559 _ASSERT(0); 11560 return; 11561 } 11562 11563 glVertexAttrib1fNV = extproc; 11564 11565 glVertexAttrib1fNV(index, x); 11566 } 11567 11568 static void APIENTRY InitVertexAttrib1fvNV (GLuint index, const GLfloat *v) 11569 { 11570 void *extproc; 11571 11572 extproc = (void *) glGetProcAddress("glVertexAttrib1fvNV"); 11573 11574 if (extproc == NULL) { 11575 _ASSERT(0); 11576 return; 11577 } 11578 11579 glVertexAttrib1fvNV = extproc; 11580 11581 glVertexAttrib1fvNV(index, v); 11582 } 11583 11584 static void APIENTRY InitVertexAttrib1sNV (GLuint index, GLshort x) 11585 { 11586 void *extproc; 11587 11588 extproc = (void *) glGetProcAddress("glVertexAttrib1sNV"); 11589 11590 if (extproc == NULL) { 11591 _ASSERT(0); 11592 return; 11593 } 11594 11595 glVertexAttrib1sNV = extproc; 11596 11597 glVertexAttrib1sNV(index, x); 11598 } 11599 11600 static void APIENTRY InitVertexAttrib1svNV (GLuint index, const GLshort *v) 11601 { 11602 void *extproc; 11603 11604 extproc = (void *) glGetProcAddress("glVertexAttrib1svNV"); 11605 11606 if (extproc == NULL) { 11607 _ASSERT(0); 11608 return; 11609 } 11610 11611 glVertexAttrib1svNV = extproc; 11612 11613 glVertexAttrib1svNV(index, v); 11614 } 11615 11616 static void APIENTRY InitVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y) 11617 { 11618 void *extproc; 11619 11620 extproc = (void *) glGetProcAddress("glVertexAttrib2dNV"); 11621 11622 if (extproc == NULL) { 11623 _ASSERT(0); 11624 return; 11625 } 11626 11627 glVertexAttrib2dNV = extproc; 11628 11629 glVertexAttrib2dNV(index, x, y); 11630 } 11631 11632 static void APIENTRY InitVertexAttrib2dvNV (GLuint index, const GLdouble *v) 11633 { 11634 void *extproc; 11635 11636 extproc = (void *) glGetProcAddress("glVertexAttrib2dvNV"); 11637 11638 if (extproc == NULL) { 11639 _ASSERT(0); 11640 return; 11641 } 11642 11643 glVertexAttrib2dvNV = extproc; 11644 11645 glVertexAttrib2dvNV(index, v); 11646 } 11647 11648 static void APIENTRY InitVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y) 11649 { 11650 void *extproc; 11651 11652 extproc = (void *) glGetProcAddress("glVertexAttrib2fNV"); 11653 11654 if (extproc == NULL) { 11655 _ASSERT(0); 11656 return; 11657 } 11658 11659 glVertexAttrib2fNV = extproc; 11660 11661 glVertexAttrib2fNV(index, x, y); 11662 } 11663 11664 static void APIENTRY InitVertexAttrib2fvNV (GLuint index, const GLfloat *v) 11665 { 11666 void *extproc; 11667 11668 extproc = (void *) glGetProcAddress("glVertexAttrib2fvNV"); 11669 11670 if (extproc == NULL) { 11671 _ASSERT(0); 11672 return; 11673 } 11674 11675 glVertexAttrib2fvNV = extproc; 11676 11677 glVertexAttrib2fvNV(index, v); 11678 } 11679 11680 static void APIENTRY InitVertexAttrib2sNV (GLuint index, GLshort x, GLshort y) 11681 { 11682 void *extproc; 11683 11684 extproc = (void *) glGetProcAddress("glVertexAttrib2sNV"); 11685 11686 if (extproc == NULL) { 11687 _ASSERT(0); 11688 return; 11689 } 11690 11691 glVertexAttrib2sNV = extproc; 11692 11693 glVertexAttrib2sNV(index, x, y); 11694 } 11695 11696 static void APIENTRY InitVertexAttrib2svNV (GLuint index, const GLshort *v) 11697 { 11698 void *extproc; 11699 11700 extproc = (void *) glGetProcAddress("glVertexAttrib2svNV"); 11701 11702 if (extproc == NULL) { 11703 _ASSERT(0); 11704 return; 11705 } 11706 11707 glVertexAttrib2svNV = extproc; 11708 11709 glVertexAttrib2svNV(index, v); 11710 } 11711 11712 static void APIENTRY InitVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z) 11713 { 11714 void *extproc; 11715 11716 extproc = (void *) glGetProcAddress("glVertexAttrib3dNV"); 11717 11718 if (extproc == NULL) { 11719 _ASSERT(0); 11720 return; 11721 } 11722 11723 glVertexAttrib3dNV = extproc; 11724 11725 glVertexAttrib3dNV(index, x, y, z); 11726 } 11727 11728 static void APIENTRY InitVertexAttrib3dvNV (GLuint index, const GLdouble *v) 11729 { 11730 void *extproc; 11731 11732 extproc = (void *) glGetProcAddress("glVertexAttrib3dvNV"); 11733 11734 if (extproc == NULL) { 11735 _ASSERT(0); 11736 return; 11737 } 11738 11739 glVertexAttrib3dvNV = extproc; 11740 11741 glVertexAttrib3dvNV(index, v); 11742 } 11743 11744 static void APIENTRY InitVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z) 11745 { 11746 void *extproc; 11747 11748 extproc = (void *) glGetProcAddress("glVertexAttrib3fNV"); 11749 11750 if (extproc == NULL) { 11751 _ASSERT(0); 11752 return; 11753 } 11754 11755 glVertexAttrib3fNV = extproc; 11756 11757 glVertexAttrib3fNV(index, x, y, z); 11758 } 11759 11760 static void APIENTRY InitVertexAttrib3fvNV (GLuint index, const GLfloat *v) 11761 { 11762 void *extproc; 11763 11764 extproc = (void *) glGetProcAddress("glVertexAttrib3fvNV"); 11765 11766 if (extproc == NULL) { 11767 _ASSERT(0); 11768 return; 11769 } 11770 11771 glVertexAttrib3fvNV = extproc; 11772 11773 glVertexAttrib3fvNV(index, v); 11774 } 11775 11776 static void APIENTRY InitVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z) 11777 { 11778 void *extproc; 11779 11780 extproc = (void *) glGetProcAddress("glVertexAttrib3sNV"); 11781 11782 if (extproc == NULL) { 11783 _ASSERT(0); 11784 return; 11785 } 11786 11787 glVertexAttrib3sNV = extproc; 11788 11789 glVertexAttrib3sNV(index, x, y, z); 11790 } 11791 11792 static void APIENTRY InitVertexAttrib3svNV (GLuint index, const GLshort *v) 11793 { 11794 void *extproc; 11795 11796 extproc = (void *) glGetProcAddress("glVertexAttrib3svNV"); 11797 11798 if (extproc == NULL) { 11799 _ASSERT(0); 11800 return; 11801 } 11802 11803 glVertexAttrib3svNV = extproc; 11804 11805 glVertexAttrib3svNV(index, v); 11806 } 11807 11808 static void APIENTRY InitVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 11809 { 11810 void *extproc; 11811 11812 extproc = (void *) glGetProcAddress("glVertexAttrib4dNV"); 11813 11814 if (extproc == NULL) { 11815 _ASSERT(0); 11816 return; 11817 } 11818 11819 glVertexAttrib4dNV = extproc; 11820 11821 glVertexAttrib4dNV(index, x, y, z, w); 11822 } 11823 11824 static void APIENTRY InitVertexAttrib4dvNV (GLuint index, const GLdouble *v) 11825 { 11826 void *extproc; 11827 11828 extproc = (void *) glGetProcAddress("glVertexAttrib4dvNV"); 11829 11830 if (extproc == NULL) { 11831 _ASSERT(0); 11832 return; 11833 } 11834 11835 glVertexAttrib4dvNV = extproc; 11836 11837 glVertexAttrib4dvNV(index, v); 11838 } 11839 11840 static void APIENTRY InitVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 11841 { 11842 void *extproc; 11843 11844 extproc = (void *) glGetProcAddress("glVertexAttrib4fNV"); 11845 11846 if (extproc == NULL) { 11847 _ASSERT(0); 11848 return; 11849 } 11850 11851 glVertexAttrib4fNV = extproc; 11852 11853 glVertexAttrib4fNV(index, x, y, z, w); 11854 } 11855 11856 static void APIENTRY InitVertexAttrib4fvNV (GLuint index, const GLfloat *v) 11857 { 11858 void *extproc; 11859 11860 extproc = (void *) glGetProcAddress("glVertexAttrib4fvNV"); 11861 11862 if (extproc == NULL) { 11863 _ASSERT(0); 11864 return; 11865 } 11866 11867 glVertexAttrib4fvNV = extproc; 11868 11869 glVertexAttrib4fvNV(index, v); 11870 } 11871 11872 static void APIENTRY InitVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) 11873 { 11874 void *extproc; 11875 11876 extproc = (void *) glGetProcAddress("glVertexAttrib4sNV"); 11877 11878 if (extproc == NULL) { 11879 _ASSERT(0); 11880 return; 11881 } 11882 11883 glVertexAttrib4sNV = extproc; 11884 11885 glVertexAttrib4sNV(index, x, y, z, w); 11886 } 11887 11888 static void APIENTRY InitVertexAttrib4svNV (GLuint index, const GLshort *v) 11889 { 11890 void *extproc; 11891 11892 extproc = (void *) glGetProcAddress("glVertexAttrib4svNV"); 11893 11894 if (extproc == NULL) { 11895 _ASSERT(0); 11896 return; 11897 } 11898 11899 glVertexAttrib4svNV = extproc; 11900 11901 glVertexAttrib4svNV(index, v); 11902 } 11903 11904 static void APIENTRY InitVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) 11905 { 11906 void *extproc; 11907 11908 extproc = (void *) glGetProcAddress("glVertexAttrib4ubNV"); 11909 11910 if (extproc == NULL) { 11911 _ASSERT(0); 11912 return; 11913 } 11914 11915 glVertexAttrib4ubNV = extproc; 11916 11917 glVertexAttrib4ubNV(index, x, y, z, w); 11918 } 11919 11920 static void APIENTRY InitVertexAttrib4ubvNV (GLuint index, const GLubyte *v) 11921 { 11922 void *extproc; 11923 11924 extproc = (void *) glGetProcAddress("glVertexAttrib4ubvNV"); 11925 11926 if (extproc == NULL) { 11927 _ASSERT(0); 11928 return; 11929 } 11930 11931 glVertexAttrib4ubvNV = extproc; 11932 11933 glVertexAttrib4ubvNV(index, v); 11934 } 11935 11936 static void APIENTRY InitVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v) 11937 { 11938 void *extproc; 11939 11940 extproc = (void *) glGetProcAddress("glVertexAttribs1dvNV"); 11941 11942 if (extproc == NULL) { 11943 _ASSERT(0); 11944 return; 11945 } 11946 11947 glVertexAttribs1dvNV = extproc; 11948 11949 glVertexAttribs1dvNV(index, count, v); 11950 } 11951 11952 static void APIENTRY InitVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v) 11953 { 11954 void *extproc; 11955 11956 extproc = (void *) glGetProcAddress("glVertexAttribs1fvNV"); 11957 11958 if (extproc == NULL) { 11959 _ASSERT(0); 11960 return; 11961 } 11962 11963 glVertexAttribs1fvNV = extproc; 11964 11965 glVertexAttribs1fvNV(index, count, v); 11966 } 11967 11968 static void APIENTRY InitVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v) 11969 { 11970 void *extproc; 11971 11972 extproc = (void *) glGetProcAddress("glVertexAttribs1svNV"); 11973 11974 if (extproc == NULL) { 11975 _ASSERT(0); 11976 return; 11977 } 11978 11979 glVertexAttribs1svNV = extproc; 11980 11981 glVertexAttribs1svNV(index, count, v); 11982 } 11983 11984 static void APIENTRY InitVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v) 11985 { 11986 void *extproc; 11987 11988 extproc = (void *) glGetProcAddress("glVertexAttribs2dvNV"); 11989 11990 if (extproc == NULL) { 11991 _ASSERT(0); 11992 return; 11993 } 11994 11995 glVertexAttribs2dvNV = extproc; 11996 11997 glVertexAttribs2dvNV(index, count, v); 11998 } 11999 12000 static void APIENTRY InitVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v) 12001 { 12002 void *extproc; 12003 12004 extproc = (void *) glGetProcAddress("glVertexAttribs2fvNV"); 12005 12006 if (extproc == NULL) { 12007 _ASSERT(0); 12008 return; 12009 } 12010 12011 glVertexAttribs2fvNV = extproc; 12012 12013 glVertexAttribs2fvNV(index, count, v); 12014 } 12015 12016 static void APIENTRY InitVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v) 12017 { 12018 void *extproc; 12019 12020 extproc = (void *) glGetProcAddress("glVertexAttribs2svNV"); 12021 12022 if (extproc == NULL) { 12023 _ASSERT(0); 12024 return; 12025 } 12026 12027 glVertexAttribs2svNV = extproc; 12028 12029 glVertexAttribs2svNV(index, count, v); 12030 } 12031 12032 static void APIENTRY InitVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v) 12033 { 12034 void *extproc; 12035 12036 extproc = (void *) glGetProcAddress("glVertexAttribs3dvNV"); 12037 12038 if (extproc == NULL) { 12039 _ASSERT(0); 12040 return; 12041 } 12042 12043 glVertexAttribs3dvNV = extproc; 12044 12045 glVertexAttribs3dvNV(index, count, v); 12046 } 12047 12048 static void APIENTRY InitVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v) 12049 { 12050 void *extproc; 12051 12052 extproc = (void *) glGetProcAddress("glVertexAttribs3fvNV"); 12053 12054 if (extproc == NULL) { 12055 _ASSERT(0); 12056 return; 12057 } 12058 12059 glVertexAttribs3fvNV = extproc; 12060 12061 glVertexAttribs3fvNV(index, count, v); 12062 } 12063 12064 static void APIENTRY InitVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v) 12065 { 12066 void *extproc; 12067 12068 extproc = (void *) glGetProcAddress("glVertexAttribs3svNV"); 12069 12070 if (extproc == NULL) { 12071 _ASSERT(0); 12072 return; 12073 } 12074 12075 glVertexAttribs3svNV = extproc; 12076 12077 glVertexAttribs3svNV(index, count, v); 12078 } 12079 12080 static void APIENTRY InitVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v) 12081 { 12082 void *extproc; 12083 12084 extproc = (void *) glGetProcAddress("glVertexAttribs4dvNV"); 12085 12086 if (extproc == NULL) { 12087 _ASSERT(0); 12088 return; 12089 } 12090 12091 glVertexAttribs4dvNV = extproc; 12092 12093 glVertexAttribs4dvNV(index, count, v); 12094 } 12095 12096 static void APIENTRY InitVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v) 12097 { 12098 void *extproc; 12099 12100 extproc = (void *) glGetProcAddress("glVertexAttribs4fvNV"); 12101 12102 if (extproc == NULL) { 12103 _ASSERT(0); 12104 return; 12105 } 12106 12107 glVertexAttribs4fvNV = extproc; 12108 12109 glVertexAttribs4fvNV(index, count, v); 12110 } 12111 12112 static void APIENTRY InitVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v) 12113 { 12114 void *extproc; 12115 12116 extproc = (void *) glGetProcAddress("glVertexAttribs4svNV"); 12117 12118 if (extproc == NULL) { 12119 _ASSERT(0); 12120 return; 12121 } 12122 12123 glVertexAttribs4svNV = extproc; 12124 12125 glVertexAttribs4svNV(index, count, v); 12126 } 12127 12128 static void APIENTRY InitVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v) 12129 { 12130 void *extproc; 12131 12132 extproc = (void *) glGetProcAddress("glVertexAttribs4ubvNV"); 12133 12134 if (extproc == NULL) { 12135 _ASSERT(0); 12136 return; 12137 } 12138 12139 glVertexAttribs4ubvNV = extproc; 12140 12141 glVertexAttribs4ubvNV(index, count, v); 12142 } 12143 12144 static void APIENTRY InitTexBumpParameterivATI (GLenum pname, const GLint *param) 12145 { 12146 void *extproc; 12147 12148 extproc = (void *) glGetProcAddress("glTexBumpParameterivATI"); 12149 12150 if (extproc == NULL) { 12151 _ASSERT(0); 12152 return; 12153 } 12154 12155 glTexBumpParameterivATI = extproc; 12156 12157 glTexBumpParameterivATI(pname, param); 12158 } 12159 12160 static void APIENTRY InitTexBumpParameterfvATI (GLenum pname, const GLfloat *param) 12161 { 12162 void *extproc; 12163 12164 extproc = (void *) glGetProcAddress("glTexBumpParameterfvATI"); 12165 12166 if (extproc == NULL) { 12167 _ASSERT(0); 12168 return; 12169 } 12170 12171 glTexBumpParameterfvATI = extproc; 12172 12173 glTexBumpParameterfvATI(pname, param); 12174 } 12175 12176 static void APIENTRY InitGetTexBumpParameterivATI (GLenum pname, GLint *param) 12177 { 12178 void *extproc; 12179 12180 extproc = (void *) glGetProcAddress("glGetTexBumpParameterivATI"); 12181 12182 if (extproc == NULL) { 12183 _ASSERT(0); 12184 return; 12185 } 12186 12187 glGetTexBumpParameterivATI = extproc; 12188 12189 glGetTexBumpParameterivATI(pname, param); 12190 } 12191 12192 static void APIENTRY InitGetTexBumpParameterfvATI (GLenum pname, GLfloat *param) 12193 { 12194 void *extproc; 12195 12196 extproc = (void *) glGetProcAddress("glGetTexBumpParameterfvATI"); 12197 12198 if (extproc == NULL) { 12199 _ASSERT(0); 12200 return; 12201 } 12202 12203 glGetTexBumpParameterfvATI = extproc; 12204 12205 glGetTexBumpParameterfvATI(pname, param); 12206 } 12207 12208 static GLuint APIENTRY InitGenFragmentShadersATI (GLuint range) 12209 { 12210 void *extproc; 12211 12212 extproc = (void *) glGetProcAddress("glGenFragmentShadersATI"); 12213 12214 if (extproc == NULL) { 12215 _ASSERT(0); 12216 return 0; 12217 } 12218 12219 glGenFragmentShadersATI = extproc; 12220 12221 return glGenFragmentShadersATI(range); 12222 } 12223 12224 static void APIENTRY InitBindFragmentShaderATI (GLuint id) 12225 { 12226 void *extproc; 12227 12228 extproc = (void *) glGetProcAddress("glBindFragmentShaderATI"); 12229 12230 if (extproc == NULL) { 12231 _ASSERT(0); 12232 return; 12233 } 12234 12235 glBindFragmentShaderATI = extproc; 12236 12237 glBindFragmentShaderATI(id); 12238 } 12239 12240 static void APIENTRY InitDeleteFragmentShaderATI (GLuint id) 12241 { 12242 void *extproc; 12243 12244 extproc = (void *) glGetProcAddress("glDeleteFragmentShaderATI"); 12245 12246 if (extproc == NULL) { 12247 _ASSERT(0); 12248 return; 12249 } 12250 12251 glDeleteFragmentShaderATI = extproc; 12252 12253 glDeleteFragmentShaderATI(id); 12254 } 12255 12256 static void APIENTRY InitBeginFragmentShaderATI (void) 12257 { 12258 void *extproc; 12259 12260 extproc = (void *) glGetProcAddress("glBeginFragmentShaderATI"); 12261 12262 if (extproc == NULL) { 12263 _ASSERT(0); 12264 return; 12265 } 12266 12267 glBeginFragmentShaderATI = extproc; 12268 12269 glBeginFragmentShaderATI(); 12270 } 12271 12272 static void APIENTRY InitEndFragmentShaderATI (void) 12273 { 12274 void *extproc; 12275 12276 extproc = (void *) glGetProcAddress("glEndFragmentShaderATI"); 12277 12278 if (extproc == NULL) { 12279 _ASSERT(0); 12280 return; 12281 } 12282 12283 glEndFragmentShaderATI = extproc; 12284 12285 glEndFragmentShaderATI(); 12286 } 12287 12288 static void APIENTRY InitPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle) 12289 { 12290 void *extproc; 12291 12292 extproc = (void *) glGetProcAddress("glPassTexCoordATI"); 12293 12294 if (extproc == NULL) { 12295 _ASSERT(0); 12296 return; 12297 } 12298 12299 glPassTexCoordATI = extproc; 12300 12301 glPassTexCoordATI(dst, coord, swizzle); 12302 } 12303 12304 static void APIENTRY InitSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle) 12305 { 12306 void *extproc; 12307 12308 extproc = (void *) glGetProcAddress("glSampleMapATI"); 12309 12310 if (extproc == NULL) { 12311 _ASSERT(0); 12312 return; 12313 } 12314 12315 glSampleMapATI = extproc; 12316 12317 glSampleMapATI(dst, interp, swizzle); 12318 } 12319 12320 static void APIENTRY InitColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) 12321 { 12322 void *extproc; 12323 12324 extproc = (void *) glGetProcAddress("glColorFragmentOp1ATI"); 12325 12326 if (extproc == NULL) { 12327 _ASSERT(0); 12328 return; 12329 } 12330 12331 glColorFragmentOp1ATI = extproc; 12332 12333 glColorFragmentOp1ATI(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod); 12334 } 12335 12336 static void APIENTRY InitColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) 12337 { 12338 void *extproc; 12339 12340 extproc = (void *) glGetProcAddress("glColorFragmentOp2ATI"); 12341 12342 if (extproc == NULL) { 12343 _ASSERT(0); 12344 return; 12345 } 12346 12347 glColorFragmentOp2ATI = extproc; 12348 12349 glColorFragmentOp2ATI(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); 12350 } 12351 12352 static void APIENTRY InitColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) 12353 { 12354 void *extproc; 12355 12356 extproc = (void *) glGetProcAddress("glColorFragmentOp3ATI"); 12357 12358 if (extproc == NULL) { 12359 _ASSERT(0); 12360 return; 12361 } 12362 12363 glColorFragmentOp3ATI = extproc; 12364 12365 glColorFragmentOp3ATI(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); 12366 } 12367 12368 static void APIENTRY InitAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) 12369 { 12370 void *extproc; 12371 12372 extproc = (void *) glGetProcAddress("glAlphaFragmentOp1ATI"); 12373 12374 if (extproc == NULL) { 12375 _ASSERT(0); 12376 return; 12377 } 12378 12379 glAlphaFragmentOp1ATI = extproc; 12380 12381 glAlphaFragmentOp1ATI(op, dst, dstMod, arg1, arg1Rep, arg1Mod); 12382 } 12383 12384 static void APIENTRY InitAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) 12385 { 12386 void *extproc; 12387 12388 extproc = (void *) glGetProcAddress("glAlphaFragmentOp2ATI"); 12389 12390 if (extproc == NULL) { 12391 _ASSERT(0); 12392 return; 12393 } 12394 12395 glAlphaFragmentOp2ATI = extproc; 12396 12397 glAlphaFragmentOp2ATI(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); 12398 } 12399 12400 static void APIENTRY InitAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) 12401 { 12402 void *extproc; 12403 12404 extproc = (void *) glGetProcAddress("glAlphaFragmentOp3ATI"); 12405 12406 if (extproc == NULL) { 12407 _ASSERT(0); 12408 return; 12409 } 12410 12411 glAlphaFragmentOp3ATI = extproc; 12412 12413 glAlphaFragmentOp3ATI(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); 12414 } 12415 12416 static void APIENTRY InitSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value) 12417 { 12418 void *extproc; 12419 12420 extproc = (void *) glGetProcAddress("glSetFragmentShaderConstantATI"); 12421 12422 if (extproc == NULL) { 12423 _ASSERT(0); 12424 return; 12425 } 12426 12427 glSetFragmentShaderConstantATI = extproc; 12428 12429 glSetFragmentShaderConstantATI(dst, value); 12430 } 12431 12432 static void APIENTRY InitPNTrianglesiATI (GLenum pname, GLint param) 12433 { 12434 void *extproc; 12435 12436 extproc = (void *) glGetProcAddress("glPNTrianglesiATI"); 12437 12438 if (extproc == NULL) { 12439 _ASSERT(0); 12440 return; 12441 } 12442 12443 glPNTrianglesiATI = extproc; 12444 12445 glPNTrianglesiATI(pname, param); 12446 } 12447 12448 static void APIENTRY InitPNTrianglesfATI (GLenum pname, GLfloat param) 12449 { 12450 void *extproc; 12451 12452 extproc = (void *) glGetProcAddress("glPNTrianglesfATI"); 12453 12454 if (extproc == NULL) { 12455 _ASSERT(0); 12456 return; 12457 } 12458 12459 glPNTrianglesfATI = extproc; 12460 12461 glPNTrianglesfATI(pname, param); 12462 } 12463 12464 static GLuint APIENTRY InitNewObjectBufferATI (GLsizei size, const GLvoid *pointer, GLenum usage) 12465 { 12466 void *extproc; 12467 12468 extproc = (void *) glGetProcAddress("glNewObjectBufferATI"); 12469 12470 if (extproc == NULL) { 12471 _ASSERT(0); 12472 return 0; 12473 } 12474 12475 glNewObjectBufferATI = extproc; 12476 12477 return glNewObjectBufferATI(size, pointer, usage); 12478 } 12479 12480 static GLboolean APIENTRY InitIsObjectBufferATI (GLuint buffer) 12481 { 12482 void *extproc; 12483 12484 extproc = (void *) glGetProcAddress("glIsObjectBufferATI"); 12485 12486 if (extproc == NULL) { 12487 _ASSERT(0); 12488 return 0; 12489 } 12490 12491 glIsObjectBufferATI = extproc; 12492 12493 return glIsObjectBufferATI(buffer); 12494 } 12495 12496 static void APIENTRY InitUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve) 12497 { 12498 void *extproc; 12499 12500 extproc = (void *) glGetProcAddress("glUpdateObjectBufferATI"); 12501 12502 if (extproc == NULL) { 12503 _ASSERT(0); 12504 return; 12505 } 12506 12507 glUpdateObjectBufferATI = extproc; 12508 12509 glUpdateObjectBufferATI(buffer, offset, size, pointer, preserve); 12510 } 12511 12512 static void APIENTRY InitGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params) 12513 { 12514 void *extproc; 12515 12516 extproc = (void *) glGetProcAddress("glGetObjectBufferfvATI"); 12517 12518 if (extproc == NULL) { 12519 _ASSERT(0); 12520 return; 12521 } 12522 12523 glGetObjectBufferfvATI = extproc; 12524 12525 glGetObjectBufferfvATI(buffer, pname, params); 12526 } 12527 12528 static void APIENTRY InitGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params) 12529 { 12530 void *extproc; 12531 12532 extproc = (void *) glGetProcAddress("glGetObjectBufferivATI"); 12533 12534 if (extproc == NULL) { 12535 _ASSERT(0); 12536 return; 12537 } 12538 12539 glGetObjectBufferivATI = extproc; 12540 12541 glGetObjectBufferivATI(buffer, pname, params); 12542 } 12543 12544 static void APIENTRY InitFreeObjectBufferATI (GLuint buffer) 12545 { 12546 void *extproc; 12547 12548 extproc = (void *) glGetProcAddress("glFreeObjectBufferATI"); 12549 12550 if (extproc == NULL) { 12551 _ASSERT(0); 12552 return; 12553 } 12554 12555 glFreeObjectBufferATI = extproc; 12556 12557 glFreeObjectBufferATI(buffer); 12558 } 12559 12560 static void APIENTRY InitArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) 12561 { 12562 void *extproc; 12563 12564 extproc = (void *) glGetProcAddress("glArrayObjectATI"); 12565 12566 if (extproc == NULL) { 12567 _ASSERT(0); 12568 return; 12569 } 12570 12571 glArrayObjectATI = extproc; 12572 12573 glArrayObjectATI(array, size, type, stride, buffer, offset); 12574 } 12575 12576 static void APIENTRY InitGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params) 12577 { 12578 void *extproc; 12579 12580 extproc = (void *) glGetProcAddress("glGetArrayObjectfvATI"); 12581 12582 if (extproc == NULL) { 12583 _ASSERT(0); 12584 return; 12585 } 12586 12587 glGetArrayObjectfvATI = extproc; 12588 12589 glGetArrayObjectfvATI(array, pname, params); 12590 } 12591 12592 static void APIENTRY InitGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params) 12593 { 12594 void *extproc; 12595 12596 extproc = (void *) glGetProcAddress("glGetArrayObjectivATI"); 12597 12598 if (extproc == NULL) { 12599 _ASSERT(0); 12600 return; 12601 } 12602 12603 glGetArrayObjectivATI = extproc; 12604 12605 glGetArrayObjectivATI(array, pname, params); 12606 } 12607 12608 static void APIENTRY InitVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) 12609 { 12610 void *extproc; 12611 12612 extproc = (void *) glGetProcAddress("glVariantArrayObjectATI"); 12613 12614 if (extproc == NULL) { 12615 _ASSERT(0); 12616 return; 12617 } 12618 12619 glVariantArrayObjectATI = extproc; 12620 12621 glVariantArrayObjectATI(id, type, stride, buffer, offset); 12622 } 12623 12624 static void APIENTRY InitGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params) 12625 { 12626 void *extproc; 12627 12628 extproc = (void *) glGetProcAddress("glGetVariantArrayObjectfvATI"); 12629 12630 if (extproc == NULL) { 12631 _ASSERT(0); 12632 return; 12633 } 12634 12635 glGetVariantArrayObjectfvATI = extproc; 12636 12637 glGetVariantArrayObjectfvATI(id, pname, params); 12638 } 12639 12640 static void APIENTRY InitGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params) 12641 { 12642 void *extproc; 12643 12644 extproc = (void *) glGetProcAddress("glGetVariantArrayObjectivATI"); 12645 12646 if (extproc == NULL) { 12647 _ASSERT(0); 12648 return; 12649 } 12650 12651 glGetVariantArrayObjectivATI = extproc; 12652 12653 glGetVariantArrayObjectivATI(id, pname, params); 12654 } 12655 12656 static void APIENTRY InitBeginVertexShaderEXT (void) 12657 { 12658 void *extproc; 12659 12660 extproc = (void *) glGetProcAddress("glBeginVertexShaderEXT"); 12661 12662 if (extproc == NULL) { 12663 _ASSERT(0); 12664 return; 12665 } 12666 12667 glBeginVertexShaderEXT = extproc; 12668 12669 glBeginVertexShaderEXT(); 12670 } 12671 12672 static void APIENTRY InitEndVertexShaderEXT (void) 12673 { 12674 void *extproc; 12675 12676 extproc = (void *) glGetProcAddress("glEndVertexShaderEXT"); 12677 12678 if (extproc == NULL) { 12679 _ASSERT(0); 12680 return; 12681 } 12682 12683 glEndVertexShaderEXT = extproc; 12684 12685 glEndVertexShaderEXT(); 12686 } 12687 12688 static void APIENTRY InitBindVertexShaderEXT (GLuint id) 12689 { 12690 void *extproc; 12691 12692 extproc = (void *) glGetProcAddress("glBindVertexShaderEXT"); 12693 12694 if (extproc == NULL) { 12695 _ASSERT(0); 12696 return; 12697 } 12698 12699 glBindVertexShaderEXT = extproc; 12700 12701 glBindVertexShaderEXT(id); 12702 } 12703 12704 static GLuint APIENTRY InitGenVertexShadersEXT (GLuint range) 12705 { 12706 void *extproc; 12707 12708 extproc = (void *) glGetProcAddress("glGenVertexShadersEXT"); 12709 12710 if (extproc == NULL) { 12711 _ASSERT(0); 12712 return 0; 12713 } 12714 12715 glGenVertexShadersEXT = extproc; 12716 12717 return glGenVertexShadersEXT(range); 12718 } 12719 12720 static void APIENTRY InitDeleteVertexShaderEXT (GLuint id) 12721 { 12722 void *extproc; 12723 12724 extproc = (void *) glGetProcAddress("glDeleteVertexShaderEXT"); 12725 12726 if (extproc == NULL) { 12727 _ASSERT(0); 12728 return; 12729 } 12730 12731 glDeleteVertexShaderEXT = extproc; 12732 12733 glDeleteVertexShaderEXT(id); 12734 } 12735 12736 static void APIENTRY InitShaderOp1EXT (GLenum op, GLuint res, GLuint arg1) 12737 { 12738 void *extproc; 12739 12740 extproc = (void *) glGetProcAddress("glShaderOp1EXT"); 12741 12742 if (extproc == NULL) { 12743 _ASSERT(0); 12744 return; 12745 } 12746 12747 glShaderOp1EXT = extproc; 12748 12749 glShaderOp1EXT(op, res, arg1); 12750 } 12751 12752 static void APIENTRY InitShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2) 12753 { 12754 void *extproc; 12755 12756 extproc = (void *) glGetProcAddress("glShaderOp2EXT"); 12757 12758 if (extproc == NULL) { 12759 _ASSERT(0); 12760 return; 12761 } 12762 12763 glShaderOp2EXT = extproc; 12764 12765 glShaderOp2EXT(op, res, arg1, arg2); 12766 } 12767 12768 static void APIENTRY InitShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3) 12769 { 12770 void *extproc; 12771 12772 extproc = (void *) glGetProcAddress("glShaderOp3EXT"); 12773 12774 if (extproc == NULL) { 12775 _ASSERT(0); 12776 return; 12777 } 12778 12779 glShaderOp3EXT = extproc; 12780 12781 glShaderOp3EXT(op, res, arg1, arg2, arg3); 12782 } 12783 12784 static void APIENTRY InitSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) 12785 { 12786 void *extproc; 12787 12788 extproc = (void *) glGetProcAddress("glSwizzleEXT"); 12789 12790 if (extproc == NULL) { 12791 _ASSERT(0); 12792 return; 12793 } 12794 12795 glSwizzleEXT = extproc; 12796 12797 glSwizzleEXT(res, in, outX, outY, outZ, outW); 12798 } 12799 12800 static void APIENTRY InitWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) 12801 { 12802 void *extproc; 12803 12804 extproc = (void *) glGetProcAddress("glWriteMaskEXT"); 12805 12806 if (extproc == NULL) { 12807 _ASSERT(0); 12808 return; 12809 } 12810 12811 glWriteMaskEXT = extproc; 12812 12813 glWriteMaskEXT(res, in, outX, outY, outZ, outW); 12814 } 12815 12816 static void APIENTRY InitInsertComponentEXT (GLuint res, GLuint src, GLuint num) 12817 { 12818 void *extproc; 12819 12820 extproc = (void *) glGetProcAddress("glInsertComponentEXT"); 12821 12822 if (extproc == NULL) { 12823 _ASSERT(0); 12824 return; 12825 } 12826 12827 glInsertComponentEXT = extproc; 12828 12829 glInsertComponentEXT(res, src, num); 12830 } 12831 12832 static void APIENTRY InitExtractComponentEXT (GLuint res, GLuint src, GLuint num) 12833 { 12834 void *extproc; 12835 12836 extproc = (void *) glGetProcAddress("glExtractComponentEXT"); 12837 12838 if (extproc == NULL) { 12839 _ASSERT(0); 12840 return; 12841 } 12842 12843 glExtractComponentEXT = extproc; 12844 12845 glExtractComponentEXT(res, src, num); 12846 } 12847 12848 static GLuint APIENTRY InitGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components) 12849 { 12850 void *extproc; 12851 12852 extproc = (void *) glGetProcAddress("glGenSymbolsEXT"); 12853 12854 if (extproc == NULL) { 12855 _ASSERT(0); 12856 return 0; 12857 } 12858 12859 glGenSymbolsEXT = extproc; 12860 12861 return glGenSymbolsEXT(datatype, storagetype, range, components); 12862 } 12863 12864 static void APIENTRY InitSetInvariantEXT (GLuint id, GLenum type, const GLvoid *addr) 12865 { 12866 void *extproc; 12867 12868 extproc = (void *) glGetProcAddress("glSetInvariantEXT"); 12869 12870 if (extproc == NULL) { 12871 _ASSERT(0); 12872 return; 12873 } 12874 12875 glSetInvariantEXT = extproc; 12876 12877 glSetInvariantEXT(id, type, addr); 12878 } 12879 12880 static void APIENTRY InitSetLocalConstantEXT (GLuint id, GLenum type, const GLvoid *addr) 12881 { 12882 void *extproc; 12883 12884 extproc = (void *) glGetProcAddress("glSetLocalConstantEXT"); 12885 12886 if (extproc == NULL) { 12887 _ASSERT(0); 12888 return; 12889 } 12890 12891 glSetLocalConstantEXT = extproc; 12892 12893 glSetLocalConstantEXT(id, type, addr); 12894 } 12895 12896 static void APIENTRY InitVariantbvEXT (GLuint id, const GLbyte *addr) 12897 { 12898 void *extproc; 12899 12900 extproc = (void *) glGetProcAddress("glVariantbvEXT"); 12901 12902 if (extproc == NULL) { 12903 _ASSERT(0); 12904 return; 12905 } 12906 12907 glVariantbvEXT = extproc; 12908 12909 glVariantbvEXT(id, addr); 12910 } 12911 12912 static void APIENTRY InitVariantsvEXT (GLuint id, const GLshort *addr) 12913 { 12914 void *extproc; 12915 12916 extproc = (void *) glGetProcAddress("glVariantsvEXT"); 12917 12918 if (extproc == NULL) { 12919 _ASSERT(0); 12920 return; 12921 } 12922 12923 glVariantsvEXT = extproc; 12924 12925 glVariantsvEXT(id, addr); 12926 } 12927 12928 static void APIENTRY InitVariantivEXT (GLuint id, const GLint *addr) 12929 { 12930 void *extproc; 12931 12932 extproc = (void *) glGetProcAddress("glVariantivEXT"); 12933 12934 if (extproc == NULL) { 12935 _ASSERT(0); 12936 return; 12937 } 12938 12939 glVariantivEXT = extproc; 12940 12941 glVariantivEXT(id, addr); 12942 } 12943 12944 static void APIENTRY InitVariantfvEXT (GLuint id, const GLfloat *addr) 12945 { 12946 void *extproc; 12947 12948 extproc = (void *) glGetProcAddress("glVariantfvEXT"); 12949 12950 if (extproc == NULL) { 12951 _ASSERT(0); 12952 return; 12953 } 12954 12955 glVariantfvEXT = extproc; 12956 12957 glVariantfvEXT(id, addr); 12958 } 12959 12960 static void APIENTRY InitVariantdvEXT (GLuint id, const GLdouble *addr) 12961 { 12962 void *extproc; 12963 12964 extproc = (void *) glGetProcAddress("glVariantdvEXT"); 12965 12966 if (extproc == NULL) { 12967 _ASSERT(0); 12968 return; 12969 } 12970 12971 glVariantdvEXT = extproc; 12972 12973 glVariantdvEXT(id, addr); 12974 } 12975 12976 static void APIENTRY InitVariantubvEXT (GLuint id, const GLubyte *addr) 12977 { 12978 void *extproc; 12979 12980 extproc = (void *) glGetProcAddress("glVariantubvEXT"); 12981 12982 if (extproc == NULL) { 12983 _ASSERT(0); 12984 return; 12985 } 12986 12987 glVariantubvEXT = extproc; 12988 12989 glVariantubvEXT(id, addr); 12990 } 12991 12992 static void APIENTRY InitVariantusvEXT (GLuint id, const GLushort *addr) 12993 { 12994 void *extproc; 12995 12996 extproc = (void *) glGetProcAddress("glVariantusvEXT"); 12997 12998 if (extproc == NULL) { 12999 _ASSERT(0); 13000 return; 13001 } 13002 13003 glVariantusvEXT = extproc; 13004 13005 glVariantusvEXT(id, addr); 13006 } 13007 13008 static void APIENTRY InitVariantuivEXT (GLuint id, const GLuint *addr) 13009 { 13010 void *extproc; 13011 13012 extproc = (void *) glGetProcAddress("glVariantuivEXT"); 13013 13014 if (extproc == NULL) { 13015 _ASSERT(0); 13016 return; 13017 } 13018 13019 glVariantuivEXT = extproc; 13020 13021 glVariantuivEXT(id, addr); 13022 } 13023 13024 static void APIENTRY InitVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const GLvoid *addr) 13025 { 13026 void *extproc; 13027 13028 extproc = (void *) glGetProcAddress("glVariantPointerEXT"); 13029 13030 if (extproc == NULL) { 13031 _ASSERT(0); 13032 return; 13033 } 13034 13035 glVariantPointerEXT = extproc; 13036 13037 glVariantPointerEXT(id, type, stride, addr); 13038 } 13039 13040 static void APIENTRY InitEnableVariantClientStateEXT (GLuint id) 13041 { 13042 void *extproc; 13043 13044 extproc = (void *) glGetProcAddress("glEnableVariantClientStateEXT"); 13045 13046 if (extproc == NULL) { 13047 _ASSERT(0); 13048 return; 13049 } 13050 13051 glEnableVariantClientStateEXT = extproc; 13052 13053 glEnableVariantClientStateEXT(id); 13054 } 13055 13056 static void APIENTRY InitDisableVariantClientStateEXT (GLuint id) 13057 { 13058 void *extproc; 13059 13060 extproc = (void *) glGetProcAddress("glDisableVariantClientStateEXT"); 13061 13062 if (extproc == NULL) { 13063 _ASSERT(0); 13064 return; 13065 } 13066 13067 glDisableVariantClientStateEXT = extproc; 13068 13069 glDisableVariantClientStateEXT(id); 13070 } 13071 13072 static GLuint APIENTRY InitBindLightParameterEXT (GLenum light, GLenum value) 13073 { 13074 void *extproc; 13075 13076 extproc = (void *) glGetProcAddress("glBindLightParameterEXT"); 13077 13078 if (extproc == NULL) { 13079 _ASSERT(0); 13080 return 0; 13081 } 13082 13083 glBindLightParameterEXT = extproc; 13084 13085 return glBindLightParameterEXT(light, value); 13086 } 13087 13088 static GLuint APIENTRY InitBindMaterialParameterEXT (GLenum face, GLenum value) 13089 { 13090 void *extproc; 13091 13092 extproc = (void *) glGetProcAddress("glBindMaterialParameterEXT"); 13093 13094 if (extproc == NULL) { 13095 _ASSERT(0); 13096 return 0; 13097 } 13098 13099 glBindMaterialParameterEXT = extproc; 13100 13101 return glBindMaterialParameterEXT(face, value); 13102 } 13103 13104 static GLuint APIENTRY InitBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value) 13105 { 13106 void *extproc; 13107 13108 extproc = (void *) glGetProcAddress("glBindTexGenParameterEXT"); 13109 13110 if (extproc == NULL) { 13111 _ASSERT(0); 13112 return 0; 13113 } 13114 13115 glBindTexGenParameterEXT = extproc; 13116 13117 return glBindTexGenParameterEXT(unit, coord, value); 13118 } 13119 13120 static GLuint APIENTRY InitBindTextureUnitParameterEXT (GLenum unit, GLenum value) 13121 { 13122 void *extproc; 13123 13124 extproc = (void *) glGetProcAddress("glBindTextureUnitParameterEXT"); 13125 13126 if (extproc == NULL) { 13127 _ASSERT(0); 13128 return 0; 13129 } 13130 13131 glBindTextureUnitParameterEXT = extproc; 13132 13133 return glBindTextureUnitParameterEXT(unit, value); 13134 } 13135 13136 static GLuint APIENTRY InitBindParameterEXT (GLenum value) 13137 { 13138 void *extproc; 13139 13140 extproc = (void *) glGetProcAddress("glBindParameterEXT"); 13141 13142 if (extproc == NULL) { 13143 _ASSERT(0); 13144 return 0; 13145 } 13146 13147 glBindParameterEXT = extproc; 13148 13149 return glBindParameterEXT(value); 13150 } 13151 13152 static GLboolean APIENTRY InitIsVariantEnabledEXT (GLuint id, GLenum cap) 13153 { 13154 void *extproc; 13155 13156 extproc = (void *) glGetProcAddress("glIsVariantEnabledEXT"); 13157 13158 if (extproc == NULL) { 13159 _ASSERT(0); 13160 return 0; 13161 } 13162 13163 glIsVariantEnabledEXT = extproc; 13164 13165 return glIsVariantEnabledEXT(id, cap); 13166 } 13167 13168 static void APIENTRY InitGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) 13169 { 13170 void *extproc; 13171 13172 extproc = (void *) glGetProcAddress("glGetVariantBooleanvEXT"); 13173 13174 if (extproc == NULL) { 13175 _ASSERT(0); 13176 return; 13177 } 13178 13179 glGetVariantBooleanvEXT = extproc; 13180 13181 glGetVariantBooleanvEXT(id, value, data); 13182 } 13183 13184 static void APIENTRY InitGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data) 13185 { 13186 void *extproc; 13187 13188 extproc = (void *) glGetProcAddress("glGetVariantIntegervEXT"); 13189 13190 if (extproc == NULL) { 13191 _ASSERT(0); 13192 return; 13193 } 13194 13195 glGetVariantIntegervEXT = extproc; 13196 13197 glGetVariantIntegervEXT(id, value, data); 13198 } 13199 13200 static void APIENTRY InitGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data) 13201 { 13202 void *extproc; 13203 13204 extproc = (void *) glGetProcAddress("glGetVariantFloatvEXT"); 13205 13206 if (extproc == NULL) { 13207 _ASSERT(0); 13208 return; 13209 } 13210 13211 glGetVariantFloatvEXT = extproc; 13212 13213 glGetVariantFloatvEXT(id, value, data); 13214 } 13215 13216 static void APIENTRY InitGetVariantPointervEXT (GLuint id, GLenum value, GLvoid* *data) 13217 { 13218 void *extproc; 13219 13220 extproc = (void *) glGetProcAddress("glGetVariantPointervEXT"); 13221 13222 if (extproc == NULL) { 13223 _ASSERT(0); 13224 return; 13225 } 13226 13227 glGetVariantPointervEXT = extproc; 13228 13229 glGetVariantPointervEXT(id, value, data); 13230 } 13231 13232 static void APIENTRY InitGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) 13233 { 13234 void *extproc; 13235 13236 extproc = (void *) glGetProcAddress("glGetInvariantBooleanvEXT"); 13237 13238 if (extproc == NULL) { 13239 _ASSERT(0); 13240 return; 13241 } 13242 13243 glGetInvariantBooleanvEXT = extproc; 13244 13245 glGetInvariantBooleanvEXT(id, value, data); 13246 } 13247 13248 static void APIENTRY InitGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data) 13249 { 13250 void *extproc; 13251 13252 extproc = (void *) glGetProcAddress("glGetInvariantIntegervEXT"); 13253 13254 if (extproc == NULL) { 13255 _ASSERT(0); 13256 return; 13257 } 13258 13259 glGetInvariantIntegervEXT = extproc; 13260 13261 glGetInvariantIntegervEXT(id, value, data); 13262 } 13263 13264 static void APIENTRY InitGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data) 13265 { 13266 void *extproc; 13267 13268 extproc = (void *) glGetProcAddress("glGetInvariantFloatvEXT"); 13269 13270 if (extproc == NULL) { 13271 _ASSERT(0); 13272 return; 13273 } 13274 13275 glGetInvariantFloatvEXT = extproc; 13276 13277 glGetInvariantFloatvEXT(id, value, data); 13278 } 13279 13280 static void APIENTRY InitGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) 13281 { 13282 void *extproc; 13283 13284 extproc = (void *) glGetProcAddress("glGetLocalConstantBooleanvEXT"); 13285 13286 if (extproc == NULL) { 13287 _ASSERT(0); 13288 return; 13289 } 13290 13291 glGetLocalConstantBooleanvEXT = extproc; 13292 13293 glGetLocalConstantBooleanvEXT(id, value, data); 13294 } 13295 13296 static void APIENTRY InitGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data) 13297 { 13298 void *extproc; 13299 13300 extproc = (void *) glGetProcAddress("glGetLocalConstantIntegervEXT"); 13301 13302 if (extproc == NULL) { 13303 _ASSERT(0); 13304 return; 13305 } 13306 13307 glGetLocalConstantIntegervEXT = extproc; 13308 13309 glGetLocalConstantIntegervEXT(id, value, data); 13310 } 13311 13312 static void APIENTRY InitGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data) 13313 { 13314 void *extproc; 13315 13316 extproc = (void *) glGetProcAddress("glGetLocalConstantFloatvEXT"); 13317 13318 if (extproc == NULL) { 13319 _ASSERT(0); 13320 return; 13321 } 13322 13323 glGetLocalConstantFloatvEXT = extproc; 13324 13325 glGetLocalConstantFloatvEXT(id, value, data); 13326 } 13327 13328 static void APIENTRY InitVertexStream1sATI (GLenum stream, GLshort x) 13329 { 13330 void *extproc; 13331 13332 extproc = (void *) glGetProcAddress("glVertexStream1sATI"); 13333 13334 if (extproc == NULL) { 13335 _ASSERT(0); 13336 return; 13337 } 13338 13339 glVertexStream1sATI = extproc; 13340 13341 glVertexStream1sATI(stream, x); 13342 } 13343 13344 static void APIENTRY InitVertexStream1svATI (GLenum stream, const GLshort *coords) 13345 { 13346 void *extproc; 13347 13348 extproc = (void *) glGetProcAddress("glVertexStream1svATI"); 13349 13350 if (extproc == NULL) { 13351 _ASSERT(0); 13352 return; 13353 } 13354 13355 glVertexStream1svATI = extproc; 13356 13357 glVertexStream1svATI(stream, coords); 13358 } 13359 13360 static void APIENTRY InitVertexStream1iATI (GLenum stream, GLint x) 13361 { 13362 void *extproc; 13363 13364 extproc = (void *) glGetProcAddress("glVertexStream1iATI"); 13365 13366 if (extproc == NULL) { 13367 _ASSERT(0); 13368 return; 13369 } 13370 13371 glVertexStream1iATI = extproc; 13372 13373 glVertexStream1iATI(stream, x); 13374 } 13375 13376 static void APIENTRY InitVertexStream1ivATI (GLenum stream, const GLint *coords) 13377 { 13378 void *extproc; 13379 13380 extproc = (void *) glGetProcAddress("glVertexStream1ivATI"); 13381 13382 if (extproc == NULL) { 13383 _ASSERT(0); 13384 return; 13385 } 13386 13387 glVertexStream1ivATI = extproc; 13388 13389 glVertexStream1ivATI(stream, coords); 13390 } 13391 13392 static void APIENTRY InitVertexStream1fATI (GLenum stream, GLfloat x) 13393 { 13394 void *extproc; 13395 13396 extproc = (void *) glGetProcAddress("glVertexStream1fATI"); 13397 13398 if (extproc == NULL) { 13399 _ASSERT(0); 13400 return; 13401 } 13402 13403 glVertexStream1fATI = extproc; 13404 13405 glVertexStream1fATI(stream, x); 13406 } 13407 13408 static void APIENTRY InitVertexStream1fvATI (GLenum stream, const GLfloat *coords) 13409 { 13410 void *extproc; 13411 13412 extproc = (void *) glGetProcAddress("glVertexStream1fvATI"); 13413 13414 if (extproc == NULL) { 13415 _ASSERT(0); 13416 return; 13417 } 13418 13419 glVertexStream1fvATI = extproc; 13420 13421 glVertexStream1fvATI(stream, coords); 13422 } 13423 13424 static void APIENTRY InitVertexStream1dATI (GLenum stream, GLdouble x) 13425 { 13426 void *extproc; 13427 13428 extproc = (void *) glGetProcAddress("glVertexStream1dATI"); 13429 13430 if (extproc == NULL) { 13431 _ASSERT(0); 13432 return; 13433 } 13434 13435 glVertexStream1dATI = extproc; 13436 13437 glVertexStream1dATI(stream, x); 13438 } 13439 13440 static void APIENTRY InitVertexStream1dvATI (GLenum stream, const GLdouble *coords) 13441 { 13442 void *extproc; 13443 13444 extproc = (void *) glGetProcAddress("glVertexStream1dvATI"); 13445 13446 if (extproc == NULL) { 13447 _ASSERT(0); 13448 return; 13449 } 13450 13451 glVertexStream1dvATI = extproc; 13452 13453 glVertexStream1dvATI(stream, coords); 13454 } 13455 13456 static void APIENTRY InitVertexStream2sATI (GLenum stream, GLshort x, GLshort y) 13457 { 13458 void *extproc; 13459 13460 extproc = (void *) glGetProcAddress("glVertexStream2sATI"); 13461 13462 if (extproc == NULL) { 13463 _ASSERT(0); 13464 return; 13465 } 13466 13467 glVertexStream2sATI = extproc; 13468 13469 glVertexStream2sATI(stream, x, y); 13470 } 13471 13472 static void APIENTRY InitVertexStream2svATI (GLenum stream, const GLshort *coords) 13473 { 13474 void *extproc; 13475 13476 extproc = (void *) glGetProcAddress("glVertexStream2svATI"); 13477 13478 if (extproc == NULL) { 13479 _ASSERT(0); 13480 return; 13481 } 13482 13483 glVertexStream2svATI = extproc; 13484 13485 glVertexStream2svATI(stream, coords); 13486 } 13487 13488 static void APIENTRY InitVertexStream2iATI (GLenum stream, GLint x, GLint y) 13489 { 13490 void *extproc; 13491 13492 extproc = (void *) glGetProcAddress("glVertexStream2iATI"); 13493 13494 if (extproc == NULL) { 13495 _ASSERT(0); 13496 return; 13497 } 13498 13499 glVertexStream2iATI = extproc; 13500 13501 glVertexStream2iATI(stream, x, y); 13502 } 13503 13504 static void APIENTRY InitVertexStream2ivATI (GLenum stream, const GLint *coords) 13505 { 13506 void *extproc; 13507 13508 extproc = (void *) glGetProcAddress("glVertexStream2ivATI"); 13509 13510 if (extproc == NULL) { 13511 _ASSERT(0); 13512 return; 13513 } 13514 13515 glVertexStream2ivATI = extproc; 13516 13517 glVertexStream2ivATI(stream, coords); 13518 } 13519 13520 static void APIENTRY InitVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y) 13521 { 13522 void *extproc; 13523 13524 extproc = (void *) glGetProcAddress("glVertexStream2fATI"); 13525 13526 if (extproc == NULL) { 13527 _ASSERT(0); 13528 return; 13529 } 13530 13531 glVertexStream2fATI = extproc; 13532 13533 glVertexStream2fATI(stream, x, y); 13534 } 13535 13536 static void APIENTRY InitVertexStream2fvATI (GLenum stream, const GLfloat *coords) 13537 { 13538 void *extproc; 13539 13540 extproc = (void *) glGetProcAddress("glVertexStream2fvATI"); 13541 13542 if (extproc == NULL) { 13543 _ASSERT(0); 13544 return; 13545 } 13546 13547 glVertexStream2fvATI = extproc; 13548 13549 glVertexStream2fvATI(stream, coords); 13550 } 13551 13552 static void APIENTRY InitVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y) 13553 { 13554 void *extproc; 13555 13556 extproc = (void *) glGetProcAddress("glVertexStream2dATI"); 13557 13558 if (extproc == NULL) { 13559 _ASSERT(0); 13560 return; 13561 } 13562 13563 glVertexStream2dATI = extproc; 13564 13565 glVertexStream2dATI(stream, x, y); 13566 } 13567 13568 static void APIENTRY InitVertexStream2dvATI (GLenum stream, const GLdouble *coords) 13569 { 13570 void *extproc; 13571 13572 extproc = (void *) glGetProcAddress("glVertexStream2dvATI"); 13573 13574 if (extproc == NULL) { 13575 _ASSERT(0); 13576 return; 13577 } 13578 13579 glVertexStream2dvATI = extproc; 13580 13581 glVertexStream2dvATI(stream, coords); 13582 } 13583 13584 static void APIENTRY InitVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z) 13585 { 13586 void *extproc; 13587 13588 extproc = (void *) glGetProcAddress("glVertexStream3sATI"); 13589 13590 if (extproc == NULL) { 13591 _ASSERT(0); 13592 return; 13593 } 13594 13595 glVertexStream3sATI = extproc; 13596 13597 glVertexStream3sATI(stream, x, y, z); 13598 } 13599 13600 static void APIENTRY InitVertexStream3svATI (GLenum stream, const GLshort *coords) 13601 { 13602 void *extproc; 13603 13604 extproc = (void *) glGetProcAddress("glVertexStream3svATI"); 13605 13606 if (extproc == NULL) { 13607 _ASSERT(0); 13608 return; 13609 } 13610 13611 glVertexStream3svATI = extproc; 13612 13613 glVertexStream3svATI(stream, coords); 13614 } 13615 13616 static void APIENTRY InitVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z) 13617 { 13618 void *extproc; 13619 13620 extproc = (void *) glGetProcAddress("glVertexStream3iATI"); 13621 13622 if (extproc == NULL) { 13623 _ASSERT(0); 13624 return; 13625 } 13626 13627 glVertexStream3iATI = extproc; 13628 13629 glVertexStream3iATI(stream, x, y, z); 13630 } 13631 13632 static void APIENTRY InitVertexStream3ivATI (GLenum stream, const GLint *coords) 13633 { 13634 void *extproc; 13635 13636 extproc = (void *) glGetProcAddress("glVertexStream3ivATI"); 13637 13638 if (extproc == NULL) { 13639 _ASSERT(0); 13640 return; 13641 } 13642 13643 glVertexStream3ivATI = extproc; 13644 13645 glVertexStream3ivATI(stream, coords); 13646 } 13647 13648 static void APIENTRY InitVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z) 13649 { 13650 void *extproc; 13651 13652 extproc = (void *) glGetProcAddress("glVertexStream3fATI"); 13653 13654 if (extproc == NULL) { 13655 _ASSERT(0); 13656 return; 13657 } 13658 13659 glVertexStream3fATI = extproc; 13660 13661 glVertexStream3fATI(stream, x, y, z); 13662 } 13663 13664 static void APIENTRY InitVertexStream3fvATI (GLenum stream, const GLfloat *coords) 13665 { 13666 void *extproc; 13667 13668 extproc = (void *) glGetProcAddress("glVertexStream3fvATI"); 13669 13670 if (extproc == NULL) { 13671 _ASSERT(0); 13672 return; 13673 } 13674 13675 glVertexStream3fvATI = extproc; 13676 13677 glVertexStream3fvATI(stream, coords); 13678 } 13679 13680 static void APIENTRY InitVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z) 13681 { 13682 void *extproc; 13683 13684 extproc = (void *) glGetProcAddress("glVertexStream3dATI"); 13685 13686 if (extproc == NULL) { 13687 _ASSERT(0); 13688 return; 13689 } 13690 13691 glVertexStream3dATI = extproc; 13692 13693 glVertexStream3dATI(stream, x, y, z); 13694 } 13695 13696 static void APIENTRY InitVertexStream3dvATI (GLenum stream, const GLdouble *coords) 13697 { 13698 void *extproc; 13699 13700 extproc = (void *) glGetProcAddress("glVertexStream3dvATI"); 13701 13702 if (extproc == NULL) { 13703 _ASSERT(0); 13704 return; 13705 } 13706 13707 glVertexStream3dvATI = extproc; 13708 13709 glVertexStream3dvATI(stream, coords); 13710 } 13711 13712 static void APIENTRY InitVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w) 13713 { 13714 void *extproc; 13715 13716 extproc = (void *) glGetProcAddress("glVertexStream4sATI"); 13717 13718 if (extproc == NULL) { 13719 _ASSERT(0); 13720 return; 13721 } 13722 13723 glVertexStream4sATI = extproc; 13724 13725 glVertexStream4sATI(stream, x, y, z, w); 13726 } 13727 13728 static void APIENTRY InitVertexStream4svATI (GLenum stream, const GLshort *coords) 13729 { 13730 void *extproc; 13731 13732 extproc = (void *) glGetProcAddress("glVertexStream4svATI"); 13733 13734 if (extproc == NULL) { 13735 _ASSERT(0); 13736 return; 13737 } 13738 13739 glVertexStream4svATI = extproc; 13740 13741 glVertexStream4svATI(stream, coords); 13742 } 13743 13744 static void APIENTRY InitVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w) 13745 { 13746 void *extproc; 13747 13748 extproc = (void *) glGetProcAddress("glVertexStream4iATI"); 13749 13750 if (extproc == NULL) { 13751 _ASSERT(0); 13752 return; 13753 } 13754 13755 glVertexStream4iATI = extproc; 13756 13757 glVertexStream4iATI(stream, x, y, z, w); 13758 } 13759 13760 static void APIENTRY InitVertexStream4ivATI (GLenum stream, const GLint *coords) 13761 { 13762 void *extproc; 13763 13764 extproc = (void *) glGetProcAddress("glVertexStream4ivATI"); 13765 13766 if (extproc == NULL) { 13767 _ASSERT(0); 13768 return; 13769 } 13770 13771 glVertexStream4ivATI = extproc; 13772 13773 glVertexStream4ivATI(stream, coords); 13774 } 13775 13776 static void APIENTRY InitVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 13777 { 13778 void *extproc; 13779 13780 extproc = (void *) glGetProcAddress("glVertexStream4fATI"); 13781 13782 if (extproc == NULL) { 13783 _ASSERT(0); 13784 return; 13785 } 13786 13787 glVertexStream4fATI = extproc; 13788 13789 glVertexStream4fATI(stream, x, y, z, w); 13790 } 13791 13792 static void APIENTRY InitVertexStream4fvATI (GLenum stream, const GLfloat *coords) 13793 { 13794 void *extproc; 13795 13796 extproc = (void *) glGetProcAddress("glVertexStream4fvATI"); 13797 13798 if (extproc == NULL) { 13799 _ASSERT(0); 13800 return; 13801 } 13802 13803 glVertexStream4fvATI = extproc; 13804 13805 glVertexStream4fvATI(stream, coords); 13806 } 13807 13808 static void APIENTRY InitVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 13809 { 13810 void *extproc; 13811 13812 extproc = (void *) glGetProcAddress("glVertexStream4dATI"); 13813 13814 if (extproc == NULL) { 13815 _ASSERT(0); 13816 return; 13817 } 13818 13819 glVertexStream4dATI = extproc; 13820 13821 glVertexStream4dATI(stream, x, y, z, w); 13822 } 13823 13824 static void APIENTRY InitVertexStream4dvATI (GLenum stream, const GLdouble *coords) 13825 { 13826 void *extproc; 13827 13828 extproc = (void *) glGetProcAddress("glVertexStream4dvATI"); 13829 13830 if (extproc == NULL) { 13831 _ASSERT(0); 13832 return; 13833 } 13834 13835 glVertexStream4dvATI = extproc; 13836 13837 glVertexStream4dvATI(stream, coords); 13838 } 13839 13840 static void APIENTRY InitNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz) 13841 { 13842 void *extproc; 13843 13844 extproc = (void *) glGetProcAddress("glNormalStream3bATI"); 13845 13846 if (extproc == NULL) { 13847 _ASSERT(0); 13848 return; 13849 } 13850 13851 glNormalStream3bATI = extproc; 13852 13853 glNormalStream3bATI(stream, nx, ny, nz); 13854 } 13855 13856 static void APIENTRY InitNormalStream3bvATI (GLenum stream, const GLbyte *coords) 13857 { 13858 void *extproc; 13859 13860 extproc = (void *) glGetProcAddress("glNormalStream3bvATI"); 13861 13862 if (extproc == NULL) { 13863 _ASSERT(0); 13864 return; 13865 } 13866 13867 glNormalStream3bvATI = extproc; 13868 13869 glNormalStream3bvATI(stream, coords); 13870 } 13871 13872 static void APIENTRY InitNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz) 13873 { 13874 void *extproc; 13875 13876 extproc = (void *) glGetProcAddress("glNormalStream3sATI"); 13877 13878 if (extproc == NULL) { 13879 _ASSERT(0); 13880 return; 13881 } 13882 13883 glNormalStream3sATI = extproc; 13884 13885 glNormalStream3sATI(stream, nx, ny, nz); 13886 } 13887 13888 static void APIENTRY InitNormalStream3svATI (GLenum stream, const GLshort *coords) 13889 { 13890 void *extproc; 13891 13892 extproc = (void *) glGetProcAddress("glNormalStream3svATI"); 13893 13894 if (extproc == NULL) { 13895 _ASSERT(0); 13896 return; 13897 } 13898 13899 glNormalStream3svATI = extproc; 13900 13901 glNormalStream3svATI(stream, coords); 13902 } 13903 13904 static void APIENTRY InitNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz) 13905 { 13906 void *extproc; 13907 13908 extproc = (void *) glGetProcAddress("glNormalStream3iATI"); 13909 13910 if (extproc == NULL) { 13911 _ASSERT(0); 13912 return; 13913 } 13914 13915 glNormalStream3iATI = extproc; 13916 13917 glNormalStream3iATI(stream, nx, ny, nz); 13918 } 13919 13920 static void APIENTRY InitNormalStream3ivATI (GLenum stream, const GLint *coords) 13921 { 13922 void *extproc; 13923 13924 extproc = (void *) glGetProcAddress("glNormalStream3ivATI"); 13925 13926 if (extproc == NULL) { 13927 _ASSERT(0); 13928 return; 13929 } 13930 13931 glNormalStream3ivATI = extproc; 13932 13933 glNormalStream3ivATI(stream, coords); 13934 } 13935 13936 static void APIENTRY InitNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz) 13937 { 13938 void *extproc; 13939 13940 extproc = (void *) glGetProcAddress("glNormalStream3fATI"); 13941 13942 if (extproc == NULL) { 13943 _ASSERT(0); 13944 return; 13945 } 13946 13947 glNormalStream3fATI = extproc; 13948 13949 glNormalStream3fATI(stream, nx, ny, nz); 13950 } 13951 13952 static void APIENTRY InitNormalStream3fvATI (GLenum stream, const GLfloat *coords) 13953 { 13954 void *extproc; 13955 13956 extproc = (void *) glGetProcAddress("glNormalStream3fvATI"); 13957 13958 if (extproc == NULL) { 13959 _ASSERT(0); 13960 return; 13961 } 13962 13963 glNormalStream3fvATI = extproc; 13964 13965 glNormalStream3fvATI(stream, coords); 13966 } 13967 13968 static void APIENTRY InitNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz) 13969 { 13970 void *extproc; 13971 13972 extproc = (void *) glGetProcAddress("glNormalStream3dATI"); 13973 13974 if (extproc == NULL) { 13975 _ASSERT(0); 13976 return; 13977 } 13978 13979 glNormalStream3dATI = extproc; 13980 13981 glNormalStream3dATI(stream, nx, ny, nz); 13982 } 13983 13984 static void APIENTRY InitNormalStream3dvATI (GLenum stream, const GLdouble *coords) 13985 { 13986 void *extproc; 13987 13988 extproc = (void *) glGetProcAddress("glNormalStream3dvATI"); 13989 13990 if (extproc == NULL) { 13991 _ASSERT(0); 13992 return; 13993 } 13994 13995 glNormalStream3dvATI = extproc; 13996 13997 glNormalStream3dvATI(stream, coords); 13998 } 13999 14000 static void APIENTRY InitClientActiveVertexStreamATI (GLenum stream) 14001 { 14002 void *extproc; 14003 14004 extproc = (void *) glGetProcAddress("glClientActiveVertexStreamATI"); 14005 14006 if (extproc == NULL) { 14007 _ASSERT(0); 14008 return; 14009 } 14010 14011 glClientActiveVertexStreamATI = extproc; 14012 14013 glClientActiveVertexStreamATI(stream); 14014 } 14015 14016 static void APIENTRY InitVertexBlendEnviATI (GLenum pname, GLint param) 14017 { 14018 void *extproc; 14019 14020 extproc = (void *) glGetProcAddress("glVertexBlendEnviATI"); 14021 14022 if (extproc == NULL) { 14023 _ASSERT(0); 14024 return; 14025 } 14026 14027 glVertexBlendEnviATI = extproc; 14028 14029 glVertexBlendEnviATI(pname, param); 14030 } 14031 14032 static void APIENTRY InitVertexBlendEnvfATI (GLenum pname, GLfloat param) 14033 { 14034 void *extproc; 14035 14036 extproc = (void *) glGetProcAddress("glVertexBlendEnvfATI"); 14037 14038 if (extproc == NULL) { 14039 _ASSERT(0); 14040 return; 14041 } 14042 14043 glVertexBlendEnvfATI = extproc; 14044 14045 glVertexBlendEnvfATI(pname, param); 14046 } 14047 14048 static void APIENTRY InitElementPointerATI (GLenum type, const GLvoid *pointer) 14049 { 14050 void *extproc; 14051 14052 extproc = (void *) glGetProcAddress("glElementPointerATI"); 14053 14054 if (extproc == NULL) { 14055 _ASSERT(0); 14056 return; 14057 } 14058 14059 glElementPointerATI = extproc; 14060 14061 glElementPointerATI(type, pointer); 14062 } 14063 14064 static void APIENTRY InitDrawElementArrayATI (GLenum mode, GLsizei count) 14065 { 14066 void *extproc; 14067 14068 extproc = (void *) glGetProcAddress("glDrawElementArrayATI"); 14069 14070 if (extproc == NULL) { 14071 _ASSERT(0); 14072 return; 14073 } 14074 14075 glDrawElementArrayATI = extproc; 14076 14077 glDrawElementArrayATI(mode, count); 14078 } 14079 14080 static void APIENTRY InitDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count) 14081 { 14082 void *extproc; 14083 14084 extproc = (void *) glGetProcAddress("glDrawRangeElementArrayATI"); 14085 14086 if (extproc == NULL) { 14087 _ASSERT(0); 14088 return; 14089 } 14090 14091 glDrawRangeElementArrayATI = extproc; 14092 14093 glDrawRangeElementArrayATI(mode, start, end, count); 14094 } 14095 14096 static void APIENTRY InitDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width) 14097 { 14098 void *extproc; 14099 14100 extproc = (void *) glGetProcAddress("glDrawMeshArraysSUN"); 14101 14102 if (extproc == NULL) { 14103 _ASSERT(0); 14104 return; 14105 } 14106 14107 glDrawMeshArraysSUN = extproc; 14108 14109 glDrawMeshArraysSUN(mode, first, count, width); 14110 } 14111 14112 static void APIENTRY InitGenOcclusionQueriesNV (GLsizei n, GLuint *ids) 14113 { 14114 void *extproc; 14115 14116 extproc = (void *) glGetProcAddress("glGenOcclusionQueriesNV"); 14117 14118 if (extproc == NULL) { 14119 _ASSERT(0); 14120 return; 14121 } 14122 14123 glGenOcclusionQueriesNV = extproc; 14124 14125 glGenOcclusionQueriesNV(n, ids); 14126 } 14127 14128 static void APIENTRY InitDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids) 14129 { 14130 void *extproc; 14131 14132 extproc = (void *) glGetProcAddress("glDeleteOcclusionQueriesNV"); 14133 14134 if (extproc == NULL) { 14135 _ASSERT(0); 14136 return; 14137 } 14138 14139 glDeleteOcclusionQueriesNV = extproc; 14140 14141 glDeleteOcclusionQueriesNV(n, ids); 14142 } 14143 14144 static GLboolean APIENTRY InitIsOcclusionQueryNV (GLuint id) 14145 { 14146 void *extproc; 14147 14148 extproc = (void *) glGetProcAddress("glIsOcclusionQueryNV"); 14149 14150 if (extproc == NULL) { 14151 _ASSERT(0); 14152 return 0; 14153 } 14154 14155 glIsOcclusionQueryNV = extproc; 14156 14157 return glIsOcclusionQueryNV(id); 14158 } 14159 14160 static void APIENTRY InitBeginOcclusionQueryNV (GLuint id) 14161 { 14162 void *extproc; 14163 14164 extproc = (void *) glGetProcAddress("glBeginOcclusionQueryNV"); 14165 14166 if (extproc == NULL) { 14167 _ASSERT(0); 14168 return; 14169 } 14170 14171 glBeginOcclusionQueryNV = extproc; 14172 14173 glBeginOcclusionQueryNV(id); 14174 } 14175 14176 static void APIENTRY InitEndOcclusionQueryNV (void) 14177 { 14178 void *extproc; 14179 14180 extproc = (void *) glGetProcAddress("glEndOcclusionQueryNV"); 14181 14182 if (extproc == NULL) { 14183 _ASSERT(0); 14184 return; 14185 } 14186 14187 glEndOcclusionQueryNV = extproc; 14188 14189 glEndOcclusionQueryNV(); 14190 } 14191 14192 static void APIENTRY InitGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params) 14193 { 14194 void *extproc; 14195 14196 extproc = (void *) glGetProcAddress("glGetOcclusionQueryivNV"); 14197 14198 if (extproc == NULL) { 14199 _ASSERT(0); 14200 return; 14201 } 14202 14203 glGetOcclusionQueryivNV = extproc; 14204 14205 glGetOcclusionQueryivNV(id, pname, params); 14206 } 14207 14208 static void APIENTRY InitGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params) 14209 { 14210 void *extproc; 14211 14212 extproc = (void *) glGetProcAddress("glGetOcclusionQueryuivNV"); 14213 14214 if (extproc == NULL) { 14215 _ASSERT(0); 14216 return; 14217 } 14218 14219 glGetOcclusionQueryuivNV = extproc; 14220 14221 glGetOcclusionQueryuivNV(id, pname, params); 14222 } 14223 14224 static void APIENTRY InitPointParameteriNV (GLenum pname, GLint param) 14225 { 14226 void *extproc; 14227 14228 extproc = (void *) glGetProcAddress("glPointParameteriNV"); 14229 14230 if (extproc == NULL) { 14231 _ASSERT(0); 14232 return; 14233 } 14234 14235 glPointParameteriNV = extproc; 14236 14237 glPointParameteriNV(pname, param); 14238 } 14239 14240 static void APIENTRY InitPointParameterivNV (GLenum pname, const GLint *params) 14241 { 14242 void *extproc; 14243 14244 extproc = (void *) glGetProcAddress("glPointParameterivNV"); 14245 14246 if (extproc == NULL) { 14247 _ASSERT(0); 14248 return; 14249 } 14250 14251 glPointParameterivNV = extproc; 14252 14253 glPointParameterivNV(pname, params); 14254 } 14255 14256 static void APIENTRY InitActiveStencilFaceEXT (GLenum face) 14257 { 14258 void *extproc; 14259 14260 extproc = (void *) glGetProcAddress("glActiveStencilFaceEXT"); 14261 14262 if (extproc == NULL) { 14263 _ASSERT(0); 14264 return; 14265 } 14266 14267 glActiveStencilFaceEXT = extproc; 14268 14269 glActiveStencilFaceEXT(face); 14270 } 14271 14272 static void APIENTRY InitDrawBuffersATI (GLsizei n, const GLenum *bufs) 14273 { 14274 void *extproc; 14275 14276 extproc = (void *) glGetProcAddress("glDrawBuffersATI"); 14277 14278 if (extproc == NULL) { 14279 _ASSERT(0); 14280 return; 14281 } 14282 14283 glDrawBuffersATI = extproc; 14284 14285 glDrawBuffersATI(n, bufs); 14286 } 14287 14288 static void APIENTRY InitProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 14289 { 14290 void *extproc; 14291 14292 extproc = (void *) glGetProcAddress("glProgramNamedParameter4fNV"); 14293 14294 if (extproc == NULL) { 14295 _ASSERT(0); 14296 return; 14297 } 14298 14299 glProgramNamedParameter4fNV = extproc; 14300 14301 glProgramNamedParameter4fNV(id, len, name, x, y, z, w); 14302 } 14303 14304 static void APIENTRY InitProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 14305 { 14306 void *extproc; 14307 14308 extproc = (void *) glGetProcAddress("glProgramNamedParameter4dNV"); 14309 14310 if (extproc == NULL) { 14311 _ASSERT(0); 14312 return; 14313 } 14314 14315 glProgramNamedParameter4dNV = extproc; 14316 14317 glProgramNamedParameter4dNV(id, len, name, x, y, z, w); 14318 } 14319 14320 static void APIENTRY InitProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v) 14321 { 14322 void *extproc; 14323 14324 extproc = (void *) glGetProcAddress("glProgramNamedParameter4fvNV"); 14325 14326 if (extproc == NULL) { 14327 _ASSERT(0); 14328 return; 14329 } 14330 14331 glProgramNamedParameter4fvNV = extproc; 14332 14333 glProgramNamedParameter4fvNV(id, len, name, v); 14334 } 14335 14336 static void APIENTRY InitProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v) 14337 { 14338 void *extproc; 14339 14340 extproc = (void *) glGetProcAddress("glProgramNamedParameter4dvNV"); 14341 14342 if (extproc == NULL) { 14343 _ASSERT(0); 14344 return; 14345 } 14346 14347 glProgramNamedParameter4dvNV = extproc; 14348 14349 glProgramNamedParameter4dvNV(id, len, name, v); 14350 } 14351 14352 static void APIENTRY InitGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params) 14353 { 14354 void *extproc; 14355 14356 extproc = (void *) glGetProcAddress("glGetProgramNamedParameterfvNV"); 14357 14358 if (extproc == NULL) { 14359 _ASSERT(0); 14360 return; 14361 } 14362 14363 glGetProgramNamedParameterfvNV = extproc; 14364 14365 glGetProgramNamedParameterfvNV(id, len, name, params); 14366 } 14367 14368 static void APIENTRY InitGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params) 14369 { 14370 void *extproc; 14371 14372 extproc = (void *) glGetProcAddress("glGetProgramNamedParameterdvNV"); 14373 14374 if (extproc == NULL) { 14375 _ASSERT(0); 14376 return; 14377 } 14378 14379 glGetProgramNamedParameterdvNV = extproc; 14380 14381 glGetProgramNamedParameterdvNV(id, len, name, params); 14382 } 14383 14384 static void APIENTRY InitVertex2hNV (GLhalfNV x, GLhalfNV y) 14385 { 14386 void *extproc; 14387 14388 extproc = (void *) glGetProcAddress("glVertex2hNV"); 14389 14390 if (extproc == NULL) { 14391 _ASSERT(0); 14392 return; 14393 } 14394 14395 glVertex2hNV = extproc; 14396 14397 glVertex2hNV(x, y); 14398 } 14399 14400 static void APIENTRY InitVertex2hvNV (const GLhalfNV *v) 14401 { 14402 void *extproc; 14403 14404 extproc = (void *) glGetProcAddress("glVertex2hvNV"); 14405 14406 if (extproc == NULL) { 14407 _ASSERT(0); 14408 return; 14409 } 14410 14411 glVertex2hvNV = extproc; 14412 14413 glVertex2hvNV(v); 14414 } 14415 14416 static void APIENTRY InitVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z) 14417 { 14418 void *extproc; 14419 14420 extproc = (void *) glGetProcAddress("glVertex3hNV"); 14421 14422 if (extproc == NULL) { 14423 _ASSERT(0); 14424 return; 14425 } 14426 14427 glVertex3hNV = extproc; 14428 14429 glVertex3hNV(x, y, z); 14430 } 14431 14432 static void APIENTRY InitVertex3hvNV (const GLhalfNV *v) 14433 { 14434 void *extproc; 14435 14436 extproc = (void *) glGetProcAddress("glVertex3hvNV"); 14437 14438 if (extproc == NULL) { 14439 _ASSERT(0); 14440 return; 14441 } 14442 14443 glVertex3hvNV = extproc; 14444 14445 glVertex3hvNV(v); 14446 } 14447 14448 static void APIENTRY InitVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) 14449 { 14450 void *extproc; 14451 14452 extproc = (void *) glGetProcAddress("glVertex4hNV"); 14453 14454 if (extproc == NULL) { 14455 _ASSERT(0); 14456 return; 14457 } 14458 14459 glVertex4hNV = extproc; 14460 14461 glVertex4hNV(x, y, z, w); 14462 } 14463 14464 static void APIENTRY InitVertex4hvNV (const GLhalfNV *v) 14465 { 14466 void *extproc; 14467 14468 extproc = (void *) glGetProcAddress("glVertex4hvNV"); 14469 14470 if (extproc == NULL) { 14471 _ASSERT(0); 14472 return; 14473 } 14474 14475 glVertex4hvNV = extproc; 14476 14477 glVertex4hvNV(v); 14478 } 14479 14480 static void APIENTRY InitNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz) 14481 { 14482 void *extproc; 14483 14484 extproc = (void *) glGetProcAddress("glNormal3hNV"); 14485 14486 if (extproc == NULL) { 14487 _ASSERT(0); 14488 return; 14489 } 14490 14491 glNormal3hNV = extproc; 14492 14493 glNormal3hNV(nx, ny, nz); 14494 } 14495 14496 static void APIENTRY InitNormal3hvNV (const GLhalfNV *v) 14497 { 14498 void *extproc; 14499 14500 extproc = (void *) glGetProcAddress("glNormal3hvNV"); 14501 14502 if (extproc == NULL) { 14503 _ASSERT(0); 14504 return; 14505 } 14506 14507 glNormal3hvNV = extproc; 14508 14509 glNormal3hvNV(v); 14510 } 14511 14512 static void APIENTRY InitColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue) 14513 { 14514 void *extproc; 14515 14516 extproc = (void *) glGetProcAddress("glColor3hNV"); 14517 14518 if (extproc == NULL) { 14519 _ASSERT(0); 14520 return; 14521 } 14522 14523 glColor3hNV = extproc; 14524 14525 glColor3hNV(red, green, blue); 14526 } 14527 14528 static void APIENTRY InitColor3hvNV (const GLhalfNV *v) 14529 { 14530 void *extproc; 14531 14532 extproc = (void *) glGetProcAddress("glColor3hvNV"); 14533 14534 if (extproc == NULL) { 14535 _ASSERT(0); 14536 return; 14537 } 14538 14539 glColor3hvNV = extproc; 14540 14541 glColor3hvNV(v); 14542 } 14543 14544 static void APIENTRY InitColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha) 14545 { 14546 void *extproc; 14547 14548 extproc = (void *) glGetProcAddress("glColor4hNV"); 14549 14550 if (extproc == NULL) { 14551 _ASSERT(0); 14552 return; 14553 } 14554 14555 glColor4hNV = extproc; 14556 14557 glColor4hNV(red, green, blue, alpha); 14558 } 14559 14560 static void APIENTRY InitColor4hvNV (const GLhalfNV *v) 14561 { 14562 void *extproc; 14563 14564 extproc = (void *) glGetProcAddress("glColor4hvNV"); 14565 14566 if (extproc == NULL) { 14567 _ASSERT(0); 14568 return; 14569 } 14570 14571 glColor4hvNV = extproc; 14572 14573 glColor4hvNV(v); 14574 } 14575 14576 static void APIENTRY InitTexCoord1hNV (GLhalfNV s) 14577 { 14578 void *extproc; 14579 14580 extproc = (void *) glGetProcAddress("glTexCoord1hNV"); 14581 14582 if (extproc == NULL) { 14583 _ASSERT(0); 14584 return; 14585 } 14586 14587 glTexCoord1hNV = extproc; 14588 14589 glTexCoord1hNV(s); 14590 } 14591 14592 static void APIENTRY InitTexCoord1hvNV (const GLhalfNV *v) 14593 { 14594 void *extproc; 14595 14596 extproc = (void *) glGetProcAddress("glTexCoord1hvNV"); 14597 14598 if (extproc == NULL) { 14599 _ASSERT(0); 14600 return; 14601 } 14602 14603 glTexCoord1hvNV = extproc; 14604 14605 glTexCoord1hvNV(v); 14606 } 14607 14608 static void APIENTRY InitTexCoord2hNV (GLhalfNV s, GLhalfNV t) 14609 { 14610 void *extproc; 14611 14612 extproc = (void *) glGetProcAddress("glTexCoord2hNV"); 14613 14614 if (extproc == NULL) { 14615 _ASSERT(0); 14616 return; 14617 } 14618 14619 glTexCoord2hNV = extproc; 14620 14621 glTexCoord2hNV(s, t); 14622 } 14623 14624 static void APIENTRY InitTexCoord2hvNV (const GLhalfNV *v) 14625 { 14626 void *extproc; 14627 14628 extproc = (void *) glGetProcAddress("glTexCoord2hvNV"); 14629 14630 if (extproc == NULL) { 14631 _ASSERT(0); 14632 return; 14633 } 14634 14635 glTexCoord2hvNV = extproc; 14636 14637 glTexCoord2hvNV(v); 14638 } 14639 14640 static void APIENTRY InitTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r) 14641 { 14642 void *extproc; 14643 14644 extproc = (void *) glGetProcAddress("glTexCoord3hNV"); 14645 14646 if (extproc == NULL) { 14647 _ASSERT(0); 14648 return; 14649 } 14650 14651 glTexCoord3hNV = extproc; 14652 14653 glTexCoord3hNV(s, t, r); 14654 } 14655 14656 static void APIENTRY InitTexCoord3hvNV (const GLhalfNV *v) 14657 { 14658 void *extproc; 14659 14660 extproc = (void *) glGetProcAddress("glTexCoord3hvNV"); 14661 14662 if (extproc == NULL) { 14663 _ASSERT(0); 14664 return; 14665 } 14666 14667 glTexCoord3hvNV = extproc; 14668 14669 glTexCoord3hvNV(v); 14670 } 14671 14672 static void APIENTRY InitTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) 14673 { 14674 void *extproc; 14675 14676 extproc = (void *) glGetProcAddress("glTexCoord4hNV"); 14677 14678 if (extproc == NULL) { 14679 _ASSERT(0); 14680 return; 14681 } 14682 14683 glTexCoord4hNV = extproc; 14684 14685 glTexCoord4hNV(s, t, r, q); 14686 } 14687 14688 static void APIENTRY InitTexCoord4hvNV (const GLhalfNV *v) 14689 { 14690 void *extproc; 14691 14692 extproc = (void *) glGetProcAddress("glTexCoord4hvNV"); 14693 14694 if (extproc == NULL) { 14695 _ASSERT(0); 14696 return; 14697 } 14698 14699 glTexCoord4hvNV = extproc; 14700 14701 glTexCoord4hvNV(v); 14702 } 14703 14704 static void APIENTRY InitMultiTexCoord1hNV (GLenum target, GLhalfNV s) 14705 { 14706 void *extproc; 14707 14708 extproc = (void *) glGetProcAddress("glMultiTexCoord1hNV"); 14709 14710 if (extproc == NULL) { 14711 _ASSERT(0); 14712 return; 14713 } 14714 14715 glMultiTexCoord1hNV = extproc; 14716 14717 glMultiTexCoord1hNV(target, s); 14718 } 14719 14720 static void APIENTRY InitMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v) 14721 { 14722 void *extproc; 14723 14724 extproc = (void *) glGetProcAddress("glMultiTexCoord1hvNV"); 14725 14726 if (extproc == NULL) { 14727 _ASSERT(0); 14728 return; 14729 } 14730 14731 glMultiTexCoord1hvNV = extproc; 14732 14733 glMultiTexCoord1hvNV(target, v); 14734 } 14735 14736 static void APIENTRY InitMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t) 14737 { 14738 void *extproc; 14739 14740 extproc = (void *) glGetProcAddress("glMultiTexCoord2hNV"); 14741 14742 if (extproc == NULL) { 14743 _ASSERT(0); 14744 return; 14745 } 14746 14747 glMultiTexCoord2hNV = extproc; 14748 14749 glMultiTexCoord2hNV(target, s, t); 14750 } 14751 14752 static void APIENTRY InitMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v) 14753 { 14754 void *extproc; 14755 14756 extproc = (void *) glGetProcAddress("glMultiTexCoord2hvNV"); 14757 14758 if (extproc == NULL) { 14759 _ASSERT(0); 14760 return; 14761 } 14762 14763 glMultiTexCoord2hvNV = extproc; 14764 14765 glMultiTexCoord2hvNV(target, v); 14766 } 14767 14768 static void APIENTRY InitMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r) 14769 { 14770 void *extproc; 14771 14772 extproc = (void *) glGetProcAddress("glMultiTexCoord3hNV"); 14773 14774 if (extproc == NULL) { 14775 _ASSERT(0); 14776 return; 14777 } 14778 14779 glMultiTexCoord3hNV = extproc; 14780 14781 glMultiTexCoord3hNV(target, s, t, r); 14782 } 14783 14784 static void APIENTRY InitMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v) 14785 { 14786 void *extproc; 14787 14788 extproc = (void *) glGetProcAddress("glMultiTexCoord3hvNV"); 14789 14790 if (extproc == NULL) { 14791 _ASSERT(0); 14792 return; 14793 } 14794 14795 glMultiTexCoord3hvNV = extproc; 14796 14797 glMultiTexCoord3hvNV(target, v); 14798 } 14799 14800 static void APIENTRY InitMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) 14801 { 14802 void *extproc; 14803 14804 extproc = (void *) glGetProcAddress("glMultiTexCoord4hNV"); 14805 14806 if (extproc == NULL) { 14807 _ASSERT(0); 14808 return; 14809 } 14810 14811 glMultiTexCoord4hNV = extproc; 14812 14813 glMultiTexCoord4hNV(target, s, t, r, q); 14814 } 14815 14816 static void APIENTRY InitMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v) 14817 { 14818 void *extproc; 14819 14820 extproc = (void *) glGetProcAddress("glMultiTexCoord4hvNV"); 14821 14822 if (extproc == NULL) { 14823 _ASSERT(0); 14824 return; 14825 } 14826 14827 glMultiTexCoord4hvNV = extproc; 14828 14829 glMultiTexCoord4hvNV(target, v); 14830 } 14831 14832 static void APIENTRY InitFogCoordhNV (GLhalfNV fog) 14833 { 14834 void *extproc; 14835 14836 extproc = (void *) glGetProcAddress("glFogCoordhNV"); 14837 14838 if (extproc == NULL) { 14839 _ASSERT(0); 14840 return; 14841 } 14842 14843 glFogCoordhNV = extproc; 14844 14845 glFogCoordhNV(fog); 14846 } 14847 14848 static void APIENTRY InitFogCoordhvNV (const GLhalfNV *fog) 14849 { 14850 void *extproc; 14851 14852 extproc = (void *) glGetProcAddress("glFogCoordhvNV"); 14853 14854 if (extproc == NULL) { 14855 _ASSERT(0); 14856 return; 14857 } 14858 14859 glFogCoordhvNV = extproc; 14860 14861 glFogCoordhvNV(fog); 14862 } 14863 14864 static void APIENTRY InitSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue) 14865 { 14866 void *extproc; 14867 14868 extproc = (void *) glGetProcAddress("glSecondaryColor3hNV"); 14869 14870 if (extproc == NULL) { 14871 _ASSERT(0); 14872 return; 14873 } 14874 14875 glSecondaryColor3hNV = extproc; 14876 14877 glSecondaryColor3hNV(red, green, blue); 14878 } 14879 14880 static void APIENTRY InitSecondaryColor3hvNV (const GLhalfNV *v) 14881 { 14882 void *extproc; 14883 14884 extproc = (void *) glGetProcAddress("glSecondaryColor3hvNV"); 14885 14886 if (extproc == NULL) { 14887 _ASSERT(0); 14888 return; 14889 } 14890 14891 glSecondaryColor3hvNV = extproc; 14892 14893 glSecondaryColor3hvNV(v); 14894 } 14895 14896 static void APIENTRY InitVertexWeighthNV (GLhalfNV weight) 14897 { 14898 void *extproc; 14899 14900 extproc = (void *) glGetProcAddress("glVertexWeighthNV"); 14901 14902 if (extproc == NULL) { 14903 _ASSERT(0); 14904 return; 14905 } 14906 14907 glVertexWeighthNV = extproc; 14908 14909 glVertexWeighthNV(weight); 14910 } 14911 14912 static void APIENTRY InitVertexWeighthvNV (const GLhalfNV *weight) 14913 { 14914 void *extproc; 14915 14916 extproc = (void *) glGetProcAddress("glVertexWeighthvNV"); 14917 14918 if (extproc == NULL) { 14919 _ASSERT(0); 14920 return; 14921 } 14922 14923 glVertexWeighthvNV = extproc; 14924 14925 glVertexWeighthvNV(weight); 14926 } 14927 14928 static void APIENTRY InitVertexAttrib1hNV (GLuint index, GLhalfNV x) 14929 { 14930 void *extproc; 14931 14932 extproc = (void *) glGetProcAddress("glVertexAttrib1hNV"); 14933 14934 if (extproc == NULL) { 14935 _ASSERT(0); 14936 return; 14937 } 14938 14939 glVertexAttrib1hNV = extproc; 14940 14941 glVertexAttrib1hNV(index, x); 14942 } 14943 14944 static void APIENTRY InitVertexAttrib1hvNV (GLuint index, const GLhalfNV *v) 14945 { 14946 void *extproc; 14947 14948 extproc = (void *) glGetProcAddress("glVertexAttrib1hvNV"); 14949 14950 if (extproc == NULL) { 14951 _ASSERT(0); 14952 return; 14953 } 14954 14955 glVertexAttrib1hvNV = extproc; 14956 14957 glVertexAttrib1hvNV(index, v); 14958 } 14959 14960 static void APIENTRY InitVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y) 14961 { 14962 void *extproc; 14963 14964 extproc = (void *) glGetProcAddress("glVertexAttrib2hNV"); 14965 14966 if (extproc == NULL) { 14967 _ASSERT(0); 14968 return; 14969 } 14970 14971 glVertexAttrib2hNV = extproc; 14972 14973 glVertexAttrib2hNV(index, x, y); 14974 } 14975 14976 static void APIENTRY InitVertexAttrib2hvNV (GLuint index, const GLhalfNV *v) 14977 { 14978 void *extproc; 14979 14980 extproc = (void *) glGetProcAddress("glVertexAttrib2hvNV"); 14981 14982 if (extproc == NULL) { 14983 _ASSERT(0); 14984 return; 14985 } 14986 14987 glVertexAttrib2hvNV = extproc; 14988 14989 glVertexAttrib2hvNV(index, v); 14990 } 14991 14992 static void APIENTRY InitVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z) 14993 { 14994 void *extproc; 14995 14996 extproc = (void *) glGetProcAddress("glVertexAttrib3hNV"); 14997 14998 if (extproc == NULL) { 14999 _ASSERT(0); 15000 return; 15001 } 15002 15003 glVertexAttrib3hNV = extproc; 15004 15005 glVertexAttrib3hNV(index, x, y, z); 15006 } 15007 15008 static void APIENTRY InitVertexAttrib3hvNV (GLuint index, const GLhalfNV *v) 15009 { 15010 void *extproc; 15011 15012 extproc = (void *) glGetProcAddress("glVertexAttrib3hvNV"); 15013 15014 if (extproc == NULL) { 15015 _ASSERT(0); 15016 return; 15017 } 15018 15019 glVertexAttrib3hvNV = extproc; 15020 15021 glVertexAttrib3hvNV(index, v); 15022 } 15023 15024 static void APIENTRY InitVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) 15025 { 15026 void *extproc; 15027 15028 extproc = (void *) glGetProcAddress("glVertexAttrib4hNV"); 15029 15030 if (extproc == NULL) { 15031 _ASSERT(0); 15032 return; 15033 } 15034 15035 glVertexAttrib4hNV = extproc; 15036 15037 glVertexAttrib4hNV(index, x, y, z, w); 15038 } 15039 15040 static void APIENTRY InitVertexAttrib4hvNV (GLuint index, const GLhalfNV *v) 15041 { 15042 void *extproc; 15043 15044 extproc = (void *) glGetProcAddress("glVertexAttrib4hvNV"); 15045 15046 if (extproc == NULL) { 15047 _ASSERT(0); 15048 return; 15049 } 15050 15051 glVertexAttrib4hvNV = extproc; 15052 15053 glVertexAttrib4hvNV(index, v); 15054 } 15055 15056 static void APIENTRY InitVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v) 15057 { 15058 void *extproc; 15059 15060 extproc = (void *) glGetProcAddress("glVertexAttribs1hvNV"); 15061 15062 if (extproc == NULL) { 15063 _ASSERT(0); 15064 return; 15065 } 15066 15067 glVertexAttribs1hvNV = extproc; 15068 15069 glVertexAttribs1hvNV(index, n, v); 15070 } 15071 15072 static void APIENTRY InitVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v) 15073 { 15074 void *extproc; 15075 15076 extproc = (void *) glGetProcAddress("glVertexAttribs2hvNV"); 15077 15078 if (extproc == NULL) { 15079 _ASSERT(0); 15080 return; 15081 } 15082 15083 glVertexAttribs2hvNV = extproc; 15084 15085 glVertexAttribs2hvNV(index, n, v); 15086 } 15087 15088 static void APIENTRY InitVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v) 15089 { 15090 void *extproc; 15091 15092 extproc = (void *) glGetProcAddress("glVertexAttribs3hvNV"); 15093 15094 if (extproc == NULL) { 15095 _ASSERT(0); 15096 return; 15097 } 15098 15099 glVertexAttribs3hvNV = extproc; 15100 15101 glVertexAttribs3hvNV(index, n, v); 15102 } 15103 15104 static void APIENTRY InitVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v) 15105 { 15106 void *extproc; 15107 15108 extproc = (void *) glGetProcAddress("glVertexAttribs4hvNV"); 15109 15110 if (extproc == NULL) { 15111 _ASSERT(0); 15112 return; 15113 } 15114 15115 glVertexAttribs4hvNV = extproc; 15116 15117 glVertexAttribs4hvNV(index, n, v); 15118 } 15119 15120 static void APIENTRY InitPixelDataRangeNV (GLenum target, GLsizei length, GLvoid *pointer) 15121 { 15122 void *extproc; 15123 15124 extproc = (void *) glGetProcAddress("glPixelDataRangeNV"); 15125 15126 if (extproc == NULL) { 15127 _ASSERT(0); 15128 return; 15129 } 15130 15131 glPixelDataRangeNV = extproc; 15132 15133 glPixelDataRangeNV(target, length, pointer); 15134 } 15135 15136 static void APIENTRY InitFlushPixelDataRangeNV (GLenum target) 15137 { 15138 void *extproc; 15139 15140 extproc = (void *) glGetProcAddress("glFlushPixelDataRangeNV"); 15141 15142 if (extproc == NULL) { 15143 _ASSERT(0); 15144 return; 15145 } 15146 15147 glFlushPixelDataRangeNV = extproc; 15148 15149 glFlushPixelDataRangeNV(target); 15150 } 15151 15152 static void APIENTRY InitPrimitiveRestartNV (void) 15153 { 15154 void *extproc; 15155 15156 extproc = (void *) glGetProcAddress("glPrimitiveRestartNV"); 15157 15158 if (extproc == NULL) { 15159 _ASSERT(0); 15160 return; 15161 } 15162 15163 glPrimitiveRestartNV = extproc; 15164 15165 glPrimitiveRestartNV(); 15166 } 15167 15168 static void APIENTRY InitPrimitiveRestartIndexNV (GLuint index) 15169 { 15170 void *extproc; 15171 15172 extproc = (void *) glGetProcAddress("glPrimitiveRestartIndexNV"); 15173 15174 if (extproc == NULL) { 15175 _ASSERT(0); 15176 return; 15177 } 15178 15179 glPrimitiveRestartIndexNV = extproc; 15180 15181 glPrimitiveRestartIndexNV(index); 15182 } 15183 15184 static GLvoid* APIENTRY InitMapObjectBufferATI (GLuint buffer) 15185 { 15186 void *extproc; 15187 15188 extproc = (void *) glGetProcAddress("glMapObjectBufferATI"); 15189 15190 if (extproc == NULL) { 15191 _ASSERT(0); 15192 return 0; 15193 } 15194 15195 glMapObjectBufferATI = extproc; 15196 15197 return glMapObjectBufferATI(buffer); 15198 } 15199 15200 static void APIENTRY InitUnmapObjectBufferATI (GLuint buffer) 15201 { 15202 void *extproc; 15203 15204 extproc = (void *) glGetProcAddress("glUnmapObjectBufferATI"); 15205 15206 if (extproc == NULL) { 15207 _ASSERT(0); 15208 return; 15209 } 15210 15211 glUnmapObjectBufferATI = extproc; 15212 15213 glUnmapObjectBufferATI(buffer); 15214 } 15215 15216 static void APIENTRY InitStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) 15217 { 15218 void *extproc; 15219 15220 extproc = (void *) glGetProcAddress("glStencilOpSeparateATI"); 15221 15222 if (extproc == NULL) { 15223 _ASSERT(0); 15224 return; 15225 } 15226 15227 glStencilOpSeparateATI = extproc; 15228 15229 glStencilOpSeparateATI(face, sfail, dpfail, dppass); 15230 } 15231 15232 static void APIENTRY InitStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) 15233 { 15234 void *extproc; 15235 15236 extproc = (void *) glGetProcAddress("glStencilFuncSeparateATI"); 15237 15238 if (extproc == NULL) { 15239 _ASSERT(0); 15240 return; 15241 } 15242 15243 glStencilFuncSeparateATI = extproc; 15244 15245 glStencilFuncSeparateATI(frontfunc, backfunc, ref, mask); 15246 } 15247 15248 static void APIENTRY InitVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset) 15249 { 15250 void *extproc; 15251 15252 extproc = (void *) glGetProcAddress("glVertexAttribArrayObjectATI"); 15253 15254 if (extproc == NULL) { 15255 _ASSERT(0); 15256 return; 15257 } 15258 15259 glVertexAttribArrayObjectATI = extproc; 15260 15261 glVertexAttribArrayObjectATI(index, size, type, normalized, stride, buffer, offset); 15262 } 15263 15264 static void APIENTRY InitGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params) 15265 { 15266 void *extproc; 15267 15268 extproc = (void *) glGetProcAddress("glGetVertexAttribArrayObjectfvATI"); 15269 15270 if (extproc == NULL) { 15271 _ASSERT(0); 15272 return; 15273 } 15274 15275 glGetVertexAttribArrayObjectfvATI = extproc; 15276 15277 glGetVertexAttribArrayObjectfvATI(index, pname, params); 15278 } 15279 15280 static void APIENTRY InitGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params) 15281 { 15282 void *extproc; 15283 15284 extproc = (void *) glGetProcAddress("glGetVertexAttribArrayObjectivATI"); 15285 15286 if (extproc == NULL) { 15287 _ASSERT(0); 15288 return; 15289 } 15290 15291 glGetVertexAttribArrayObjectivATI = extproc; 15292 15293 glGetVertexAttribArrayObjectivATI(index, pname, params); 15294 } 15295 15296 static void APIENTRY InitDepthBoundsEXT (GLclampd zmin, GLclampd zmax) 15297 { 15298 void *extproc; 15299 15300 extproc = (void *) glGetProcAddress("glDepthBoundsEXT"); 15301 15302 if (extproc == NULL) { 15303 _ASSERT(0); 15304 return; 15305 } 15306 15307 glDepthBoundsEXT = extproc; 15308 15309 glDepthBoundsEXT(zmin, zmax); 15310 } 15311 15312 static void APIENTRY InitBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha) 15313 { 15314 void *extproc; 15315 15316 extproc = (void *) glGetProcAddress("glBlendEquationSeparateEXT"); 15317 15318 if (extproc == NULL) { 15319 _ASSERT(0); 15320 return; 15321 } 15322 15323 glBlendEquationSeparateEXT = extproc; 15324 15325 glBlendEquationSeparateEXT(modeRGB, modeAlpha); 15326 } 15327 15328 static void APIENTRY InitAddSwapHintRectWIN (GLint x, GLint y, GLsizei width, GLsizei height) 15329 { 15330 void *extproc; 15331 15332 extproc = (void *) glGetProcAddress("glAddSwapHintRectWIN"); 15333 15334 if (extproc == NULL) { 15335 _ASSERT(0); 15336 return; 15337 } 15338 15339 glAddSwapHintRectWIN = extproc; 15340 15341 glAddSwapHintRectWIN(x, y, width, height); 15342 } 15343 15344 /*****************************************************************************/ 15345 15346 static void APIENTRY InitBindFramebufferEXT (GLenum target, GLuint framebuffer) 15347 { 15348 void *extproc; 15349 15350 extproc = (void *) glGetProcAddress("glBindFramebufferEXT"); 15351 15352 if (extproc == NULL) { 15353 _ASSERT(0); 15354 return; 15355 } 15356 15357 glBindFramebufferEXT = extproc; 15358 15359 glBindFramebufferEXT(target, framebuffer); 15360 } 15361 15362 static void APIENTRY InitBindRenderbufferEXT (GLenum target, GLuint renderbuffer) 15363 { 15364 void *extproc; 15365 15366 extproc = (void *) glGetProcAddress("glBindRenderbufferEXT"); 15367 15368 if (extproc == NULL) { 15369 _ASSERT(0); 15370 return; 15371 } 15372 15373 glBindRenderbufferEXT = extproc; 15374 15375 glBindRenderbufferEXT(target, renderbuffer); 15376 } 15377 15378 static GLenum APIENTRY InitCheckFramebufferStatusEXT (GLenum target) 15379 { 15380 void *extproc; 15381 15382 extproc = (void *) glGetProcAddress("glCheckFramebufferStatusEXT"); 15383 15384 if (extproc == NULL) { 15385 _ASSERT(0); 15386 return 0; 15387 } 15388 15389 glCheckFramebufferStatusEXT = extproc; 15390 15391 return glCheckFramebufferStatusEXT(target); 15392 } 15393 15394 static void APIENTRY InitDeleteFramebuffersEXT (GLsizei n, const GLuint* framebuffers) 15395 { 15396 void *extproc; 15397 15398 extproc = (void *) glGetProcAddress("glDeleteFramebuffersEXT"); 15399 15400 if (extproc == NULL) { 15401 _ASSERT(0); 15402 return; 15403 } 15404 15405 glDeleteFramebuffersEXT = extproc; 15406 15407 glDeleteFramebuffersEXT(n, framebuffers); 15408 } 15409 15410 static void APIENTRY InitDeleteRenderbuffersEXT (GLsizei n, const GLuint* renderbuffers) 15411 { 15412 void *extproc; 15413 15414 extproc = (void *) glGetProcAddress("glDeleteRenderbuffersEXT"); 15415 15416 if (extproc == NULL) { 15417 _ASSERT(0); 15418 return; 15419 } 15420 15421 glDeleteRenderbuffersEXT = extproc; 15422 15423 glDeleteRenderbuffersEXT(n, renderbuffers); 15424 } 15425 15426 static void APIENTRY InitFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) 15427 { 15428 void *extproc; 15429 15430 extproc = (void *) glGetProcAddress("glFramebufferRenderbufferEXT"); 15431 15432 if (extproc == NULL) { 15433 _ASSERT(0); 15434 return; 15435 } 15436 15437 glFramebufferRenderbufferEXT = extproc; 15438 15439 glFramebufferRenderbufferEXT(target, attachment, renderbuffertarget, renderbuffer); 15440 } 15441 15442 static void APIENTRY InitFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) 15443 { 15444 void *extproc; 15445 15446 extproc = (void *) glGetProcAddress("glFramebufferTexture1DEXT"); 15447 15448 if (extproc == NULL) { 15449 _ASSERT(0); 15450 return; 15451 } 15452 15453 glFramebufferTexture1DEXT = extproc; 15454 15455 glFramebufferTexture1DEXT(target, attachment, textarget, texture, level); 15456 } 15457 15458 static void APIENTRY InitFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) 15459 { 15460 void *extproc; 15461 15462 extproc = (void *) glGetProcAddress("glFramebufferTexture2DEXT"); 15463 15464 if (extproc == NULL) { 15465 _ASSERT(0); 15466 return; 15467 } 15468 15469 glFramebufferTexture2DEXT = extproc; 15470 15471 glFramebufferTexture2DEXT(target, attachment, textarget, texture, level); 15472 } 15473 15474 static void APIENTRY InitFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) 15475 { 15476 void *extproc; 15477 15478 extproc = (void *) glGetProcAddress("glFramebufferTexture3DEXT"); 15479 15480 if (extproc == NULL) { 15481 _ASSERT(0); 15482 return; 15483 } 15484 15485 glFramebufferTexture3DEXT = extproc; 15486 15487 glFramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset); 15488 } 15489 15490 15491 static void APIENTRY InitGenFramebuffersEXT (GLsizei n, GLuint* framebuffers) 15492 { 15493 void *extproc; 15494 15495 extproc = (void *) glGetProcAddress("glGenFramebuffersEXT"); 15496 15497 if (extproc == NULL) { 15498 _ASSERT(0); 15499 return; 15500 } 15501 15502 glGenFramebuffersEXT = extproc; 15503 15504 glGenFramebuffersEXT(n, framebuffers); 15505 } 15506 15507 static void APIENTRY InitGenRenderbuffersEXT (GLsizei n, GLuint* renderbuffers) 15508 { 15509 void *extproc; 15510 15511 extproc = (void *) glGetProcAddress("glGenRenderbuffersEXT"); 15512 15513 if (extproc == NULL) { 15514 _ASSERT(0); 15515 return; 15516 } 15517 15518 glGenRenderbuffersEXT = extproc; 15519 15520 glGenRenderbuffersEXT(n, renderbuffers); 15521 } 15522 15523 static void APIENTRY InitGenerateMipmapEXT (GLenum target) 15524 { 15525 void *extproc; 15526 15527 extproc = (void *) glGetProcAddress("glGenerateMipmapEXT"); 15528 15529 if (extproc == NULL) { 15530 _ASSERT(0); 15531 return; 15532 } 15533 15534 glGenerateMipmapEXT = extproc; 15535 15536 glGenerateMipmapEXT(target); 15537 } 15538 15539 static void APIENTRY InitGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint* params) 15540 { 15541 void *extproc; 15542 15543 extproc = (void *) glGetProcAddress("glGetFramebufferAttachmentParameterivEXT"); 15544 15545 if (extproc == NULL) { 15546 _ASSERT(0); 15547 return; 15548 } 15549 15550 glGetFramebufferAttachmentParameterivEXT = extproc; 15551 15552 glGetFramebufferAttachmentParameterivEXT(target, attachment, pname, params); 15553 } 15554 15555 static void APIENTRY InitGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint* params) 15556 { 15557 void *extproc; 15558 15559 extproc = (void *) glGetProcAddress("glGetRenderbufferParameterivEXT"); 15560 15561 if (extproc == NULL) { 15562 _ASSERT(0); 15563 return; 15564 } 15565 15566 glGetRenderbufferParameterivEXT = extproc; 15567 15568 glGetRenderbufferParameterivEXT(target, pname, params); 15569 } 15570 15571 static GLboolean APIENTRY InitIsFramebufferEXT (GLuint framebuffer) 15572 { 15573 void *extproc; 15574 15575 extproc = (void *) glGetProcAddress("glIsFramebufferEXT"); 15576 15577 if (extproc == NULL) { 15578 _ASSERT(0); 15579 return GL_FALSE; 15580 } 15581 15582 glIsFramebufferEXT = extproc; 15583 15584 return glIsFramebufferEXT(framebuffer); 15585 } 15586 15587 static GLboolean APIENTRY InitIsRenderbufferEXT (GLuint renderbuffer) 15588 { 15589 void *extproc; 15590 15591 extproc = (void *) glGetProcAddress("glIsRenderbufferEXT"); 15592 15593 if (extproc == NULL) { 15594 _ASSERT(0); 15595 return GL_FALSE; 15596 } 15597 15598 glIsRenderbufferEXT = extproc; 15599 15600 return glIsRenderbufferEXT(renderbuffer); 15601 } 15602 15603 static void APIENTRY InitRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) 15604 { 15605 void *extproc; 15606 15607 extproc = (void *) glGetProcAddress("glRenderbufferStorageEXT"); 15608 15609 if (extproc == NULL) { 15610 _ASSERT(0); 15611 return; 15612 } 15613 15614 glRenderbufferStorageEXT = extproc; 15615 15616 glRenderbufferStorageEXT(target, internalformat, width, height); 15617 } 15618 15619 static void APIENTRY InitProgramParameteriEXT (GLuint program, GLenum pname, GLint value) 15620 { 15621 void *extproc; 15622 15623 extproc = (void *) glGetProcAddress("glProgramParameteriEXT"); 15624 15625 if (extproc == NULL) { 15626 _ASSERT(0); 15627 return; 15628 } 15629 15630 glProgramParameteriEXT = extproc; 15631 15632 glProgramParameteriEXT(program, pname, value); 15633 } 15634 15635 static void APIENTRY InitFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level) 15636 { 15637 void *extproc; 15638 15639 extproc = (void *) glGetProcAddress("glFramebufferTextureEXT"); 15640 15641 if (extproc == NULL) { 15642 _ASSERT(0); 15643 return; 15644 } 15645 15646 glFramebufferTextureEXT = extproc; 15647 15648 glFramebufferTextureEXT(target, attachment, texture, level); 15649 } 15650 15651 static void APIENTRY InitFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) 15652 { 15653 void *extproc; 15654 15655 extproc = (void *) glGetProcAddress("glFramebufferTextureLayerEXT"); 15656 15657 if (extproc == NULL) { 15658 _ASSERT(0); 15659 return; 15660 } 15661 15662 glFramebufferTextureLayerEXT = extproc; 15663 15664 glFramebufferTextureLayerEXT(target, attachment, texture, level, layer); 15665 } 15666 15667 static void APIENTRY InitFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) 15668 { 15669 void *extproc; 15670 15671 extproc = (void *) glGetProcAddress("glFramebufferTextureFaceEXT"); 15672 15673 if (extproc == NULL) { 15674 _ASSERT(0); 15675 return; 15676 } 15677 15678 glFramebufferTextureFaceEXT = extproc; 15679 15680 glFramebufferTextureFaceEXT(target, attachment, texture, level, face); 15681 } 15682 15683 /*****************************************************************************/ 15684 15685 #ifdef MAC_VERSION 15686 static void APIENTRY InitElementPointerAPPLE (GLenum type, const GLvoid *pointer) 15687 { 15688 void *extproc; 15689 15690 extproc = (void *) glGetProcAddress("glElementPointerAPPLE"); 15691 15692 if (extproc == NULL) { 15693 _ASSERT(0); 15694 return; 15695 } 15696 15697 glElementPointerAPPLE = extproc; 15698 15699 glElementPointerAPPLE(type, pointer); 15700 } 15701 15702 static void APIENTRY InitDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count) 15703 { 15704 void *extproc; 15705 15706 extproc = (void *) glGetProcAddress("glDrawElementArrayAPPLE"); 15707 15708 if (extproc == NULL) { 15709 _ASSERT(0); 15710 return; 15711 } 15712 15713 glDrawElementArrayAPPLE = extproc; 15714 15715 glDrawElementArrayAPPLE(mode, first, count); 15716 } 15717 15718 static void APIENTRY InitDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count) 15719 { 15720 void *extproc; 15721 15722 extproc = (void *) glGetProcAddress("glDrawRangeElementArrayAPPLE"); 15723 15724 if (extproc == NULL) { 15725 _ASSERT(0); 15726 return; 15727 } 15728 15729 glDrawRangeElementArrayAPPLE = extproc; 15730 15731 glDrawRangeElementArrayAPPLE(mode, start, end, first, count); 15732 } 15733 15734 static void APIENTRY InitMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount) 15735 { 15736 void *extproc; 15737 15738 extproc = (void *) glGetProcAddress("glMultiDrawElementArrayAPPLE"); 15739 15740 if (extproc == NULL) { 15741 _ASSERT(0); 15742 return; 15743 } 15744 15745 glMultiDrawElementArrayAPPLE = extproc; 15746 15747 glMultiDrawElementArrayAPPLE(mode, first, count, primcount); 15748 } 15749 15750 static void APIENTRY InitMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount) 15751 { 15752 void *extproc; 15753 15754 extproc = (void *) glGetProcAddress("glMultiDrawRangeElementArrayAPPLE"); 15755 15756 if (extproc == NULL) { 15757 _ASSERT(0); 15758 return; 15759 } 15760 15761 glMultiDrawRangeElementArrayAPPLE = extproc; 15762 15763 glMultiDrawRangeElementArrayAPPLE(mode, start, end, first, count, primcount); 15764 } 15765 15766 static void APIENTRY InitGenFencesAPPLE (GLsizei n, GLuint *fences) 15767 { 15768 void *extproc; 15769 15770 extproc = (void *) glGetProcAddress("glGenFencesAPPLE"); 15771 15772 if (extproc == NULL) { 15773 _ASSERT(0); 15774 return; 15775 } 15776 15777 glGenFencesAPPLE = extproc; 15778 15779 glGenFencesAPPLE(n, fences); 15780 } 15781 15782 static void APIENTRY InitDeleteFencesAPPLE (GLsizei n, const GLuint *fences) 15783 { 15784 void *extproc; 15785 15786 extproc = (void *) glGetProcAddress("glDeleteFencesAPPLE"); 15787 15788 if (extproc == NULL) { 15789 _ASSERT(0); 15790 return; 15791 } 15792 15793 glDeleteFencesAPPLE = extproc; 15794 15795 glDeleteFencesAPPLE(n, fences); 15796 } 15797 15798 static void APIENTRY InitSetFenceAPPLE (GLuint fence) 15799 { 15800 void *extproc; 15801 15802 extproc = (void *) glGetProcAddress("glSetFenceAPPLE"); 15803 15804 if (extproc == NULL) { 15805 _ASSERT(0); 15806 return; 15807 } 15808 15809 glSetFenceAPPLE = extproc; 15810 15811 glSetFenceAPPLE(fence); 15812 } 15813 15814 static GLboolean APIENTRY InitIsFenceAPPLE (GLuint fence) 15815 { 15816 void *extproc; 15817 15818 extproc = (void *) glGetProcAddress("glIsFenceAPPLE"); 15819 15820 if (extproc == NULL) { 15821 _ASSERT(0); 15822 return 0; 15823 } 15824 15825 glIsFenceAPPLE = extproc; 15826 15827 return glIsFenceAPPLE(fence); 15828 } 15829 15830 static GLboolean APIENTRY InitTestFenceAPPLE (GLuint fence) 15831 { 15832 void *extproc; 15833 15834 extproc = (void *) glGetProcAddress("glTestFenceAPPLE"); 15835 15836 if (extproc == NULL) { 15837 _ASSERT(0); 15838 return 0; 15839 } 15840 15841 glTestFenceAPPLE = extproc; 15842 15843 return glTestFenceAPPLE(fence); 15844 } 15845 15846 static void APIENTRY InitFinishFenceAPPLE (GLuint fence) 15847 { 15848 void *extproc; 15849 15850 extproc = (void *) glGetProcAddress("glFinishFenceAPPLE"); 15851 15852 if (extproc == NULL) { 15853 _ASSERT(0); 15854 return; 15855 } 15856 15857 glFinishFenceAPPLE = extproc; 15858 15859 glFinishFenceAPPLE(fence); 15860 } 15861 15862 static GLboolean APIENTRY InitTestObjectAPPLE (GLenum object, GLuint name) 15863 { 15864 void *extproc; 15865 15866 extproc = (void *) glGetProcAddress("glTestObjectAPPLE"); 15867 15868 if (extproc == NULL) { 15869 _ASSERT(0); 15870 return 0; 15871 } 15872 15873 glTestObjectAPPLE = extproc; 15874 15875 return glTestObjectAPPLE(object, name); 15876 } 15877 15878 static void APIENTRY InitFinishObjectAPPLE (GLenum object, GLint name) 15879 { 15880 void *extproc; 15881 15882 extproc = (void *) glGetProcAddress("glFinishObjectAPPLE"); 15883 15884 if (extproc == NULL) { 15885 _ASSERT(0); 15886 return; 15887 } 15888 15889 glFinishObjectAPPLE = extproc; 15890 15891 glFinishObjectAPPLE(object, name); 15892 } 15893 15894 static void APIENTRY InitBindVertexArrayAPPLE (GLuint array) 15895 { 15896 void *extproc; 15897 15898 extproc = (void *) glGetProcAddress("glBindVertexArrayAPPLE"); 15899 15900 if (extproc == NULL) { 15901 _ASSERT(0); 15902 return; 15903 } 15904 15905 glBindVertexArrayAPPLE = extproc; 15906 15907 glBindVertexArrayAPPLE(array); 15908 } 15909 15910 static void APIENTRY InitDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays) 15911 { 15912 void *extproc; 15913 15914 extproc = (void *) glGetProcAddress("glDeleteVertexArraysAPPLE"); 15915 15916 if (extproc == NULL) { 15917 _ASSERT(0); 15918 return; 15919 } 15920 15921 glDeleteVertexArraysAPPLE = extproc; 15922 15923 glDeleteVertexArraysAPPLE(n, arrays); 15924 } 15925 15926 static void APIENTRY InitGenVertexArraysAPPLE (GLsizei n, const GLuint *arrays) 15927 { 15928 void *extproc; 15929 15930 extproc = (void *) glGetProcAddress("glGenVertexArraysAPPLE"); 15931 15932 if (extproc == NULL) { 15933 _ASSERT(0); 15934 return; 15935 } 15936 15937 glGenVertexArraysAPPLE = extproc; 15938 15939 glGenVertexArraysAPPLE(n, arrays); 15940 } 15941 15942 static GLboolean APIENTRY InitIsVertexArrayAPPLE (GLuint array) 15943 { 15944 void *extproc; 15945 15946 extproc = (void *) glGetProcAddress("glIsVertexArrayAPPLE"); 15947 15948 if (extproc == NULL) { 15949 _ASSERT(0); 15950 return 0; 15951 } 15952 15953 glIsVertexArrayAPPLE = extproc; 15954 15955 return glIsVertexArrayAPPLE(array); 15956 } 15957 15958 static void APIENTRY InitVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer) 15959 { 15960 void *extproc; 15961 15962 extproc = (void *) glGetProcAddress("glVertexArrayRangeAPPLE"); 15963 15964 if (extproc == NULL) { 15965 _ASSERT(0); 15966 return; 15967 } 15968 15969 glVertexArrayRangeAPPLE = extproc; 15970 15971 glVertexArrayRangeAPPLE(length, pointer); 15972 } 15973 15974 static void APIENTRY InitFlushVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer) 15975 { 15976 void *extproc; 15977 15978 extproc = (void *) glGetProcAddress("glFlushVertexArrayRangeAPPLE"); 15979 15980 if (extproc == NULL) { 15981 _ASSERT(0); 15982 return; 15983 } 15984 15985 glFlushVertexArrayRangeAPPLE = extproc; 15986 15987 glFlushVertexArrayRangeAPPLE(length, pointer); 15988 } 15989 15990 static void APIENTRY InitVertexArrayParameteriAPPLE (GLenum pname, GLint param) 15991 { 15992 void *extproc; 15993 15994 extproc = (void *) glGetProcAddress("glVertexArrayParameteriAPPLE"); 15995 15996 if (extproc == NULL) { 15997 _ASSERT(0); 15998 return; 15999 } 16000 16001 glVertexArrayParameteriAPPLE = extproc; 16002 16003 glVertexArrayParameteriAPPLE(pname, param); 16004 } 16005 16006 static void APIENTRY InitTextureRangeAPPLE (GLenum target, GLsizei length, GLvoid *pointer) 16007 { 16008 void *extproc; 16009 16010 extproc = (void *) glGetProcAddress("glTextureRangeAPPLE"); 16011 16012 if (extproc == NULL) { 16013 _ASSERT(0); 16014 return; 16015 } 16016 16017 glTextureRangeAPPLE = extproc; 16018 16019 glTextureRangeAPPLE(target, length, pointer); 16020 } 16021 16022 static void APIENTRY InitGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid **params) 16023 { 16024 void *extproc; 16025 16026 extproc = (void *) glGetProcAddress("glGetTexParameterPointervAPPLE"); 16027 16028 if (extproc == NULL) { 16029 _ASSERT(0); 16030 return; 16031 } 16032 16033 glGetTexParameterPointervAPPLE = extproc; 16034 16035 glGetTexParameterPointervAPPLE(target, pname, params); 16036 } 16037 16038 static GLboolean APIENTRY InitCreatePBuffer (GLint width, GLint height, GLenum target, GLenum internalFormat, long max_level, AGLPbuffer *pbuffer) 16039 { 16040 void *extproc; 16041 16042 extproc = (void *) aglGetProcAddress("aglCreatePBuffer"); 16043 16044 if (extproc == NULL) { 16045 _ASSERT(0); 16046 return FALSE; 16047 } 16048 16049 aglCreatePBuffer = extproc; 16050 16051 return aglCreatePBuffer(width, height, target, internalFormat, max_level, pbuffer); 16052 } 16053 16054 static GLboolean APIENTRY InitDescribePBuffer (AGLPbuffer pbuffer, GLint *width, GLint *height, GLenum *target, GLenum *internalFormat, GLint *max_level ) 16055 { 16056 void *extproc; 16057 16058 extproc = (void *) aglGetProcAddress("aglDescribePBuffer"); 16059 16060 if (extproc == NULL) { 16061 _ASSERT(0); 16062 return FALSE; 16063 } 16064 16065 aglDescribePBuffer = extproc; 16066 16067 return aglDescribePBuffer(pbuffer, width, height, target, internalFormat, max_level); 16068 } 16069 16070 static GLboolean APIENTRY InitDestroyPBuffer (AGLPbuffer pbuffer ) 16071 { 16072 void *extproc; 16073 16074 extproc = (void *) aglGetProcAddress("aglDestroyPBuffer"); 16075 16076 if (extproc == NULL) { 16077 _ASSERT(0); 16078 return FALSE; 16079 } 16080 16081 aglDestroyPBuffer = extproc; 16082 16083 return aglDestroyPBuffer(pbuffer); 16084 } 16085 16086 static GLboolean APIENTRY InitGetPBuffer (AGLContext ctx, AGLPbuffer *pbuffer, GLint *face, GLint *level, GLint *screen ) 16087 { 16088 void *extproc; 16089 16090 extproc = (void *) aglGetProcAddress("aglGetPBuffer"); 16091 16092 if (extproc == NULL) { 16093 _ASSERT(0); 16094 return FALSE; 16095 } 16096 16097 aglGetPBuffer = extproc; 16098 16099 return aglGetPBuffer(ctx, pbuffer, face, level, screen); 16100 } 16101 16102 static GLboolean APIENTRY InitSetPBuffer (AGLContext ctx, AGLPbuffer pbuffer, GLint face, GLint level, GLint screen ) 16103 { 16104 void *extproc; 16105 16106 extproc = (void *) aglGetProcAddress("aglSetPBuffer"); 16107 16108 if (extproc == NULL) { 16109 _ASSERT(0); 16110 return FALSE; 16111 } 16112 16113 aglSetPBuffer = extproc; 16114 16115 return aglSetPBuffer(ctx, pbuffer, face, level, screen); 16116 } 16117 16118 static GLboolean APIENTRY InitTexImagePBuffer(AGLContext ctx, AGLPbuffer pbuffer, GLint source ) 16119 { 16120 void *extproc; 16121 16122 extproc = (void *) aglGetProcAddress("aglTexImagePBuffer"); 16123 16124 if (extproc == NULL) { 16125 _ASSERT(0); 16126 return FALSE; 16127 } 16128 16129 aglTexImagePBuffer = extproc; 16130 16131 return aglTexImagePBuffer(ctx, pbuffer, source); 16132 } 16133 16134 static GLboolean APIENTRY InitSurfaceTexture (AGLContext context, GLenum target, GLenum internalformat, AGLContext surfacecontext ) 16135 { 16136 void *extproc; 16137 16138 extproc = (void *) aglGetProcAddress("aglSurfaceTexture"); 16139 16140 if (extproc == NULL) { 16141 _ASSERT(0); 16142 return FALSE; 16143 } 16144 16145 aglSurfaceTexture = extproc; 16146 16147 return aglSurfaceTexture(context, target, internalformat, surfacecontext); 16148 } 16149 16150 #endif /* MAC_VERSION */ 16151 16152 /*****************************************************************************/ 16153 16154 #ifdef _WIN32 16155 static HANDLE WINAPI InitCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType) 16156 { 16157 void *extproc; 16158 16159 extproc = (void *) glGetProcAddress("wglCreateBufferRegionARB"); 16160 16161 if (extproc == NULL) { 16162 _ASSERT(0); 16163 return 0; 16164 } 16165 16166 wglCreateBufferRegionARB = extproc; 16167 16168 return wglCreateBufferRegionARB(hDC, iLayerPlane, uType); 16169 } 16170 16171 static VOID WINAPI InitDeleteBufferRegionARB (HANDLE hRegion) 16172 { 16173 void *extproc; 16174 16175 extproc = (void *) glGetProcAddress("wglDeleteBufferRegionARB"); 16176 16177 if (extproc == NULL) { 16178 _ASSERT(0); 16179 return; 16180 } 16181 16182 wglDeleteBufferRegionARB = extproc; 16183 16184 wglDeleteBufferRegionARB(hRegion); 16185 } 16186 16187 static BOOL WINAPI InitSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height) 16188 { 16189 void *extproc; 16190 16191 extproc = (void *) glGetProcAddress("wglSaveBufferRegionARB"); 16192 16193 if (extproc == NULL) { 16194 _ASSERT(0); 16195 return 0; 16196 } 16197 16198 wglSaveBufferRegionARB = extproc; 16199 16200 return wglSaveBufferRegionARB(hRegion, x, y, width, height); 16201 } 16202 16203 static BOOL WINAPI InitRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc) 16204 { 16205 void *extproc; 16206 16207 extproc = (void *) glGetProcAddress("wglRestoreBufferRegionARB"); 16208 16209 if (extproc == NULL) { 16210 _ASSERT(0); 16211 return 0; 16212 } 16213 16214 wglRestoreBufferRegionARB = extproc; 16215 16216 return wglRestoreBufferRegionARB(hRegion, x, y, width, height, xSrc, ySrc); 16217 } 16218 16219 static const WINAPI InitGetExtensionsStringARB (HDC hdc) 16220 { 16221 void *extproc; 16222 16223 extproc = (void *) glGetProcAddress("wglGetExtensionsStringARB"); 16224 16225 if (extproc == NULL) { 16226 _ASSERT(0); 16227 return 0; 16228 } 16229 16230 wglGetExtensionsStringARB = extproc; 16231 16232 return wglGetExtensionsStringARB(hdc); 16233 } 16234 16235 static BOOL WINAPI InitGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues) 16236 { 16237 void *extproc; 16238 16239 extproc = (void *) glGetProcAddress("wglGetPixelFormatAttribivARB"); 16240 16241 if (extproc == NULL) { 16242 _ASSERT(0); 16243 return 0; 16244 } 16245 16246 wglGetPixelFormatAttribivARB = extproc; 16247 16248 return wglGetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); 16249 } 16250 16251 static BOOL WINAPI InitGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues) 16252 { 16253 void *extproc; 16254 16255 extproc = (void *) glGetProcAddress("wglGetPixelFormatAttribfvARB"); 16256 16257 if (extproc == NULL) { 16258 _ASSERT(0); 16259 return 0; 16260 } 16261 16262 wglGetPixelFormatAttribfvARB = extproc; 16263 16264 return wglGetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); 16265 } 16266 16267 static BOOL WINAPI InitChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats) 16268 { 16269 void *extproc; 16270 16271 extproc = (void *) glGetProcAddress("wglChoosePixelFormatARB"); 16272 16273 if (extproc == NULL) { 16274 _ASSERT(0); 16275 return 0; 16276 } 16277 16278 wglChoosePixelFormatARB = extproc; 16279 16280 return wglChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); 16281 } 16282 16283 static BOOL WINAPI InitMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc) 16284 { 16285 void *extproc; 16286 16287 extproc = (void *) glGetProcAddress("wglMakeContextCurrentARB"); 16288 16289 if (extproc == NULL) { 16290 _ASSERT(0); 16291 return 0; 16292 } 16293 16294 wglMakeContextCurrentARB = extproc; 16295 16296 return wglMakeContextCurrentARB(hDrawDC, hReadDC, hglrc); 16297 } 16298 16299 static HDC WINAPI InitGetCurrentReadDCARB (void) 16300 { 16301 void *extproc; 16302 16303 extproc = (void *) glGetProcAddress("wglGetCurrentReadDCARB"); 16304 16305 if (extproc == NULL) { 16306 _ASSERT(0); 16307 return 0; 16308 } 16309 16310 wglGetCurrentReadDCARB = extproc; 16311 16312 return wglGetCurrentReadDCARB(); 16313 } 16314 16315 static HPBUFFERARB WINAPI InitCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList) 16316 { 16317 void *extproc; 16318 16319 extproc = (void *) glGetProcAddress("wglCreatePbufferARB"); 16320 16321 if (extproc == NULL) { 16322 _ASSERT(0); 16323 return 0; 16324 } 16325 16326 wglCreatePbufferARB = extproc; 16327 16328 return wglCreatePbufferARB(hDC, iPixelFormat, iWidth, iHeight, piAttribList); 16329 } 16330 16331 static HDC WINAPI InitGetPbufferDCARB (HPBUFFERARB hPbuffer) 16332 { 16333 void *extproc; 16334 16335 extproc = (void *) glGetProcAddress("wglGetPbufferDCARB"); 16336 16337 if (extproc == NULL) { 16338 _ASSERT(0); 16339 return 0; 16340 } 16341 16342 wglGetPbufferDCARB = extproc; 16343 16344 return wglGetPbufferDCARB(hPbuffer); 16345 } 16346 16347 static int WINAPI InitReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC) 16348 { 16349 void *extproc; 16350 16351 extproc = (void *) glGetProcAddress("wglReleasePbufferDCARB"); 16352 16353 if (extproc == NULL) { 16354 _ASSERT(0); 16355 return 0; 16356 } 16357 16358 wglReleasePbufferDCARB = extproc; 16359 16360 return wglReleasePbufferDCARB(hPbuffer, hDC); 16361 } 16362 16363 static BOOL WINAPI InitDestroyPbufferARB (HPBUFFERARB hPbuffer) 16364 { 16365 void *extproc; 16366 16367 extproc = (void *) glGetProcAddress("wglDestroyPbufferARB"); 16368 16369 if (extproc == NULL) { 16370 _ASSERT(0); 16371 return 0; 16372 } 16373 16374 wglDestroyPbufferARB = extproc; 16375 16376 return wglDestroyPbufferARB(hPbuffer); 16377 } 16378 16379 static BOOL WINAPI InitQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int *piValue) 16380 { 16381 void *extproc; 16382 16383 extproc = (void *) glGetProcAddress("wglQueryPbufferARB"); 16384 16385 if (extproc == NULL) { 16386 _ASSERT(0); 16387 return 0; 16388 } 16389 16390 wglQueryPbufferARB = extproc; 16391 16392 return wglQueryPbufferARB(hPbuffer, iAttribute, piValue); 16393 } 16394 16395 static BOOL WINAPI InitBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer) 16396 { 16397 void *extproc; 16398 16399 extproc = (void *) glGetProcAddress("wglBindTexImageARB"); 16400 16401 if (extproc == NULL) { 16402 _ASSERT(0); 16403 return 0; 16404 } 16405 16406 wglBindTexImageARB = extproc; 16407 16408 return wglBindTexImageARB(hPbuffer, iBuffer); 16409 } 16410 16411 static BOOL WINAPI InitReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer) 16412 { 16413 void *extproc; 16414 16415 extproc = (void *) glGetProcAddress("wglReleaseTexImageARB"); 16416 16417 if (extproc == NULL) { 16418 _ASSERT(0); 16419 return 0; 16420 } 16421 16422 wglReleaseTexImageARB = extproc; 16423 16424 return wglReleaseTexImageARB(hPbuffer, iBuffer); 16425 } 16426 16427 static BOOL WINAPI InitSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int *piAttribList) 16428 { 16429 void *extproc; 16430 16431 extproc = (void *) glGetProcAddress("wglSetPbufferAttribARB"); 16432 16433 if (extproc == NULL) { 16434 _ASSERT(0); 16435 return 0; 16436 } 16437 16438 wglSetPbufferAttribARB = extproc; 16439 16440 return wglSetPbufferAttribARB(hPbuffer, piAttribList); 16441 } 16442 16443 static GLboolean WINAPI InitCreateDisplayColorTableEXT (GLushort id) 16444 { 16445 void *extproc; 16446 16447 extproc = (void *) glGetProcAddress("wglCreateDisplayColorTableEXT"); 16448 16449 if (extproc == NULL) { 16450 _ASSERT(0); 16451 return 0; 16452 } 16453 16454 wglCreateDisplayColorTableEXT = extproc; 16455 16456 return wglCreateDisplayColorTableEXT(id); 16457 } 16458 16459 static GLboolean WINAPI InitLoadDisplayColorTableEXT (const GLushort *table, GLuint length) 16460 { 16461 void *extproc; 16462 16463 extproc = (void *) glGetProcAddress("wglLoadDisplayColorTableEXT"); 16464 16465 if (extproc == NULL) { 16466 _ASSERT(0); 16467 return 0; 16468 } 16469 16470 wglLoadDisplayColorTableEXT = extproc; 16471 16472 return wglLoadDisplayColorTableEXT(table, length); 16473 } 16474 16475 static GLboolean WINAPI InitBindDisplayColorTableEXT (GLushort id) 16476 { 16477 void *extproc; 16478 16479 extproc = (void *) glGetProcAddress("wglBindDisplayColorTableEXT"); 16480 16481 if (extproc == NULL) { 16482 _ASSERT(0); 16483 return 0; 16484 } 16485 16486 wglBindDisplayColorTableEXT = extproc; 16487 16488 return wglBindDisplayColorTableEXT(id); 16489 } 16490 16491 static VOID WINAPI InitDestroyDisplayColorTableEXT (GLushort id) 16492 { 16493 void *extproc; 16494 16495 extproc = (void *) glGetProcAddress("wglDestroyDisplayColorTableEXT"); 16496 16497 if (extproc == NULL) { 16498 _ASSERT(0); 16499 return; 16500 } 16501 16502 wglDestroyDisplayColorTableEXT = extproc; 16503 16504 wglDestroyDisplayColorTableEXT(id); 16505 } 16506 16507 static const WINAPI InitGetExtensionsStringEXT (void) 16508 { 16509 void *extproc; 16510 16511 extproc = (void *) glGetProcAddress("wglGetExtensionsStringEXT"); 16512 16513 if (extproc == NULL) { 16514 _ASSERT(0); 16515 return 0; 16516 } 16517 16518 wglGetExtensionsStringEXT = extproc; 16519 16520 return wglGetExtensionsStringEXT(); 16521 } 16522 16523 static BOOL WINAPI InitMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc) 16524 { 16525 void *extproc; 16526 16527 extproc = (void *) glGetProcAddress("wglMakeContextCurrentEXT"); 16528 16529 if (extproc == NULL) { 16530 _ASSERT(0); 16531 return 0; 16532 } 16533 16534 wglMakeContextCurrentEXT = extproc; 16535 16536 return wglMakeContextCurrentEXT(hDrawDC, hReadDC, hglrc); 16537 } 16538 16539 static HDC WINAPI InitGetCurrentReadDCEXT (void) 16540 { 16541 void *extproc; 16542 16543 extproc = (void *) glGetProcAddress("wglGetCurrentReadDCEXT"); 16544 16545 if (extproc == NULL) { 16546 _ASSERT(0); 16547 return 0; 16548 } 16549 16550 wglGetCurrentReadDCEXT = extproc; 16551 16552 return wglGetCurrentReadDCEXT(); 16553 } 16554 16555 static HPBUFFEREXT WINAPI InitCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList) 16556 { 16557 void *extproc; 16558 16559 extproc = (void *) glGetProcAddress("wglCreatePbufferEXT"); 16560 16561 if (extproc == NULL) { 16562 _ASSERT(0); 16563 return 0; 16564 } 16565 16566 wglCreatePbufferEXT = extproc; 16567 16568 return wglCreatePbufferEXT(hDC, iPixelFormat, iWidth, iHeight, piAttribList); 16569 } 16570 16571 static HDC WINAPI InitGetPbufferDCEXT (HPBUFFEREXT hPbuffer) 16572 { 16573 void *extproc; 16574 16575 extproc = (void *) glGetProcAddress("wglGetPbufferDCEXT"); 16576 16577 if (extproc == NULL) { 16578 _ASSERT(0); 16579 return 0; 16580 } 16581 16582 wglGetPbufferDCEXT = extproc; 16583 16584 return wglGetPbufferDCEXT(hPbuffer); 16585 } 16586 16587 static int WINAPI InitReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC) 16588 { 16589 void *extproc; 16590 16591 extproc = (void *) glGetProcAddress("wglReleasePbufferDCEXT"); 16592 16593 if (extproc == NULL) { 16594 _ASSERT(0); 16595 return 0; 16596 } 16597 16598 wglReleasePbufferDCEXT = extproc; 16599 16600 return wglReleasePbufferDCEXT(hPbuffer, hDC); 16601 } 16602 16603 static BOOL WINAPI InitDestroyPbufferEXT (HPBUFFEREXT hPbuffer) 16604 { 16605 void *extproc; 16606 16607 extproc = (void *) glGetProcAddress("wglDestroyPbufferEXT"); 16608 16609 if (extproc == NULL) { 16610 _ASSERT(0); 16611 return 0; 16612 } 16613 16614 wglDestroyPbufferEXT = extproc; 16615 16616 return wglDestroyPbufferEXT(hPbuffer); 16617 } 16618 16619 static BOOL WINAPI InitQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue) 16620 { 16621 void *extproc; 16622 16623 extproc = (void *) glGetProcAddress("wglQueryPbufferEXT"); 16624 16625 if (extproc == NULL) { 16626 _ASSERT(0); 16627 return 0; 16628 } 16629 16630 wglQueryPbufferEXT = extproc; 16631 16632 return wglQueryPbufferEXT(hPbuffer, iAttribute, piValue); 16633 } 16634 16635 static BOOL WINAPI InitGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues) 16636 { 16637 void *extproc; 16638 16639 extproc = (void *) glGetProcAddress("wglGetPixelFormatAttribivEXT"); 16640 16641 if (extproc == NULL) { 16642 _ASSERT(0); 16643 return 0; 16644 } 16645 16646 wglGetPixelFormatAttribivEXT = extproc; 16647 16648 return wglGetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); 16649 } 16650 16651 static BOOL WINAPI InitGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues) 16652 { 16653 void *extproc; 16654 16655 extproc = (void *) glGetProcAddress("wglGetPixelFormatAttribfvEXT"); 16656 16657 if (extproc == NULL) { 16658 _ASSERT(0); 16659 return 0; 16660 } 16661 16662 wglGetPixelFormatAttribfvEXT = extproc; 16663 16664 return wglGetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); 16665 } 16666 16667 static BOOL WINAPI InitChoosePixelFormatEXT (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats) 16668 { 16669 void *extproc; 16670 16671 extproc = (void *) glGetProcAddress("wglChoosePixelFormatEXT"); 16672 16673 if (extproc == NULL) { 16674 _ASSERT(0); 16675 return 0; 16676 } 16677 16678 wglChoosePixelFormatEXT = extproc; 16679 16680 return wglChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); 16681 } 16682 16683 static BOOL WINAPI InitSwapIntervalEXT (int interval) 16684 { 16685 void *extproc; 16686 16687 extproc = (void *) glGetProcAddress("wglSwapIntervalEXT"); 16688 16689 if (extproc == NULL) { 16690 _ASSERT(0); 16691 return 0; 16692 } 16693 16694 wglSwapIntervalEXT = extproc; 16695 16696 return wglSwapIntervalEXT(interval); 16697 } 16698 16699 static int WINAPI InitGetSwapIntervalEXT (void) 16700 { 16701 void *extproc; 16702 16703 extproc = (void *) glGetProcAddress("wglGetSwapIntervalEXT"); 16704 16705 if (extproc == NULL) { 16706 _ASSERT(0); 16707 return 0; 16708 } 16709 16710 wglGetSwapIntervalEXT = extproc; 16711 16712 return wglGetSwapIntervalEXT(); 16713 } 16714 16715 static void* WINAPI InitAllocateMemoryNV (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority) 16716 { 16717 void *extproc; 16718 16719 extproc = (void *) glGetProcAddress("wglAllocateMemoryNV"); 16720 16721 if (extproc == NULL) { 16722 _ASSERT(0); 16723 return 0; 16724 } 16725 16726 wglAllocateMemoryNV = extproc; 16727 16728 return wglAllocateMemoryNV(size, readfreq, writefreq, priority); 16729 } 16730 16731 static void WINAPI InitFreeMemoryNV (void) 16732 { 16733 void *extproc; 16734 16735 extproc = (void *) glGetProcAddress("wglFreeMemoryNV"); 16736 16737 if (extproc == NULL) { 16738 _ASSERT(0); 16739 return; 16740 } 16741 16742 wglFreeMemoryNV = extproc; 16743 16744 wglFreeMemoryNV(); 16745 } 16746 16747 static BOOL WINAPI InitGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc) 16748 { 16749 void *extproc; 16750 16751 extproc = (void *) glGetProcAddress("wglGetSyncValuesOML"); 16752 16753 if (extproc == NULL) { 16754 _ASSERT(0); 16755 return 0; 16756 } 16757 16758 wglGetSyncValuesOML = extproc; 16759 16760 return wglGetSyncValuesOML(hdc, ust, msc, sbc); 16761 } 16762 16763 static BOOL WINAPI InitGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator) 16764 { 16765 void *extproc; 16766 16767 extproc = (void *) glGetProcAddress("wglGetMscRateOML"); 16768 16769 if (extproc == NULL) { 16770 _ASSERT(0); 16771 return 0; 16772 } 16773 16774 wglGetMscRateOML = extproc; 16775 16776 return wglGetMscRateOML(hdc, numerator, denominator); 16777 } 16778 16779 static INT64 WINAPI InitSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder) 16780 { 16781 void *extproc; 16782 16783 extproc = (void *) glGetProcAddress("wglSwapBuffersMscOML"); 16784 16785 if (extproc == NULL) { 16786 _ASSERT(0); 16787 return 0; 16788 } 16789 16790 wglSwapBuffersMscOML = extproc; 16791 16792 return wglSwapBuffersMscOML(hdc, target_msc, divisor, remainder); 16793 } 16794 16795 static INT64 WINAPI InitSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder) 16796 { 16797 void *extproc; 16798 16799 extproc = (void *) glGetProcAddress("wglSwapLayerBuffersMscOML"); 16800 16801 if (extproc == NULL) { 16802 _ASSERT(0); 16803 return 0; 16804 } 16805 16806 wglSwapLayerBuffersMscOML = extproc; 16807 16808 return wglSwapLayerBuffersMscOML(hdc, fuPlanes, target_msc, divisor, remainder); 16809 } 16810 16811 static BOOL WINAPI InitWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc) 16812 { 16813 void *extproc; 16814 16815 extproc = (void *) glGetProcAddress("wglWaitForMscOML"); 16816 16817 if (extproc == NULL) { 16818 _ASSERT(0); 16819 return 0; 16820 } 16821 16822 wglWaitForMscOML = extproc; 16823 16824 return wglWaitForMscOML(hdc, target_msc, divisor, remainder, ust, msc, sbc); 16825 } 16826 16827 static BOOL WINAPI InitWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc) 16828 { 16829 void *extproc; 16830 16831 extproc = (void *) glGetProcAddress("wglWaitForSbcOML"); 16832 16833 if (extproc == NULL) { 16834 _ASSERT(0); 16835 return 0; 16836 } 16837 16838 wglWaitForSbcOML = extproc; 16839 16840 return wglWaitForSbcOML(hdc, target_sbc, ust, msc, sbc); 16841 } 16842 16843 static BOOL WINAPI InitGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int *piValue) 16844 { 16845 void *extproc; 16846 16847 extproc = (void *) glGetProcAddress("wglGetDigitalVideoParametersI3D"); 16848 16849 if (extproc == NULL) { 16850 _ASSERT(0); 16851 return 0; 16852 } 16853 16854 wglGetDigitalVideoParametersI3D = extproc; 16855 16856 return wglGetDigitalVideoParametersI3D(hDC, iAttribute, piValue); 16857 } 16858 16859 static BOOL WINAPI InitSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int *piValue) 16860 { 16861 void *extproc; 16862 16863 extproc = (void *) glGetProcAddress("wglSetDigitalVideoParametersI3D"); 16864 16865 if (extproc == NULL) { 16866 _ASSERT(0); 16867 return 0; 16868 } 16869 16870 wglSetDigitalVideoParametersI3D = extproc; 16871 16872 return wglSetDigitalVideoParametersI3D(hDC, iAttribute, piValue); 16873 } 16874 16875 static BOOL WINAPI InitGetGammaTableParametersI3D (HDC hDC, int iAttribute, int *piValue) 16876 { 16877 void *extproc; 16878 16879 extproc = (void *) glGetProcAddress("wglGetGammaTableParametersI3D"); 16880 16881 if (extproc == NULL) { 16882 _ASSERT(0); 16883 return 0; 16884 } 16885 16886 wglGetGammaTableParametersI3D = extproc; 16887 16888 return wglGetGammaTableParametersI3D(hDC, iAttribute, piValue); 16889 } 16890 16891 static BOOL WINAPI InitSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int *piValue) 16892 { 16893 void *extproc; 16894 16895 extproc = (void *) glGetProcAddress("wglSetGammaTableParametersI3D"); 16896 16897 if (extproc == NULL) { 16898 _ASSERT(0); 16899 return 0; 16900 } 16901 16902 wglSetGammaTableParametersI3D = extproc; 16903 16904 return wglSetGammaTableParametersI3D(hDC, iAttribute, piValue); 16905 } 16906 16907 static BOOL WINAPI InitGetGammaTableI3D (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue) 16908 { 16909 void *extproc; 16910 16911 extproc = (void *) glGetProcAddress("wglGetGammaTableI3D"); 16912 16913 if (extproc == NULL) { 16914 _ASSERT(0); 16915 return 0; 16916 } 16917 16918 wglGetGammaTableI3D = extproc; 16919 16920 return wglGetGammaTableI3D(hDC, iEntries, puRed, puGreen, puBlue); 16921 } 16922 16923 static BOOL WINAPI InitSetGammaTableI3D (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue) 16924 { 16925 void *extproc; 16926 16927 extproc = (void *) glGetProcAddress("wglSetGammaTableI3D"); 16928 16929 if (extproc == NULL) { 16930 _ASSERT(0); 16931 return 0; 16932 } 16933 16934 wglSetGammaTableI3D = extproc; 16935 16936 return wglSetGammaTableI3D(hDC, iEntries, puRed, puGreen, puBlue); 16937 } 16938 16939 static BOOL WINAPI InitEnableGenlockI3D (HDC hDC) 16940 { 16941 void *extproc; 16942 16943 extproc = (void *) glGetProcAddress("wglEnableGenlockI3D"); 16944 16945 if (extproc == NULL) { 16946 _ASSERT(0); 16947 return 0; 16948 } 16949 16950 wglEnableGenlockI3D = extproc; 16951 16952 return wglEnableGenlockI3D(hDC); 16953 } 16954 16955 static BOOL WINAPI InitDisableGenlockI3D (HDC hDC) 16956 { 16957 void *extproc; 16958 16959 extproc = (void *) glGetProcAddress("wglDisableGenlockI3D"); 16960 16961 if (extproc == NULL) { 16962 _ASSERT(0); 16963 return 0; 16964 } 16965 16966 wglDisableGenlockI3D = extproc; 16967 16968 return wglDisableGenlockI3D(hDC); 16969 } 16970 16971 static BOOL WINAPI InitIsEnabledGenlockI3D (HDC hDC, BOOL *pFlag) 16972 { 16973 void *extproc; 16974 16975 extproc = (void *) glGetProcAddress("wglIsEnabledGenlockI3D"); 16976 16977 if (extproc == NULL) { 16978 _ASSERT(0); 16979 return 0; 16980 } 16981 16982 wglIsEnabledGenlockI3D = extproc; 16983 16984 return wglIsEnabledGenlockI3D(hDC, pFlag); 16985 } 16986 16987 static BOOL WINAPI InitGenlockSourceI3D (HDC hDC, UINT uSource) 16988 { 16989 void *extproc; 16990 16991 extproc = (void *) glGetProcAddress("wglGenlockSourceI3D"); 16992 16993 if (extproc == NULL) { 16994 _ASSERT(0); 16995 return 0; 16996 } 16997 16998 wglGenlockSourceI3D = extproc; 16999 17000 return wglGenlockSourceI3D(hDC, uSource); 17001 } 17002 17003 static BOOL WINAPI InitGetGenlockSourceI3D (HDC hDC, UINT *uSource) 17004 { 17005 void *extproc; 17006 17007 extproc = (void *) glGetProcAddress("wglGetGenlockSourceI3D"); 17008 17009 if (extproc == NULL) { 17010 _ASSERT(0); 17011 return 0; 17012 } 17013 17014 wglGetGenlockSourceI3D = extproc; 17015 17016 return wglGetGenlockSourceI3D(hDC, uSource); 17017 } 17018 17019 static BOOL WINAPI InitGenlockSourceEdgeI3D (HDC hDC, UINT uEdge) 17020 { 17021 void *extproc; 17022 17023 extproc = (void *) glGetProcAddress("wglGenlockSourceEdgeI3D"); 17024 17025 if (extproc == NULL) { 17026 _ASSERT(0); 17027 return 0; 17028 } 17029 17030 wglGenlockSourceEdgeI3D = extproc; 17031 17032 return wglGenlockSourceEdgeI3D(hDC, uEdge); 17033 } 17034 17035 static BOOL WINAPI InitGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge) 17036 { 17037 void *extproc; 17038 17039 extproc = (void *) glGetProcAddress("wglGetGenlockSourceEdgeI3D"); 17040 17041 if (extproc == NULL) { 17042 _ASSERT(0); 17043 return 0; 17044 } 17045 17046 wglGetGenlockSourceEdgeI3D = extproc; 17047 17048 return wglGetGenlockSourceEdgeI3D(hDC, uEdge); 17049 } 17050 17051 static BOOL WINAPI InitGenlockSampleRateI3D (HDC hDC, UINT uRate) 17052 { 17053 void *extproc; 17054 17055 extproc = (void *) glGetProcAddress("wglGenlockSampleRateI3D"); 17056 17057 if (extproc == NULL) { 17058 _ASSERT(0); 17059 return 0; 17060 } 17061 17062 wglGenlockSampleRateI3D = extproc; 17063 17064 return wglGenlockSampleRateI3D(hDC, uRate); 17065 } 17066 17067 static BOOL WINAPI InitGetGenlockSampleRateI3D (HDC hDC, UINT *uRate) 17068 { 17069 void *extproc; 17070 17071 extproc = (void *) glGetProcAddress("wglGetGenlockSampleRateI3D"); 17072 17073 if (extproc == NULL) { 17074 _ASSERT(0); 17075 return 0; 17076 } 17077 17078 wglGetGenlockSampleRateI3D = extproc; 17079 17080 return wglGetGenlockSampleRateI3D(hDC, uRate); 17081 } 17082 17083 static BOOL WINAPI InitGenlockSourceDelayI3D (HDC hDC, UINT uDelay) 17084 { 17085 void *extproc; 17086 17087 extproc = (void *) glGetProcAddress("wglGenlockSourceDelayI3D"); 17088 17089 if (extproc == NULL) { 17090 _ASSERT(0); 17091 return 0; 17092 } 17093 17094 wglGenlockSourceDelayI3D = extproc; 17095 17096 return wglGenlockSourceDelayI3D(hDC, uDelay); 17097 } 17098 17099 static BOOL WINAPI InitGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay) 17100 { 17101 void *extproc; 17102 17103 extproc = (void *) glGetProcAddress("wglGetGenlockSourceDelayI3D"); 17104 17105 if (extproc == NULL) { 17106 _ASSERT(0); 17107 return 0; 17108 } 17109 17110 wglGetGenlockSourceDelayI3D = extproc; 17111 17112 return wglGetGenlockSourceDelayI3D(hDC, uDelay); 17113 } 17114 17115 static BOOL WINAPI InitQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay) 17116 { 17117 void *extproc; 17118 17119 extproc = (void *) glGetProcAddress("wglQueryGenlockMaxSourceDelayI3D"); 17120 17121 if (extproc == NULL) { 17122 _ASSERT(0); 17123 return 0; 17124 } 17125 17126 wglQueryGenlockMaxSourceDelayI3D = extproc; 17127 17128 return wglQueryGenlockMaxSourceDelayI3D(hDC, uMaxLineDelay, uMaxPixelDelay); 17129 } 17130 17131 static LPVOID WINAPI InitCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags) 17132 { 17133 void *extproc; 17134 17135 extproc = (void *) glGetProcAddress("wglCreateImageBufferI3D"); 17136 17137 if (extproc == NULL) { 17138 _ASSERT(0); 17139 return 0; 17140 } 17141 17142 wglCreateImageBufferI3D = extproc; 17143 17144 return wglCreateImageBufferI3D(hDC, dwSize, uFlags); 17145 } 17146 17147 static BOOL WINAPI InitDestroyImageBufferI3D (HDC hDC, LPVOID pAddress) 17148 { 17149 void *extproc; 17150 17151 extproc = (void *) glGetProcAddress("wglDestroyImageBufferI3D"); 17152 17153 if (extproc == NULL) { 17154 _ASSERT(0); 17155 return 0; 17156 } 17157 17158 wglDestroyImageBufferI3D = extproc; 17159 17160 return wglDestroyImageBufferI3D(hDC, pAddress); 17161 } 17162 17163 static BOOL WINAPI InitAssociateImageBufferEventsI3D (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count) 17164 { 17165 void *extproc; 17166 17167 extproc = (void *) glGetProcAddress("wglAssociateImageBufferEventsI3D"); 17168 17169 if (extproc == NULL) { 17170 _ASSERT(0); 17171 return 0; 17172 } 17173 17174 wglAssociateImageBufferEventsI3D = extproc; 17175 17176 return wglAssociateImageBufferEventsI3D(hDC, pEvent, pAddress, pSize, count); 17177 } 17178 17179 static BOOL WINAPI InitReleaseImageBufferEventsI3D (HDC hDC, const LPVOID *pAddress, UINT count) 17180 { 17181 void *extproc; 17182 17183 extproc = (void *) glGetProcAddress("wglReleaseImageBufferEventsI3D"); 17184 17185 if (extproc == NULL) { 17186 _ASSERT(0); 17187 return 0; 17188 } 17189 17190 wglReleaseImageBufferEventsI3D = extproc; 17191 17192 return wglReleaseImageBufferEventsI3D(hDC, pAddress, count); 17193 } 17194 17195 static BOOL WINAPI InitEnableFrameLockI3D (void) 17196 { 17197 void *extproc; 17198 17199 extproc = (void *) glGetProcAddress("wglEnableFrameLockI3D"); 17200 17201 if (extproc == NULL) { 17202 _ASSERT(0); 17203 return 0; 17204 } 17205 17206 wglEnableFrameLockI3D = extproc; 17207 17208 return wglEnableFrameLockI3D(); 17209 } 17210 17211 static BOOL WINAPI InitDisableFrameLockI3D (void) 17212 { 17213 void *extproc; 17214 17215 extproc = (void *) glGetProcAddress("wglDisableFrameLockI3D"); 17216 17217 if (extproc == NULL) { 17218 _ASSERT(0); 17219 return 0; 17220 } 17221 17222 wglDisableFrameLockI3D = extproc; 17223 17224 return wglDisableFrameLockI3D(); 17225 } 17226 17227 static BOOL WINAPI InitIsEnabledFrameLockI3D (BOOL *pFlag) 17228 { 17229 void *extproc; 17230 17231 extproc = (void *) glGetProcAddress("wglIsEnabledFrameLockI3D"); 17232 17233 if (extproc == NULL) { 17234 _ASSERT(0); 17235 return 0; 17236 } 17237 17238 wglIsEnabledFrameLockI3D = extproc; 17239 17240 return wglIsEnabledFrameLockI3D(pFlag); 17241 } 17242 17243 static BOOL WINAPI InitQueryFrameLockMasterI3D (BOOL *pFlag) 17244 { 17245 void *extproc; 17246 17247 extproc = (void *) glGetProcAddress("wglQueryFrameLockMasterI3D"); 17248 17249 if (extproc == NULL) { 17250 _ASSERT(0); 17251 return 0; 17252 } 17253 17254 wglQueryFrameLockMasterI3D = extproc; 17255 17256 return wglQueryFrameLockMasterI3D(pFlag); 17257 } 17258 17259 static BOOL WINAPI InitGetFrameUsageI3D (float *pUsage) 17260 { 17261 void *extproc; 17262 17263 extproc = (void *) glGetProcAddress("wglGetFrameUsageI3D"); 17264 17265 if (extproc == NULL) { 17266 _ASSERT(0); 17267 return 0; 17268 } 17269 17270 wglGetFrameUsageI3D = extproc; 17271 17272 return wglGetFrameUsageI3D(pUsage); 17273 } 17274 17275 static BOOL WINAPI InitBeginFrameTrackingI3D (void) 17276 { 17277 void *extproc; 17278 17279 extproc = (void *) glGetProcAddress("wglBeginFrameTrackingI3D"); 17280 17281 if (extproc == NULL) { 17282 _ASSERT(0); 17283 return 0; 17284 } 17285 17286 wglBeginFrameTrackingI3D = extproc; 17287 17288 return wglBeginFrameTrackingI3D(); 17289 } 17290 17291 static BOOL WINAPI InitEndFrameTrackingI3D (void) 17292 { 17293 void *extproc; 17294 17295 extproc = (void *) glGetProcAddress("wglEndFrameTrackingI3D"); 17296 17297 if (extproc == NULL) { 17298 _ASSERT(0); 17299 return 0; 17300 } 17301 17302 wglEndFrameTrackingI3D = extproc; 17303 17304 return wglEndFrameTrackingI3D(); 17305 } 17306 17307 static BOOL WINAPI InitQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage) 17308 { 17309 void *extproc; 17310 17311 extproc = (void *) glGetProcAddress("wglQueryFrameTrackingI3D"); 17312 17313 if (extproc == NULL) { 17314 _ASSERT(0); 17315 return 0; 17316 } 17317 17318 wglQueryFrameTrackingI3D = extproc; 17319 17320 return wglQueryFrameTrackingI3D(pFrameCount, pMissedFrames, pLastMissedUsage); 17321 } 17322 17323 #endif /* _WIN32 */ 17324 17325 /*****************************************************************************/ 17326 17327 t_jit_gl_extprocs _jit_gl_extension_procs = { 17328 InitBlendColor, 17329 InitBlendEquation, 17330 InitDrawRangeElements, 17331 InitColorTable, 17332 InitColorTableParameterfv, 17333 InitColorTableParameteriv, 17334 InitCopyColorTable, 17335 InitGetColorTable, 17336 InitGetColorTableParameterfv, 17337 InitGetColorTableParameteriv, 17338 InitColorSubTable, 17339 InitCopyColorSubTable, 17340 InitConvolutionFilter1D, 17341 InitConvolutionFilter2D, 17342 InitConvolutionParameterf, 17343 InitConvolutionParameterfv, 17344 InitConvolutionParameteri, 17345 InitConvolutionParameteriv, 17346 InitCopyConvolutionFilter1D, 17347 InitCopyConvolutionFilter2D, 17348 InitGetConvolutionFilter, 17349 InitGetConvolutionParameterfv, 17350 InitGetConvolutionParameteriv, 17351 InitGetSeparableFilter, 17352 InitSeparableFilter2D, 17353 InitGetHistogram, 17354 InitGetHistogramParameterfv, 17355 InitGetHistogramParameteriv, 17356 InitGetMinmax, 17357 InitGetMinmaxParameterfv, 17358 InitGetMinmaxParameteriv, 17359 InitHistogram, 17360 InitMinmax, 17361 InitResetHistogram, 17362 InitResetMinmax, 17363 InitTexImage3D, 17364 InitTexSubImage3D, 17365 InitCopyTexSubImage3D, 17366 InitActiveTexture, 17367 InitClientActiveTexture, 17368 InitMultiTexCoord1d, 17369 InitMultiTexCoord1dv, 17370 InitMultiTexCoord1f, 17371 InitMultiTexCoord1fv, 17372 InitMultiTexCoord1i, 17373 InitMultiTexCoord1iv, 17374 InitMultiTexCoord1s, 17375 InitMultiTexCoord1sv, 17376 InitMultiTexCoord2d, 17377 InitMultiTexCoord2dv, 17378 InitMultiTexCoord2f, 17379 InitMultiTexCoord2fv, 17380 InitMultiTexCoord2i, 17381 InitMultiTexCoord2iv, 17382 InitMultiTexCoord2s, 17383 InitMultiTexCoord2sv, 17384 InitMultiTexCoord3d, 17385 InitMultiTexCoord3dv, 17386 InitMultiTexCoord3f, 17387 InitMultiTexCoord3fv, 17388 InitMultiTexCoord3i, 17389 InitMultiTexCoord3iv, 17390 InitMultiTexCoord3s, 17391 InitMultiTexCoord3sv, 17392 InitMultiTexCoord4d, 17393 InitMultiTexCoord4dv, 17394 InitMultiTexCoord4f, 17395 InitMultiTexCoord4fv, 17396 InitMultiTexCoord4i, 17397 InitMultiTexCoord4iv, 17398 InitMultiTexCoord4s, 17399 InitMultiTexCoord4sv, 17400 InitLoadTransposeMatrixf, 17401 InitLoadTransposeMatrixd, 17402 InitMultTransposeMatrixf, 17403 InitMultTransposeMatrixd, 17404 InitSampleCoverage, 17405 InitCompressedTexImage3D, 17406 InitCompressedTexImage2D, 17407 InitCompressedTexImage1D, 17408 InitCompressedTexSubImage3D, 17409 InitCompressedTexSubImage2D, 17410 InitCompressedTexSubImage1D, 17411 InitGetCompressedTexImage, 17412 InitBlendFuncSeparate, 17413 InitFogCoordf, 17414 InitFogCoordfv, 17415 InitFogCoordd, 17416 InitFogCoorddv, 17417 InitFogCoordPointer, 17418 InitMultiDrawArrays, 17419 InitMultiDrawElements, 17420 InitPointParameterf, 17421 InitPointParameterfv, 17422 InitPointParameteri, 17423 InitPointParameteriv, 17424 InitSecondaryColor3b, 17425 InitSecondaryColor3bv, 17426 InitSecondaryColor3d, 17427 InitSecondaryColor3dv, 17428 InitSecondaryColor3f, 17429 InitSecondaryColor3fv, 17430 InitSecondaryColor3i, 17431 InitSecondaryColor3iv, 17432 InitSecondaryColor3s, 17433 InitSecondaryColor3sv, 17434 InitSecondaryColor3ub, 17435 InitSecondaryColor3ubv, 17436 InitSecondaryColor3ui, 17437 InitSecondaryColor3uiv, 17438 InitSecondaryColor3us, 17439 InitSecondaryColor3usv, 17440 InitSecondaryColorPointer, 17441 InitWindowPos2d, 17442 InitWindowPos2dv, 17443 InitWindowPos2f, 17444 InitWindowPos2fv, 17445 InitWindowPos2i, 17446 InitWindowPos2iv, 17447 InitWindowPos2s, 17448 InitWindowPos2sv, 17449 InitWindowPos3d, 17450 InitWindowPos3dv, 17451 InitWindowPos3f, 17452 InitWindowPos3fv, 17453 InitWindowPos3i, 17454 InitWindowPos3iv, 17455 InitWindowPos3s, 17456 InitWindowPos3sv, 17457 InitGenQueries, 17458 InitDeleteQueries, 17459 InitIsQuery, 17460 InitBeginQuery, 17461 InitEndQuery, 17462 InitGetQueryiv, 17463 InitGetQueryObjectiv, 17464 InitGetQueryObjectuiv, 17465 InitBindBuffer, 17466 InitDeleteBuffers, 17467 InitGenBuffers, 17468 InitIsBuffer, 17469 InitBufferData, 17470 InitBufferSubData, 17471 InitGetBufferSubData, 17472 InitMapBuffer, 17473 InitUnmapBuffer, 17474 InitGetBufferParameteriv, 17475 InitGetBufferPointerv, 17476 InitActiveTextureARB, 17477 InitClientActiveTextureARB, 17478 InitMultiTexCoord1dARB, 17479 InitMultiTexCoord1dvARB, 17480 InitMultiTexCoord1fARB, 17481 InitMultiTexCoord1fvARB, 17482 InitMultiTexCoord1iARB, 17483 InitMultiTexCoord1ivARB, 17484 InitMultiTexCoord1sARB, 17485 InitMultiTexCoord1svARB, 17486 InitMultiTexCoord2dARB, 17487 InitMultiTexCoord2dvARB, 17488 InitMultiTexCoord2fARB, 17489 InitMultiTexCoord2fvARB, 17490 InitMultiTexCoord2iARB, 17491 InitMultiTexCoord2ivARB, 17492 InitMultiTexCoord2sARB, 17493 InitMultiTexCoord2svARB, 17494 InitMultiTexCoord3dARB, 17495 InitMultiTexCoord3dvARB, 17496 InitMultiTexCoord3fARB, 17497 InitMultiTexCoord3fvARB, 17498 InitMultiTexCoord3iARB, 17499 InitMultiTexCoord3ivARB, 17500 InitMultiTexCoord3sARB, 17501 InitMultiTexCoord3svARB, 17502 InitMultiTexCoord4dARB, 17503 InitMultiTexCoord4dvARB, 17504 InitMultiTexCoord4fARB, 17505 InitMultiTexCoord4fvARB, 17506 InitMultiTexCoord4iARB, 17507 InitMultiTexCoord4ivARB, 17508 InitMultiTexCoord4sARB, 17509 InitMultiTexCoord4svARB, 17510 InitLoadTransposeMatrixfARB, 17511 InitLoadTransposeMatrixdARB, 17512 InitMultTransposeMatrixfARB, 17513 InitMultTransposeMatrixdARB, 17514 InitSampleCoverageARB, 17515 InitCompressedTexImage3DARB, 17516 InitCompressedTexImage2DARB, 17517 InitCompressedTexImage1DARB, 17518 InitCompressedTexSubImage3DARB, 17519 InitCompressedTexSubImage2DARB, 17520 InitCompressedTexSubImage1DARB, 17521 InitGetCompressedTexImageARB, 17522 InitPointParameterfARB, 17523 InitPointParameterfvARB, 17524 InitWeightbvARB, 17525 InitWeightsvARB, 17526 InitWeightivARB, 17527 InitWeightfvARB, 17528 InitWeightdvARB, 17529 InitWeightubvARB, 17530 InitWeightusvARB, 17531 InitWeightuivARB, 17532 InitWeightPointerARB, 17533 InitVertexBlendARB, 17534 InitCurrentPaletteMatrixARB, 17535 InitMatrixIndexubvARB, 17536 InitMatrixIndexusvARB, 17537 InitMatrixIndexuivARB, 17538 InitMatrixIndexPointerARB, 17539 InitWindowPos2dARB, 17540 InitWindowPos2dvARB, 17541 InitWindowPos2fARB, 17542 InitWindowPos2fvARB, 17543 InitWindowPos2iARB, 17544 InitWindowPos2ivARB, 17545 InitWindowPos2sARB, 17546 InitWindowPos2svARB, 17547 InitWindowPos3dARB, 17548 InitWindowPos3dvARB, 17549 InitWindowPos3fARB, 17550 InitWindowPos3fvARB, 17551 InitWindowPos3iARB, 17552 InitWindowPos3ivARB, 17553 InitWindowPos3sARB, 17554 InitWindowPos3svARB, 17555 InitVertexAttrib1dARB, 17556 InitVertexAttrib1dvARB, 17557 InitVertexAttrib1fARB, 17558 InitVertexAttrib1fvARB, 17559 InitVertexAttrib1sARB, 17560 InitVertexAttrib1svARB, 17561 InitVertexAttrib2dARB, 17562 InitVertexAttrib2dvARB, 17563 InitVertexAttrib2fARB, 17564 InitVertexAttrib2fvARB, 17565 InitVertexAttrib2sARB, 17566 InitVertexAttrib2svARB, 17567 InitVertexAttrib3dARB, 17568 InitVertexAttrib3dvARB, 17569 InitVertexAttrib3fARB, 17570 InitVertexAttrib3fvARB, 17571 InitVertexAttrib3sARB, 17572 InitVertexAttrib3svARB, 17573 InitVertexAttrib4NbvARB, 17574 InitVertexAttrib4NivARB, 17575 InitVertexAttrib4NsvARB, 17576 InitVertexAttrib4NubARB, 17577 InitVertexAttrib4NubvARB, 17578 InitVertexAttrib4NuivARB, 17579 InitVertexAttrib4NusvARB, 17580 InitVertexAttrib4bvARB, 17581 InitVertexAttrib4dARB, 17582 InitVertexAttrib4dvARB, 17583 InitVertexAttrib4fARB, 17584 InitVertexAttrib4fvARB, 17585 InitVertexAttrib4ivARB, 17586 InitVertexAttrib4sARB, 17587 InitVertexAttrib4svARB, 17588 InitVertexAttrib4ubvARB, 17589 InitVertexAttrib4uivARB, 17590 InitVertexAttrib4usvARB, 17591 InitVertexAttribPointerARB, 17592 InitEnableVertexAttribArrayARB, 17593 InitDisableVertexAttribArrayARB, 17594 InitProgramStringARB, 17595 InitBindProgramARB, 17596 InitDeleteProgramsARB, 17597 InitGenProgramsARB, 17598 InitProgramEnvParameter4dARB, 17599 InitProgramEnvParameter4dvARB, 17600 InitProgramEnvParameter4fARB, 17601 InitProgramEnvParameter4fvARB, 17602 InitProgramLocalParameter4dARB, 17603 InitProgramLocalParameter4dvARB, 17604 InitProgramLocalParameter4fARB, 17605 InitProgramLocalParameter4fvARB, 17606 InitGetProgramEnvParameterdvARB, 17607 InitGetProgramEnvParameterfvARB, 17608 InitGetProgramLocalParameterdvARB, 17609 InitGetProgramLocalParameterfvARB, 17610 InitGetProgramivARB, 17611 InitGetProgramStringARB, 17612 InitGetVertexAttribdvARB, 17613 InitGetVertexAttribfvARB, 17614 InitGetVertexAttribivARB, 17615 InitGetVertexAttribPointervARB, 17616 InitIsProgramARB, 17617 InitBindBufferARB, 17618 InitDeleteBuffersARB, 17619 InitGenBuffersARB, 17620 InitIsBufferARB, 17621 InitBufferDataARB, 17622 InitBufferSubDataARB, 17623 InitGetBufferSubDataARB, 17624 InitMapBufferARB, 17625 InitUnmapBufferARB, 17626 InitGetBufferParameterivARB, 17627 InitGetBufferPointervARB, 17628 InitGenQueriesARB, 17629 InitDeleteQueriesARB, 17630 InitIsQueryARB, 17631 InitBeginQueryARB, 17632 InitEndQueryARB, 17633 InitGetQueryivARB, 17634 InitGetQueryObjectivARB, 17635 InitGetQueryObjectuivARB, 17636 InitDeleteObjectARB, 17637 InitGetHandleARB, 17638 InitDetachObjectARB, 17639 InitCreateShaderObjectARB, 17640 InitShaderSourceARB, 17641 InitCompileShaderARB, 17642 InitCreateProgramObjectARB, 17643 InitAttachObjectARB, 17644 InitLinkProgramARB, 17645 InitUseProgramObjectARB, 17646 InitValidateProgramARB, 17647 InitUniform1fARB, 17648 InitUniform2fARB, 17649 InitUniform3fARB, 17650 InitUniform4fARB, 17651 InitUniform1iARB, 17652 InitUniform2iARB, 17653 InitUniform3iARB, 17654 InitUniform4iARB, 17655 InitUniform1fvARB, 17656 InitUniform2fvARB, 17657 InitUniform3fvARB, 17658 InitUniform4fvARB, 17659 InitUniform1ivARB, 17660 InitUniform2ivARB, 17661 InitUniform3ivARB, 17662 InitUniform4ivARB, 17663 InitUniformMatrix2fvARB, 17664 InitUniformMatrix3fvARB, 17665 InitUniformMatrix4fvARB, 17666 InitGetObjectParameterfvARB, 17667 InitGetObjectParameterivARB, 17668 InitGetInfoLogARB, 17669 InitGetAttachedObjectsARB, 17670 InitGetUniformLocationARB, 17671 InitGetActiveUniformARB, 17672 InitGetUniformfvARB, 17673 InitGetUniformivARB, 17674 InitGetShaderSourceARB, 17675 InitBindAttribLocationARB, 17676 InitGetActiveAttribARB, 17677 InitGetAttribLocationARB, 17678 InitBlendColorEXT, 17679 InitPolygonOffsetEXT, 17680 InitTexImage3DEXT, 17681 InitTexSubImage3DEXT, 17682 InitGetTexFilterFuncSGIS, 17683 InitTexFilterFuncSGIS, 17684 InitTexSubImage1DEXT, 17685 InitTexSubImage2DEXT, 17686 InitCopyTexImage1DEXT, 17687 InitCopyTexImage2DEXT, 17688 InitCopyTexSubImage1DEXT, 17689 InitCopyTexSubImage2DEXT, 17690 InitCopyTexSubImage3DEXT, 17691 InitGetHistogramEXT, 17692 InitGetHistogramParameterfvEXT, 17693 InitGetHistogramParameterivEXT, 17694 InitGetMinmaxEXT, 17695 InitGetMinmaxParameterfvEXT, 17696 InitGetMinmaxParameterivEXT, 17697 InitHistogramEXT, 17698 InitMinmaxEXT, 17699 InitResetHistogramEXT, 17700 InitResetMinmaxEXT, 17701 InitConvolutionFilter1DEXT, 17702 InitConvolutionFilter2DEXT, 17703 InitConvolutionParameterfEXT, 17704 InitConvolutionParameterfvEXT, 17705 InitConvolutionParameteriEXT, 17706 InitConvolutionParameterivEXT, 17707 InitCopyConvolutionFilter1DEXT, 17708 InitCopyConvolutionFilter2DEXT, 17709 InitGetConvolutionFilterEXT, 17710 InitGetConvolutionParameterfvEXT, 17711 InitGetConvolutionParameterivEXT, 17712 InitGetSeparableFilterEXT, 17713 InitSeparableFilter2DEXT, 17714 InitColorTableSGI, 17715 InitColorTableParameterfvSGI, 17716 InitColorTableParameterivSGI, 17717 InitCopyColorTableSGI, 17718 InitGetColorTableSGI, 17719 InitGetColorTableParameterfvSGI, 17720 InitGetColorTableParameterivSGI, 17721 InitPixelTexGenSGIX, 17722 InitPixelTexGenParameteriSGIS, 17723 InitPixelTexGenParameterivSGIS, 17724 InitPixelTexGenParameterfSGIS, 17725 InitPixelTexGenParameterfvSGIS, 17726 InitGetPixelTexGenParameterivSGIS, 17727 InitGetPixelTexGenParameterfvSGIS, 17728 InitTexImage4DSGIS, 17729 InitTexSubImage4DSGIS, 17730 InitAreTexturesResidentEXT, 17731 InitBindTextureEXT, 17732 InitDeleteTexturesEXT, 17733 InitGenTexturesEXT, 17734 InitIsTextureEXT, 17735 InitPrioritizeTexturesEXT, 17736 InitDetailTexFuncSGIS, 17737 InitGetDetailTexFuncSGIS, 17738 InitSharpenTexFuncSGIS, 17739 InitGetSharpenTexFuncSGIS, 17740 InitSampleMaskSGIS, 17741 InitSamplePatternSGIS, 17742 InitArrayElementEXT, 17743 InitColorPointerEXT, 17744 InitDrawArraysEXT, 17745 InitEdgeFlagPointerEXT, 17746 InitGetPointervEXT, 17747 InitIndexPointerEXT, 17748 InitNormalPointerEXT, 17749 InitTexCoordPointerEXT, 17750 InitVertexPointerEXT, 17751 InitBlendEquationEXT, 17752 InitSpriteParameterfSGIX, 17753 InitSpriteParameterfvSGIX, 17754 InitSpriteParameteriSGIX, 17755 InitSpriteParameterivSGIX, 17756 InitPointParameterfEXT, 17757 InitPointParameterfvEXT, 17758 InitPointParameterfSGIS, 17759 InitPointParameterfvSGIS, 17760 InitGetInstrumentsSGIX, 17761 InitInstrumentsBufferSGIX, 17762 InitPollInstrumentsSGIX, 17763 InitReadInstrumentsSGIX, 17764 InitStartInstrumentsSGIX, 17765 InitStopInstrumentsSGIX, 17766 InitFrameZoomSGIX, 17767 InitTagSampleBufferSGIX, 17768 InitDeformationMap3dSGIX, 17769 InitDeformationMap3fSGIX, 17770 InitDeformSGIX, 17771 InitLoadIdentityDeformationMapSGIX, 17772 InitReferencePlaneSGIX, 17773 InitFlushRasterSGIX, 17774 InitFogFuncSGIS, 17775 InitGetFogFuncSGIS, 17776 InitImageTransformParameteriHP, 17777 InitImageTransformParameterfHP, 17778 InitImageTransformParameterivHP, 17779 InitImageTransformParameterfvHP, 17780 InitGetImageTransformParameterivHP, 17781 InitGetImageTransformParameterfvHP, 17782 InitColorSubTableEXT, 17783 InitCopyColorSubTableEXT, 17784 InitHintPGI, 17785 InitColorTableEXT, 17786 InitGetColorTableEXT, 17787 InitGetColorTableParameterivEXT, 17788 InitGetColorTableParameterfvEXT, 17789 InitGetListParameterfvSGIX, 17790 InitGetListParameterivSGIX, 17791 InitListParameterfSGIX, 17792 InitListParameterfvSGIX, 17793 InitListParameteriSGIX, 17794 InitListParameterivSGIX, 17795 InitIndexMaterialEXT, 17796 InitIndexFuncEXT, 17797 InitLockArraysEXT, 17798 InitUnlockArraysEXT, 17799 InitCullParameterdvEXT, 17800 InitCullParameterfvEXT, 17801 InitFragmentColorMaterialSGIX, 17802 InitFragmentLightfSGIX, 17803 InitFragmentLightfvSGIX, 17804 InitFragmentLightiSGIX, 17805 InitFragmentLightivSGIX, 17806 InitFragmentLightModelfSGIX, 17807 InitFragmentLightModelfvSGIX, 17808 InitFragmentLightModeliSGIX, 17809 InitFragmentLightModelivSGIX, 17810 InitFragmentMaterialfSGIX, 17811 InitFragmentMaterialfvSGIX, 17812 InitFragmentMaterialiSGIX, 17813 InitFragmentMaterialivSGIX, 17814 InitGetFragmentLightfvSGIX, 17815 InitGetFragmentLightivSGIX, 17816 InitGetFragmentMaterialfvSGIX, 17817 InitGetFragmentMaterialivSGIX, 17818 InitLightEnviSGIX, 17819 InitDrawRangeElementsEXT, 17820 InitApplyTextureEXT, 17821 InitTextureLightEXT, 17822 InitTextureMaterialEXT, 17823 InitAsyncMarkerSGIX, 17824 InitFinishAsyncSGIX, 17825 InitPollAsyncSGIX, 17826 InitGenAsyncMarkersSGIX, 17827 InitDeleteAsyncMarkersSGIX, 17828 InitIsAsyncMarkerSGIX, 17829 InitVertexPointervINTEL, 17830 InitNormalPointervINTEL, 17831 InitColorPointervINTEL, 17832 InitTexCoordPointervINTEL, 17833 InitPixelTransformParameteriEXT, 17834 InitPixelTransformParameterfEXT, 17835 InitPixelTransformParameterivEXT, 17836 InitPixelTransformParameterfvEXT, 17837 InitSecondaryColor3bEXT, 17838 InitSecondaryColor3bvEXT, 17839 InitSecondaryColor3dEXT, 17840 InitSecondaryColor3dvEXT, 17841 InitSecondaryColor3fEXT, 17842 InitSecondaryColor3fvEXT, 17843 InitSecondaryColor3iEXT, 17844 InitSecondaryColor3ivEXT, 17845 InitSecondaryColor3sEXT, 17846 InitSecondaryColor3svEXT, 17847 InitSecondaryColor3ubEXT, 17848 InitSecondaryColor3ubvEXT, 17849 InitSecondaryColor3uiEXT, 17850 InitSecondaryColor3uivEXT, 17851 InitSecondaryColor3usEXT, 17852 InitSecondaryColor3usvEXT, 17853 InitSecondaryColorPointerEXT, 17854 InitTextureNormalEXT, 17855 InitMultiDrawArraysEXT, 17856 InitMultiDrawElementsEXT, 17857 InitFogCoordfEXT, 17858 InitFogCoordfvEXT, 17859 InitFogCoorddEXT, 17860 InitFogCoorddvEXT, 17861 InitFogCoordPointerEXT, 17862 InitTangent3bEXT, 17863 InitTangent3bvEXT, 17864 InitTangent3dEXT, 17865 InitTangent3dvEXT, 17866 InitTangent3fEXT, 17867 InitTangent3fvEXT, 17868 InitTangent3iEXT, 17869 InitTangent3ivEXT, 17870 InitTangent3sEXT, 17871 InitTangent3svEXT, 17872 InitBinormal3bEXT, 17873 InitBinormal3bvEXT, 17874 InitBinormal3dEXT, 17875 InitBinormal3dvEXT, 17876 InitBinormal3fEXT, 17877 InitBinormal3fvEXT, 17878 InitBinormal3iEXT, 17879 InitBinormal3ivEXT, 17880 InitBinormal3sEXT, 17881 InitBinormal3svEXT, 17882 InitTangentPointerEXT, 17883 InitBinormalPointerEXT, 17884 InitFinishTextureSUNX, 17885 InitGlobalAlphaFactorbSUN, 17886 InitGlobalAlphaFactorsSUN, 17887 InitGlobalAlphaFactoriSUN, 17888 InitGlobalAlphaFactorfSUN, 17889 InitGlobalAlphaFactordSUN, 17890 InitGlobalAlphaFactorubSUN, 17891 InitGlobalAlphaFactorusSUN, 17892 InitGlobalAlphaFactoruiSUN, 17893 InitReplacementCodeuiSUN, 17894 InitReplacementCodeusSUN, 17895 InitReplacementCodeubSUN, 17896 InitReplacementCodeuivSUN, 17897 InitReplacementCodeusvSUN, 17898 InitReplacementCodeubvSUN, 17899 InitReplacementCodePointerSUN, 17900 InitColor4ubVertex2fSUN, 17901 InitColor4ubVertex2fvSUN, 17902 InitColor4ubVertex3fSUN, 17903 InitColor4ubVertex3fvSUN, 17904 InitColor3fVertex3fSUN, 17905 InitColor3fVertex3fvSUN, 17906 InitNormal3fVertex3fSUN, 17907 InitNormal3fVertex3fvSUN, 17908 InitColor4fNormal3fVertex3fSUN, 17909 InitColor4fNormal3fVertex3fvSUN, 17910 InitTexCoord2fVertex3fSUN, 17911 InitTexCoord2fVertex3fvSUN, 17912 InitTexCoord4fVertex4fSUN, 17913 InitTexCoord4fVertex4fvSUN, 17914 InitTexCoord2fColor4ubVertex3fSUN, 17915 InitTexCoord2fColor4ubVertex3fvSUN, 17916 InitTexCoord2fColor3fVertex3fSUN, 17917 InitTexCoord2fColor3fVertex3fvSUN, 17918 InitTexCoord2fNormal3fVertex3fSUN, 17919 InitTexCoord2fNormal3fVertex3fvSUN, 17920 InitTexCoord2fColor4fNormal3fVertex3fSUN, 17921 InitTexCoord2fColor4fNormal3fVertex3fvSUN, 17922 InitTexCoord4fColor4fNormal3fVertex4fSUN, 17923 InitTexCoord4fColor4fNormal3fVertex4fvSUN, 17924 InitReplacementCodeuiVertex3fSUN, 17925 InitReplacementCodeuiVertex3fvSUN, 17926 InitReplacementCodeuiColor4ubVertex3fSUN, 17927 InitReplacementCodeuiColor4ubVertex3fvSUN, 17928 InitReplacementCodeuiColor3fVertex3fSUN, 17929 InitReplacementCodeuiColor3fVertex3fvSUN, 17930 InitReplacementCodeuiNormal3fVertex3fSUN, 17931 InitReplacementCodeuiNormal3fVertex3fvSUN, 17932 InitReplacementCodeuiColor4fNormal3fVertex3fSUN, 17933 InitReplacementCodeuiColor4fNormal3fVertex3fvSUN, 17934 InitReplacementCodeuiTexCoord2fVertex3fSUN, 17935 InitReplacementCodeuiTexCoord2fVertex3fvSUN, 17936 InitReplacementCodeuiTexCoord2fNormal3fVertex3fSUN, 17937 InitReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN, 17938 InitReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN, 17939 InitReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN, 17940 InitBlendFuncSeparateEXT, 17941 InitBlendFuncSeparateINGR, 17942 InitVertexWeightfEXT, 17943 InitVertexWeightfvEXT, 17944 InitVertexWeightPointerEXT, 17945 InitFlushVertexArrayRangeNV, 17946 InitVertexArrayRangeNV, 17947 InitCombinerParameterfvNV, 17948 InitCombinerParameterfNV, 17949 InitCombinerParameterivNV, 17950 InitCombinerParameteriNV, 17951 InitCombinerInputNV, 17952 InitCombinerOutputNV, 17953 InitFinalCombinerInputNV, 17954 InitGetCombinerInputParameterfvNV, 17955 InitGetCombinerInputParameterivNV, 17956 InitGetCombinerOutputParameterfvNV, 17957 InitGetCombinerOutputParameterivNV, 17958 InitGetFinalCombinerInputParameterfvNV, 17959 InitGetFinalCombinerInputParameterivNV, 17960 InitResizeBuffersMESA, 17961 InitWindowPos2dMESA, 17962 InitWindowPos2dvMESA, 17963 InitWindowPos2fMESA, 17964 InitWindowPos2fvMESA, 17965 InitWindowPos2iMESA, 17966 InitWindowPos2ivMESA, 17967 InitWindowPos2sMESA, 17968 InitWindowPos2svMESA, 17969 InitWindowPos3dMESA, 17970 InitWindowPos3dvMESA, 17971 InitWindowPos3fMESA, 17972 InitWindowPos3fvMESA, 17973 InitWindowPos3iMESA, 17974 InitWindowPos3ivMESA, 17975 InitWindowPos3sMESA, 17976 InitWindowPos3svMESA, 17977 InitWindowPos4dMESA, 17978 InitWindowPos4dvMESA, 17979 InitWindowPos4fMESA, 17980 InitWindowPos4fvMESA, 17981 InitWindowPos4iMESA, 17982 InitWindowPos4ivMESA, 17983 InitWindowPos4sMESA, 17984 InitWindowPos4svMESA, 17985 InitMultiModeDrawArraysIBM, 17986 InitMultiModeDrawElementsIBM, 17987 InitColorPointerListIBM, 17988 InitSecondaryColorPointerListIBM, 17989 InitEdgeFlagPointerListIBM, 17990 InitFogCoordPointerListIBM, 17991 InitIndexPointerListIBM, 17992 InitNormalPointerListIBM, 17993 InitTexCoordPointerListIBM, 17994 InitVertexPointerListIBM, 17995 InitTbufferMask3DFX, 17996 InitSampleMaskEXT, 17997 InitSamplePatternEXT, 17998 InitTextureColorMaskSGIS, 17999 InitIglooInterfaceSGIX, 18000 InitDeleteFencesNV, 18001 InitGenFencesNV, 18002 InitIsFenceNV, 18003 InitTestFenceNV, 18004 InitGetFenceivNV, 18005 InitFinishFenceNV, 18006 InitSetFenceNV, 18007 InitMapControlPointsNV, 18008 InitMapParameterivNV, 18009 InitMapParameterfvNV, 18010 InitGetMapControlPointsNV, 18011 InitGetMapParameterivNV, 18012 InitGetMapParameterfvNV, 18013 InitGetMapAttribParameterivNV, 18014 InitGetMapAttribParameterfvNV, 18015 InitEvalMapsNV, 18016 InitCombinerStageParameterfvNV, 18017 InitGetCombinerStageParameterfvNV, 18018 InitAreProgramsResidentNV, 18019 InitBindProgramNV, 18020 InitDeleteProgramsNV, 18021 InitExecuteProgramNV, 18022 InitGenProgramsNV, 18023 InitGetProgramParameterdvNV, 18024 InitGetProgramParameterfvNV, 18025 InitGetProgramivNV, 18026 InitGetProgramStringNV, 18027 InitGetTrackMatrixivNV, 18028 InitGetVertexAttribdvNV, 18029 InitGetVertexAttribfvNV, 18030 InitGetVertexAttribivNV, 18031 InitGetVertexAttribPointervNV, 18032 InitIsProgramNV, 18033 InitLoadProgramNV, 18034 InitProgramParameter4dNV, 18035 InitProgramParameter4dvNV, 18036 InitProgramParameter4fNV, 18037 InitProgramParameter4fvNV, 18038 InitProgramParameters4dvNV, 18039 InitProgramParameters4fvNV, 18040 InitRequestResidentProgramsNV, 18041 InitTrackMatrixNV, 18042 InitVertexAttribPointerNV, 18043 InitVertexAttrib1dNV, 18044 InitVertexAttrib1dvNV, 18045 InitVertexAttrib1fNV, 18046 InitVertexAttrib1fvNV, 18047 InitVertexAttrib1sNV, 18048 InitVertexAttrib1svNV, 18049 InitVertexAttrib2dNV, 18050 InitVertexAttrib2dvNV, 18051 InitVertexAttrib2fNV, 18052 InitVertexAttrib2fvNV, 18053 InitVertexAttrib2sNV, 18054 InitVertexAttrib2svNV, 18055 InitVertexAttrib3dNV, 18056 InitVertexAttrib3dvNV, 18057 InitVertexAttrib3fNV, 18058 InitVertexAttrib3fvNV, 18059 InitVertexAttrib3sNV, 18060 InitVertexAttrib3svNV, 18061 InitVertexAttrib4dNV, 18062 InitVertexAttrib4dvNV, 18063 InitVertexAttrib4fNV, 18064 InitVertexAttrib4fvNV, 18065 InitVertexAttrib4sNV, 18066 InitVertexAttrib4svNV, 18067 InitVertexAttrib4ubNV, 18068 InitVertexAttrib4ubvNV, 18069 InitVertexAttribs1dvNV, 18070 InitVertexAttribs1fvNV, 18071 InitVertexAttribs1svNV, 18072 InitVertexAttribs2dvNV, 18073 InitVertexAttribs2fvNV, 18074 InitVertexAttribs2svNV, 18075 InitVertexAttribs3dvNV, 18076 InitVertexAttribs3fvNV, 18077 InitVertexAttribs3svNV, 18078 InitVertexAttribs4dvNV, 18079 InitVertexAttribs4fvNV, 18080 InitVertexAttribs4svNV, 18081 InitVertexAttribs4ubvNV, 18082 InitTexBumpParameterivATI, 18083 InitTexBumpParameterfvATI, 18084 InitGetTexBumpParameterivATI, 18085 InitGetTexBumpParameterfvATI, 18086 InitGenFragmentShadersATI, 18087 InitBindFragmentShaderATI, 18088 InitDeleteFragmentShaderATI, 18089 InitBeginFragmentShaderATI, 18090 InitEndFragmentShaderATI, 18091 InitPassTexCoordATI, 18092 InitSampleMapATI, 18093 InitColorFragmentOp1ATI, 18094 InitColorFragmentOp2ATI, 18095 InitColorFragmentOp3ATI, 18096 InitAlphaFragmentOp1ATI, 18097 InitAlphaFragmentOp2ATI, 18098 InitAlphaFragmentOp3ATI, 18099 InitSetFragmentShaderConstantATI, 18100 InitPNTrianglesiATI, 18101 InitPNTrianglesfATI, 18102 InitNewObjectBufferATI, 18103 InitIsObjectBufferATI, 18104 InitUpdateObjectBufferATI, 18105 InitGetObjectBufferfvATI, 18106 InitGetObjectBufferivATI, 18107 InitFreeObjectBufferATI, 18108 InitArrayObjectATI, 18109 InitGetArrayObjectfvATI, 18110 InitGetArrayObjectivATI, 18111 InitVariantArrayObjectATI, 18112 InitGetVariantArrayObjectfvATI, 18113 InitGetVariantArrayObjectivATI, 18114 InitBeginVertexShaderEXT, 18115 InitEndVertexShaderEXT, 18116 InitBindVertexShaderEXT, 18117 InitGenVertexShadersEXT, 18118 InitDeleteVertexShaderEXT, 18119 InitShaderOp1EXT, 18120 InitShaderOp2EXT, 18121 InitShaderOp3EXT, 18122 InitSwizzleEXT, 18123 InitWriteMaskEXT, 18124 InitInsertComponentEXT, 18125 InitExtractComponentEXT, 18126 InitGenSymbolsEXT, 18127 InitSetInvariantEXT, 18128 InitSetLocalConstantEXT, 18129 InitVariantbvEXT, 18130 InitVariantsvEXT, 18131 InitVariantivEXT, 18132 InitVariantfvEXT, 18133 InitVariantdvEXT, 18134 InitVariantubvEXT, 18135 InitVariantusvEXT, 18136 InitVariantuivEXT, 18137 InitVariantPointerEXT, 18138 InitEnableVariantClientStateEXT, 18139 InitDisableVariantClientStateEXT, 18140 InitBindLightParameterEXT, 18141 InitBindMaterialParameterEXT, 18142 InitBindTexGenParameterEXT, 18143 InitBindTextureUnitParameterEXT, 18144 InitBindParameterEXT, 18145 InitIsVariantEnabledEXT, 18146 InitGetVariantBooleanvEXT, 18147 InitGetVariantIntegervEXT, 18148 InitGetVariantFloatvEXT, 18149 InitGetVariantPointervEXT, 18150 InitGetInvariantBooleanvEXT, 18151 InitGetInvariantIntegervEXT, 18152 InitGetInvariantFloatvEXT, 18153 InitGetLocalConstantBooleanvEXT, 18154 InitGetLocalConstantIntegervEXT, 18155 InitGetLocalConstantFloatvEXT, 18156 InitVertexStream1sATI, 18157 InitVertexStream1svATI, 18158 InitVertexStream1iATI, 18159 InitVertexStream1ivATI, 18160 InitVertexStream1fATI, 18161 InitVertexStream1fvATI, 18162 InitVertexStream1dATI, 18163 InitVertexStream1dvATI, 18164 InitVertexStream2sATI, 18165 InitVertexStream2svATI, 18166 InitVertexStream2iATI, 18167 InitVertexStream2ivATI, 18168 InitVertexStream2fATI, 18169 InitVertexStream2fvATI, 18170 InitVertexStream2dATI, 18171 InitVertexStream2dvATI, 18172 InitVertexStream3sATI, 18173 InitVertexStream3svATI, 18174 InitVertexStream3iATI, 18175 InitVertexStream3ivATI, 18176 InitVertexStream3fATI, 18177 InitVertexStream3fvATI, 18178 InitVertexStream3dATI, 18179 InitVertexStream3dvATI, 18180 InitVertexStream4sATI, 18181 InitVertexStream4svATI, 18182 InitVertexStream4iATI, 18183 InitVertexStream4ivATI, 18184 InitVertexStream4fATI, 18185 InitVertexStream4fvATI, 18186 InitVertexStream4dATI, 18187 InitVertexStream4dvATI, 18188 InitNormalStream3bATI, 18189 InitNormalStream3bvATI, 18190 InitNormalStream3sATI, 18191 InitNormalStream3svATI, 18192 InitNormalStream3iATI, 18193 InitNormalStream3ivATI, 18194 InitNormalStream3fATI, 18195 InitNormalStream3fvATI, 18196 InitNormalStream3dATI, 18197 InitNormalStream3dvATI, 18198 InitClientActiveVertexStreamATI, 18199 InitVertexBlendEnviATI, 18200 InitVertexBlendEnvfATI, 18201 InitElementPointerATI, 18202 InitDrawElementArrayATI, 18203 InitDrawRangeElementArrayATI, 18204 InitDrawMeshArraysSUN, 18205 InitGenOcclusionQueriesNV, 18206 InitDeleteOcclusionQueriesNV, 18207 InitIsOcclusionQueryNV, 18208 InitBeginOcclusionQueryNV, 18209 InitEndOcclusionQueryNV, 18210 InitGetOcclusionQueryivNV, 18211 InitGetOcclusionQueryuivNV, 18212 InitPointParameteriNV, 18213 InitPointParameterivNV, 18214 InitActiveStencilFaceEXT, 18215 InitDrawBuffersATI, 18216 InitProgramNamedParameter4fNV, 18217 InitProgramNamedParameter4dNV, 18218 InitProgramNamedParameter4fvNV, 18219 InitProgramNamedParameter4dvNV, 18220 InitGetProgramNamedParameterfvNV, 18221 InitGetProgramNamedParameterdvNV, 18222 InitVertex2hNV, 18223 InitVertex2hvNV, 18224 InitVertex3hNV, 18225 InitVertex3hvNV, 18226 InitVertex4hNV, 18227 InitVertex4hvNV, 18228 InitNormal3hNV, 18229 InitNormal3hvNV, 18230 InitColor3hNV, 18231 InitColor3hvNV, 18232 InitColor4hNV, 18233 InitColor4hvNV, 18234 InitTexCoord1hNV, 18235 InitTexCoord1hvNV, 18236 InitTexCoord2hNV, 18237 InitTexCoord2hvNV, 18238 InitTexCoord3hNV, 18239 InitTexCoord3hvNV, 18240 InitTexCoord4hNV, 18241 InitTexCoord4hvNV, 18242 InitMultiTexCoord1hNV, 18243 InitMultiTexCoord1hvNV, 18244 InitMultiTexCoord2hNV, 18245 InitMultiTexCoord2hvNV, 18246 InitMultiTexCoord3hNV, 18247 InitMultiTexCoord3hvNV, 18248 InitMultiTexCoord4hNV, 18249 InitMultiTexCoord4hvNV, 18250 InitFogCoordhNV, 18251 InitFogCoordhvNV, 18252 InitSecondaryColor3hNV, 18253 InitSecondaryColor3hvNV, 18254 InitVertexWeighthNV, 18255 InitVertexWeighthvNV, 18256 InitVertexAttrib1hNV, 18257 InitVertexAttrib1hvNV, 18258 InitVertexAttrib2hNV, 18259 InitVertexAttrib2hvNV, 18260 InitVertexAttrib3hNV, 18261 InitVertexAttrib3hvNV, 18262 InitVertexAttrib4hNV, 18263 InitVertexAttrib4hvNV, 18264 InitVertexAttribs1hvNV, 18265 InitVertexAttribs2hvNV, 18266 InitVertexAttribs3hvNV, 18267 InitVertexAttribs4hvNV, 18268 InitPixelDataRangeNV, 18269 InitFlushPixelDataRangeNV, 18270 InitPrimitiveRestartNV, 18271 InitPrimitiveRestartIndexNV, 18272 InitMapObjectBufferATI, 18273 InitUnmapObjectBufferATI, 18274 InitStencilOpSeparateATI, 18275 InitStencilFuncSeparateATI, 18276 InitVertexAttribArrayObjectATI, 18277 InitGetVertexAttribArrayObjectfvATI, 18278 InitGetVertexAttribArrayObjectivATI, 18279 InitDepthBoundsEXT, 18280 InitBlendEquationSeparateEXT, 18281 InitAddSwapHintRectWIN, 18282 InitBindFramebufferEXT, 18283 InitBindRenderbufferEXT, 18284 InitCheckFramebufferStatusEXT, 18285 InitDeleteFramebuffersEXT, 18286 InitDeleteRenderbuffersEXT, 18287 InitFramebufferRenderbufferEXT, 18288 InitFramebufferTexture1DEXT, 18289 InitFramebufferTexture2DEXT, 18290 InitFramebufferTexture3DEXT, 18291 InitGenFramebuffersEXT, 18292 InitGenRenderbuffersEXT, 18293 InitGenerateMipmapEXT, 18294 InitGetFramebufferAttachmentParameterivEXT, 18295 InitGetRenderbufferParameterivEXT, 18296 InitIsFramebufferEXT, 18297 InitIsRenderbufferEXT, 18298 InitRenderbufferStorageEXT, 18299 InitProgramParameteriEXT, 18300 InitFramebufferTextureEXT, 18301 InitFramebufferTextureLayerEXT, 18302 InitFramebufferTextureFaceEXT, 18303 18304 #ifdef MAC_VERSION 18305 InitElementPointerAPPLE, 18306 InitDrawElementArrayAPPLE, 18307 InitDrawRangeElementArrayAPPLE, 18308 InitMultiDrawElementArrayAPPLE, 18309 InitMultiDrawRangeElementArrayAPPLE, 18310 InitGenFencesAPPLE, 18311 InitDeleteFencesAPPLE, 18312 InitSetFenceAPPLE, 18313 InitIsFenceAPPLE, 18314 InitTestFenceAPPLE, 18315 InitFinishFenceAPPLE, 18316 InitTestObjectAPPLE, 18317 InitFinishObjectAPPLE, 18318 InitBindVertexArrayAPPLE, 18319 InitDeleteVertexArraysAPPLE, 18320 InitGenVertexArraysAPPLE, 18321 InitIsVertexArrayAPPLE, 18322 InitVertexArrayRangeAPPLE, 18323 InitFlushVertexArrayRangeAPPLE, 18324 InitVertexArrayParameteriAPPLE, 18325 InitTextureRangeAPPLE, 18326 InitGetTexParameterPointervAPPLE, 18327 InitCreatePBuffer, 18328 InitDescribePBuffer, 18329 InitDestroyPBuffer, 18330 InitGetPBuffer, 18331 InitSetPBuffer, 18332 InitTexImagePBuffer, 18333 InitSurfaceTexture, 18334 #endif 18335 18336 #ifdef _WIN32 18337 InitCreateBufferRegionARB, 18338 InitDeleteBufferRegionARB, 18339 InitSaveBufferRegionARB, 18340 InitRestoreBufferRegionARB, 18341 InitGetExtensionsStringARB, 18342 InitGetPixelFormatAttribivARB, 18343 InitGetPixelFormatAttribfvARB, 18344 InitChoosePixelFormatARB, 18345 InitMakeContextCurrentARB, 18346 InitGetCurrentReadDCARB, 18347 InitCreatePbufferARB, 18348 InitGetPbufferDCARB, 18349 InitReleasePbufferDCARB, 18350 InitDestroyPbufferARB, 18351 InitQueryPbufferARB, 18352 InitBindTexImageARB, 18353 InitReleaseTexImageARB, 18354 InitSetPbufferAttribARB, 18355 InitCreateDisplayColorTableEXT, 18356 InitLoadDisplayColorTableEXT, 18357 InitBindDisplayColorTableEXT, 18358 InitDestroyDisplayColorTableEXT, 18359 InitGetExtensionsStringEXT, 18360 InitMakeContextCurrentEXT, 18361 InitGetCurrentReadDCEXT, 18362 InitCreatePbufferEXT, 18363 InitGetPbufferDCEXT, 18364 InitReleasePbufferDCEXT, 18365 InitDestroyPbufferEXT, 18366 InitQueryPbufferEXT, 18367 InitGetPixelFormatAttribivEXT, 18368 InitGetPixelFormatAttribfvEXT, 18369 InitChoosePixelFormatEXT, 18370 InitSwapIntervalEXT, 18371 InitGetSwapIntervalEXT, 18372 InitAllocateMemoryNV, 18373 InitFreeMemoryNV, 18374 InitGetSyncValuesOML, 18375 InitGetMscRateOML, 18376 InitSwapBuffersMscOML, 18377 InitSwapLayerBuffersMscOML, 18378 InitWaitForMscOML, 18379 InitWaitForSbcOML, 18380 InitGetDigitalVideoParametersI3D, 18381 InitSetDigitalVideoParametersI3D, 18382 InitGetGammaTableParametersI3D, 18383 InitSetGammaTableParametersI3D, 18384 InitGetGammaTableI3D, 18385 InitSetGammaTableI3D, 18386 InitEnableGenlockI3D, 18387 InitDisableGenlockI3D, 18388 InitIsEnabledGenlockI3D, 18389 InitGenlockSourceI3D, 18390 InitGetGenlockSourceI3D, 18391 InitGenlockSourceEdgeI3D, 18392 InitGetGenlockSourceEdgeI3D, 18393 InitGenlockSampleRateI3D, 18394 InitGetGenlockSampleRateI3D, 18395 InitGenlockSourceDelayI3D, 18396 InitGetGenlockSourceDelayI3D, 18397 InitQueryGenlockMaxSourceDelayI3D, 18398 InitCreateImageBufferI3D, 18399 InitDestroyImageBufferI3D, 18400 InitAssociateImageBufferEventsI3D, 18401 InitReleaseImageBufferEventsI3D, 18402 InitEnableFrameLockI3D, 18403 InitDisableFrameLockI3D, 18404 InitIsEnabledFrameLockI3D, 18405 InitQueryFrameLockMasterI3D, 18406 InitGetFrameUsageI3D, 18407 InitBeginFrameTrackingI3D, 18408 InitEndFrameTrackingI3D, 18409 InitQueryFrameTrackingI3D, 18410 #endif /* _WIN32 */ 18411 };
Copyright © 2008, Cycling '74