gglext.cpp 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239
  1. /*
  2. Rozsireni pro open gl
  3. */
  4. #include "3d_all.h"
  5. void glDefaultFunkce(void)
  6. {
  7. }
  8. int extlist_multitexture;
  9. int extlist_blend_color;
  10. int extlist_blend_minmax;
  11. int extlist_fog_coord;
  12. int extlist_secondary_color;
  13. int extlist_fence;
  14. int extlist_register_combiners;
  15. int extlist_text_compresion;
  16. int extlist_text_sharp;
  17. int extlist_text_edge_clamp;
  18. int extlist_text_env_combine;
  19. int extlist_text_env_dot3;
  20. int extlist_text_filter_anisotropic;
  21. int extlist_vertex_array_range;
  22. int extlist_vertex_array;
  23. int extlist_indicie_array;
  24. int extlist_vertex_array_packed;
  25. int extlist_clip_volume_hit;
  26. int extlist_ati_env_bump;
  27. int extlist_ati_env_bump_unit[6];
  28. int extlist_ati_vertex_array_object;
  29. int extlist_ati_element_array;
  30. int extlist_ati_pn_triangles;
  31. int extlist_arb_vertex_buffer;
  32. int extlist_ati_draw_buffers;
  33. /*
  34. void (APIENTRY * glBlendColor) (GLclampf, GLclampf, GLclampf, GLclampf);
  35. void (APIENTRY * glBlendEquation) (GLenum);
  36. void (APIENTRY * glDrawRangeElements) (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
  37. void (APIENTRY * glColorTable) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  38. void (APIENTRY * glColorTableParameterfv) (GLenum, GLenum, const GLfloat *);
  39. void (APIENTRY * glColorTableParameteriv) (GLenum, GLenum, const GLint *);
  40. void (APIENTRY * glCopyColorTable) (GLenum, GLenum, GLint, GLint, GLsizei);
  41. void (APIENTRY * glGetColorTable) (GLenum, GLenum, GLenum, GLvoid *);
  42. void (APIENTRY * glGetColorTableParameterfv) (GLenum, GLenum, GLfloat *);
  43. void (APIENTRY * glGetColorTableParameteriv) (GLenum, GLenum, GLint *);
  44. void (APIENTRY * glColorSubTable) (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  45. void (APIENTRY * glCopyColorSubTable) (GLenum, GLsizei, GLint, GLint, GLsizei);
  46. void (APIENTRY * glConvolutionFilter1D) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  47. void (APIENTRY * glConvolutionFilter2D) (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  48. void (APIENTRY * glConvolutionParameterf) (GLenum, GLenum, GLfloat);
  49. void (APIENTRY * glConvolutionParameterfv) (GLenum, GLenum, const GLfloat *);
  50. void (APIENTRY * glConvolutionParameteri) (GLenum, GLenum, GLint);
  51. void (APIENTRY * glConvolutionParameteriv) (GLenum, GLenum, const GLint *);
  52. void (APIENTRY * glCopyConvolutionFilter1D) (GLenum, GLenum, GLint, GLint, GLsizei);
  53. void (APIENTRY * glCopyConvolutionFilter2D) (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  54. void (APIENTRY * glGetConvolutionFilter) (GLenum, GLenum, GLenum, GLvoid *);
  55. void (APIENTRY * glGetConvolutionParameterfv) (GLenum, GLenum, GLfloat *);
  56. void (APIENTRY * glGetConvolutionParameteriv) (GLenum, GLenum, GLint *);
  57. void (APIENTRY * glGetSeparableFilter) (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  58. void (APIENTRY * glSeparableFilter2D) (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  59. void (APIENTRY * glGetHistogram) (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  60. void (APIENTRY * glGetHistogramParameterfv) (GLenum, GLenum, GLfloat *);
  61. void (APIENTRY * glGetHistogramParameteriv) (GLenum, GLenum, GLint *);
  62. void (APIENTRY * glGetMinmax) (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  63. void (APIENTRY * glGetMinmaxParameterfv) (GLenum, GLenum, GLfloat *);
  64. void (APIENTRY * glGetMinmaxParameteriv) (GLenum, GLenum, GLint *);
  65. void (APIENTRY * glHistogram) (GLenum, GLsizei, GLenum, GLboolean);
  66. void (APIENTRY * glMinmax) (GLenum, GLenum, GLboolean);
  67. void (APIENTRY * glResetHistogram) (GLenum);
  68. void (APIENTRY * glResetMinmax) (GLenum);
  69. void (APIENTRY * glTexImage3D) (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  70. void (APIENTRY * glTexSubImage3D) (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  71. void (APIENTRY * glCopyTexSubImage3D) (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  72. void (APIENTRY * glActiveTextureARB) (GLenum);
  73. void (APIENTRY * glClientActiveTextureARB) (GLenum);
  74. void (APIENTRY * glMultiTexCoord1dARB) (GLenum, GLdouble);
  75. void (APIENTRY * glMultiTexCoord1dvARB) (GLenum, const GLdouble *);
  76. void (APIENTRY * glMultiTexCoord1fARB) (GLenum, GLfloat);
  77. void (APIENTRY * glMultiTexCoord1fvARB) (GLenum, const GLfloat *);
  78. void (APIENTRY * glMultiTexCoord1iARB) (GLenum, GLint);
  79. void (APIENTRY * glMultiTexCoord1ivARB) (GLenum, const GLint *);
  80. void (APIENTRY * glMultiTexCoord1sARB) (GLenum, GLshort);
  81. void (APIENTRY * glMultiTexCoord1svARB) (GLenum, const GLshort *);
  82. void (APIENTRY * glMultiTexCoord2dARB) (GLenum, GLdouble, GLdouble);
  83. void (APIENTRY * glMultiTexCoord2dvARB) (GLenum, const GLdouble *);
  84. void (APIENTRY * glMultiTexCoord2fARB) (GLenum, GLfloat, GLfloat);
  85. void (APIENTRY * glMultiTexCoord2fvARB) (GLenum, const GLfloat *);
  86. void (APIENTRY * glMultiTexCoord2iARB) (GLenum, GLint, GLint);
  87. void (APIENTRY * glMultiTexCoord2ivARB) (GLenum, const GLint *);
  88. void (APIENTRY * glMultiTexCoord2sARB) (GLenum, GLshort, GLshort);
  89. void (APIENTRY * glMultiTexCoord2svARB) (GLenum, const GLshort *);
  90. void (APIENTRY * glMultiTexCoord3dARB) (GLenum, GLdouble, GLdouble, GLdouble);
  91. void (APIENTRY * glMultiTexCoord3dvARB) (GLenum, const GLdouble *);
  92. void (APIENTRY * glMultiTexCoord3fARB) (GLenum, GLfloat, GLfloat, GLfloat);
  93. void (APIENTRY * glMultiTexCoord3fvARB) (GLenum, const GLfloat *);
  94. void (APIENTRY * glMultiTexCoord3iARB) (GLenum, GLint, GLint, GLint);
  95. void (APIENTRY * glMultiTexCoord3ivARB) (GLenum, const GLint *);
  96. void (APIENTRY * glMultiTexCoord3sARB) (GLenum, GLshort, GLshort, GLshort);
  97. void (APIENTRY * glMultiTexCoord3svARB) (GLenum, const GLshort *);
  98. void (APIENTRY * glMultiTexCoord4dARB) (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
  99. void (APIENTRY * glMultiTexCoord4dvARB) (GLenum, const GLdouble *);
  100. void (APIENTRY * glMultiTexCoord4fARB) (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
  101. void (APIENTRY * glMultiTexCoord4fvARB) (GLenum, const GLfloat *);
  102. void (APIENTRY * glMultiTexCoord4iARB) (GLenum, GLint, GLint, GLint, GLint);
  103. void (APIENTRY * glMultiTexCoord4ivARB) (GLenum, const GLint *);
  104. void (APIENTRY * glMultiTexCoord4sARB) (GLenum, GLshort, GLshort, GLshort, GLshort);
  105. void (APIENTRY * glMultiTexCoord4svARB) (GLenum, const GLshort *);
  106. void (APIENTRY * glLoadTransposeMatrixfARB) (const GLfloat *);
  107. void (APIENTRY * glLoadTransposeMatrixdARB) (const GLdouble *);
  108. void (APIENTRY * glMultTransposeMatrixfARB) (const GLfloat *);
  109. void (APIENTRY * glMultTransposeMatrixdARB) (const GLdouble *);
  110. void (APIENTRY * glSampleCoverageARB) (GLclampf, GLboolean);
  111. void (APIENTRY * glSamplePassARB) (GLenum);
  112. void (APIENTRY * glCompressedTexImage3DARB) (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  113. void (APIENTRY * glCompressedTexImage2DARB) (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  114. void (APIENTRY * glCompressedTexImage1DARB) (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
  115. void (APIENTRY * glCompressedTexSubImage3DARB) (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  116. void (APIENTRY * glCompressedTexSubImage2DARB) (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  117. void (APIENTRY * glCompressedTexSubImage1DARB) (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
  118. void (APIENTRY * glGetCompressedTexImageARB) (GLenum, GLint,void *);
  119. void (APIENTRY * glBlendColorEXT) (GLclampf, GLclampf, GLclampf, GLclampf);
  120. void (APIENTRY * glPolygonOffsetEXT) (GLfloat, GLfloat);
  121. void (APIENTRY * glTexImage3DEXT) (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  122. void (APIENTRY * glTexSubImage3DEXT) (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  123. void (APIENTRY * glGetTexFilterFuncSGIS) (GLenum, GLenum, GLfloat *);
  124. void (APIENTRY * glTexFilterFuncSGIS) (GLenum, GLenum, GLsizei, const GLfloat *);
  125. void (APIENTRY * glTexSubImage1DEXT) (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
  126. void (APIENTRY * glTexSubImage2DEXT) (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  127. void (APIENTRY * glCopyTexImage1DEXT) (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
  128. void (APIENTRY * glCopyTexImage2DEXT) (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
  129. void (APIENTRY * glCopyTexSubImage1DEXT) (GLenum, GLint, GLint, GLint, GLint, GLsizei);
  130. void (APIENTRY * glCopyTexSubImage2DEXT) (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  131. void (APIENTRY * glCopyTexSubImage3DEXT) (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  132. void (APIENTRY * glGetHistogramEXT) (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  133. void (APIENTRY * glGetHistogramParameterfvEXT) (GLenum, GLenum, GLfloat *);
  134. void (APIENTRY * glGetHistogramParameterivEXT) (GLenum, GLenum, GLint *);
  135. void (APIENTRY * glGetMinmaxEXT) (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  136. void (APIENTRY * glGetMinmaxParameterfvEXT) (GLenum, GLenum, GLfloat *);
  137. void (APIENTRY * glGetMinmaxParameterivEXT) (GLenum, GLenum, GLint *);
  138. void (APIENTRY * glHistogramEXT) (GLenum, GLsizei, GLenum, GLboolean);
  139. void (APIENTRY * glMinmaxEXT) (GLenum, GLenum, GLboolean);
  140. void (APIENTRY * glResetHistogramEXT) (GLenum);
  141. void (APIENTRY * glResetMinmaxEXT) (GLenum);
  142. void (APIENTRY * glConvolutionFilter1DEXT) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  143. void (APIENTRY * glConvolutionFilter2DEXT) (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  144. void (APIENTRY * glConvolutionParameterfEXT) (GLenum, GLenum, GLfloat);
  145. void (APIENTRY * glConvolutionParameterfvEXT) (GLenum, GLenum, const GLfloat *);
  146. void (APIENTRY * glConvolutionParameteriEXT) (GLenum, GLenum, GLint);
  147. void (APIENTRY * glConvolutionParameterivEXT) (GLenum, GLenum, const GLint *);
  148. void (APIENTRY * glCopyConvolutionFilter1DEXT) (GLenum, GLenum, GLint, GLint, GLsizei);
  149. void (APIENTRY * glCopyConvolutionFilter2DEXT) (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  150. void (APIENTRY * glGetConvolutionFilterEXT) (GLenum, GLenum, GLenum, GLvoid *);
  151. void (APIENTRY * glGetConvolutionParameterfvEXT) (GLenum, GLenum, GLfloat *);
  152. void (APIENTRY * glGetConvolutionParameterivEXT) (GLenum, GLenum, GLint *);
  153. void (APIENTRY * glGetSeparableFilterEXT) (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  154. void (APIENTRY * glSeparableFilter2DEXT) (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  155. void (APIENTRY * glColorTableSGI) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  156. void (APIENTRY * glColorTableParameterfvSGI) (GLenum, GLenum, const GLfloat *);
  157. void (APIENTRY * glColorTableParameterivSGI) (GLenum, GLenum, const GLint *);
  158. void (APIENTRY * glCopyColorTableSGI) (GLenum, GLenum, GLint, GLint, GLsizei);
  159. void (APIENTRY * glGetColorTableSGI) (GLenum, GLenum, GLenum, GLvoid *);
  160. void (APIENTRY * glGetColorTableParameterfvSGI) (GLenum, GLenum, GLfloat *);
  161. void (APIENTRY * glGetColorTableParameterivSGI) (GLenum, GLenum, GLint *);
  162. void (APIENTRY * glPixelTexGenSGIX) (GLenum);
  163. void (APIENTRY * glPixelTexGenParameteriSGIS) (GLenum, GLint);
  164. void (APIENTRY * glPixelTexGenParameterivSGIS) (GLenum, const GLint *);
  165. void (APIENTRY * glPixelTexGenParameterfSGIS) (GLenum, GLfloat);
  166. void (APIENTRY * glPixelTexGenParameterfvSGIS) (GLenum, const GLfloat *);
  167. void (APIENTRY * glGetPixelTexGenParameterivSGIS) (GLenum, GLint *);
  168. void (APIENTRY * glGetPixelTexGenParameterfvSGIS) (GLenum, GLfloat *);
  169. void (APIENTRY * glTexImage4DSGIS) (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  170. void (APIENTRY * glTexSubImage4DSGIS) (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  171. GLboolean (APIENTRY * glAreTexturesResidentEXT) (GLsizei, const GLuint *, GLboolean *);
  172. void (APIENTRY * glBindTextureEXT) (GLenum, GLuint);
  173. void (APIENTRY * glDeleteTexturesEXT) (GLsizei, const GLuint *);
  174. void (APIENTRY * glGenTexturesEXT) (GLsizei, GLuint *);
  175. GLboolean (APIENTRY * glIsTextureEXT) (GLuint);
  176. void (APIENTRY * glPrioritizeTexturesEXT) (GLsizei, const GLuint *, const GLclampf *);
  177. void (APIENTRY * glDetailTexFuncSGIS) (GLenum, GLsizei, const GLfloat *);
  178. void (APIENTRY * glGetDetailTexFuncSGIS) (GLenum, GLfloat *);
  179. void (APIENTRY * glSharpenTexFuncSGIS) (GLenum, GLsizei, const GLfloat *);
  180. void (APIENTRY * glGetSharpenTexFuncSGIS) (GLenum, GLfloat *);
  181. void (APIENTRY * glSampleMaskSGIS) (GLclampf, GLboolean);
  182. void (APIENTRY * glSamplePatternSGIS) (GLenum);
  183. void (APIENTRY * glArrayElementEXT) (GLint);
  184. void (APIENTRY * glColorPointerEXT) (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  185. void (APIENTRY * glDrawArraysEXT) (GLenum, GLint, GLsizei);
  186. void (APIENTRY * glEdgeFlagPointerEXT) (GLsizei, GLsizei, const GLboolean *);
  187. void (APIENTRY * glGetPointervEXT) (GLenum, GLvoid* *);
  188. void (APIENTRY * glIndexPointerEXT) (GLenum, GLsizei, GLsizei, const GLvoid *);
  189. void (APIENTRY * glNormalPointerEXT) (GLenum, GLsizei, GLsizei, const GLvoid *);
  190. void (APIENTRY * glTexCoordPointerEXT) (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  191. void (APIENTRY * glVertexPointerEXT) (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  192. void (APIENTRY * glBlendEquationEXT) (GLenum);
  193. void (APIENTRY * glSpriteParameterfSGIX) (GLenum, GLfloat);
  194. void (APIENTRY * glSpriteParameterfvSGIX) (GLenum, const GLfloat *);
  195. void (APIENTRY * glSpriteParameteriSGIX) (GLenum, GLint);
  196. void (APIENTRY * glSpriteParameterivSGIX) (GLenum, const GLint *);
  197. void (APIENTRY * glPointParameterfEXT) (GLenum, GLfloat);
  198. void (APIENTRY * glPointParameterfvEXT) (GLenum, const GLfloat *);
  199. void (APIENTRY * glPointParameterfSGIS) (GLenum, GLfloat);
  200. void (APIENTRY * glPointParameterfvSGIS) (GLenum, const GLfloat *);
  201. GLint (APIENTRY * glGetInstrumentsSGIX) (void);
  202. void (APIENTRY * glInstrumentsBufferSGIX) (GLsizei, GLint *);
  203. GLint (APIENTRY * glPollInstrumentsSGIX) (GLint *);
  204. void (APIENTRY * glReadInstrumentsSGIX) (GLint);
  205. void (APIENTRY * glStartInstrumentsSGIX) (void);
  206. void (APIENTRY * glStopInstrumentsSGIX) (GLint);
  207. void (APIENTRY * glFrameZoomSGIX) (GLint);
  208. void (APIENTRY * glTagSampleBufferSGIX) (void);
  209. void (APIENTRY * glReferencePlaneSGIX) (const GLdouble *);
  210. void (APIENTRY * glFlushRasterSGIX) (void);
  211. void (APIENTRY * glFogFuncSGIS) (GLsizei, const GLfloat *);
  212. void (APIENTRY * glGetFogFuncSGIS) (const GLfloat *);
  213. void (APIENTRY * glImageTransformParameteriHP) (GLenum, GLenum, GLint);
  214. void (APIENTRY * glImageTransformParameterfHP) (GLenum, GLenum, GLfloat);
  215. void (APIENTRY * glImageTransformParameterivHP) (GLenum, GLenum, const GLint *);
  216. void (APIENTRY * glImageTransformParameterfvHP) (GLenum, GLenum, const GLfloat *);
  217. void (APIENTRY * glGetImageTransformParameterivHP) (GLenum, GLenum, GLint *);
  218. void (APIENTRY * glGetImageTransformParameterfvHP) (GLenum, GLenum, GLfloat *);
  219. void (APIENTRY * glColorSubTableEXT) (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  220. void (APIENTRY * glCopyColorSubTableEXT) (GLenum, GLsizei, GLint, GLint, GLsizei);
  221. void (APIENTRY * glHintPGI) (GLenum, GLint);
  222. void (APIENTRY * glColorTableEXT) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  223. void (APIENTRY * glGetColorTableEXT) (GLenum, GLenum, GLenum, GLvoid *);
  224. void (APIENTRY * glGetColorTableParameterivEXT) (GLenum, GLenum, GLint *);
  225. void (APIENTRY * glGetColorTableParameterfvEXT) (GLenum, GLenum, GLfloat *);
  226. void (APIENTRY * glGetListParameterfvSGIX) (GLuint, GLenum, GLfloat *);
  227. void (APIENTRY * glGetListParameterivSGIX) (GLuint, GLenum, GLint *);
  228. void (APIENTRY * glListParameterfSGIX) (GLuint, GLenum, GLfloat);
  229. void (APIENTRY * glListParameterfvSGIX) (GLuint, GLenum, const GLfloat *);
  230. void (APIENTRY * glListParameteriSGIX) (GLuint, GLenum, GLint);
  231. void (APIENTRY * glListParameterivSGIX) (GLuint, GLenum, const GLint *);
  232. void (APIENTRY * glIndexMaterialEXT) (GLenum, GLenum);
  233. void (APIENTRY * glIndexFuncEXT) (GLenum, GLclampf);
  234. void (APIENTRY * glLockArraysEXT) (GLint, GLsizei);
  235. void (APIENTRY * glUnlockArraysEXT) (void);
  236. void (APIENTRY * glCullParameterdvEXT) (GLenum, GLdouble *);
  237. void (APIENTRY * glCullParameterfvEXT) (GLenum, GLfloat *);
  238. void (APIENTRY * glFragmentColorMaterialSGIX) (GLenum, GLenum);
  239. void (APIENTRY * glFragmentLightfSGIX) (GLenum, GLenum, GLfloat);
  240. void (APIENTRY * glFragmentLightfvSGIX) (GLenum, GLenum, const GLfloat *);
  241. void (APIENTRY * glFragmentLightiSGIX) (GLenum, GLenum, GLint);
  242. void (APIENTRY * glFragmentLightivSGIX) (GLenum, GLenum, const GLint *);
  243. void (APIENTRY * glFragmentLightModelfSGIX) (GLenum, GLfloat);
  244. void (APIENTRY * glFragmentLightModelfvSGIX) (GLenum, const GLfloat *);
  245. void (APIENTRY * glFragmentLightModeliSGIX) (GLenum, GLint);
  246. void (APIENTRY * glFragmentLightModelivSGIX) (GLenum, const GLint *);
  247. void (APIENTRY * glFragmentMaterialfSGIX) (GLenum, GLenum, GLfloat);
  248. void (APIENTRY * glFragmentMaterialfvSGIX) (GLenum, GLenum, const GLfloat *);
  249. void (APIENTRY * glFragmentMaterialiSGIX) (GLenum, GLenum, GLint);
  250. void (APIENTRY * glFragmentMaterialivSGIX) (GLenum, GLenum, const GLint *);
  251. void (APIENTRY * glGetFragmentLightfvSGIX) (GLenum, GLenum, GLfloat *);
  252. void (APIENTRY * glGetFragmentLightivSGIX) (GLenum, GLenum, GLint *);
  253. void (APIENTRY * glGetFragmentMaterialfvSGIX) (GLenum, GLenum, GLfloat *);
  254. void (APIENTRY * glGetFragmentMaterialivSGIX) (GLenum, GLenum, GLint *);
  255. void (APIENTRY * glLightEnviSGIX) (GLenum, GLint);
  256. void (APIENTRY * glDrawRangeElementsEXT) (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
  257. void (APIENTRY * glApplyTextureEXT) (GLenum);
  258. void (APIENTRY * glTextureLightEXT) (GLenum);
  259. void (APIENTRY * glTextureMaterialEXT) (GLenum, GLenum);
  260. void (APIENTRY * glVertexPointervINTEL) (GLint, GLenum, const GLvoid* *);
  261. void (APIENTRY * glNormalPointervINTEL) (GLenum, const GLvoid* *);
  262. void (APIENTRY * glColorPointervINTEL) (GLint, GLenum, const GLvoid* *);
  263. void (APIENTRY * glTexCoordPointervINTEL) (GLint, GLenum, const GLvoid* *);
  264. void (APIENTRY * glPixelTransformParameteriEXT) (GLenum, GLenum, GLint);
  265. void (APIENTRY * glPixelTransformParameterfEXT) (GLenum, GLenum, GLfloat);
  266. void (APIENTRY * glPixelTransformParameterivEXT) (GLenum, GLenum, const GLint *);
  267. void (APIENTRY * glPixelTransformParameterfvEXT) (GLenum, GLenum, const GLfloat *);
  268. void (APIENTRY * glSecondaryColor3bEXT) (GLbyte, GLbyte, GLbyte);
  269. void (APIENTRY * glSecondaryColor3bvEXT) (const GLbyte *);
  270. void (APIENTRY * glSecondaryColor3dEXT) (GLdouble, GLdouble, GLdouble);
  271. void (APIENTRY * glSecondaryColor3dvEXT) (const GLdouble *);
  272. void (APIENTRY * glSecondaryColor3fEXT) (GLfloat, GLfloat, GLfloat);
  273. void (APIENTRY * glSecondaryColor3fvEXT) (const GLfloat *);
  274. void (APIENTRY * glSecondaryColor3iEXT) (GLint, GLint, GLint);
  275. void (APIENTRY * glSecondaryColor3ivEXT) (const GLint *);
  276. void (APIENTRY * glSecondaryColor3sEXT) (GLshort, GLshort, GLshort);
  277. void (APIENTRY * glSecondaryColor3svEXT) (const GLshort *);
  278. void (APIENTRY * glSecondaryColor3ubEXT) (GLubyte, GLubyte, GLubyte);
  279. void (APIENTRY * glSecondaryColor3ubvEXT) (const GLubyte *);
  280. void (APIENTRY * glSecondaryColor3uiEXT) (GLuint, GLuint, GLuint);
  281. void (APIENTRY * glSecondaryColor3uivEXT) (const GLuint *);
  282. void (APIENTRY * glSecondaryColor3usEXT) (GLushort, GLushort, GLushort);
  283. void (APIENTRY * glSecondaryColor3usvEXT) (const GLushort *);
  284. void (APIENTRY * glSecondaryColorPointerEXT) (GLint, GLenum, GLsizei, GLvoid *);
  285. void (APIENTRY * glTextureNormalEXT) (GLenum);
  286. void (APIENTRY * glMultiDrawArraysEXT) (GLenum, GLint *, GLsizei *, GLsizei);
  287. void (APIENTRY * glMultiDrawElementsEXT) (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
  288. void (APIENTRY * glFogCoordfEXT) (GLfloat);
  289. void (APIENTRY * glFogCoordfvEXT) (const GLfloat *);
  290. void (APIENTRY * glFogCoorddEXT) (GLdouble);
  291. void (APIENTRY * glFogCoorddvEXT) (const GLdouble *);
  292. void (APIENTRY * glFogCoordPointerEXT) (GLenum, GLsizei, const GLvoid *);
  293. void (APIENTRY * glTangent3bEXT) (GLbyte, GLbyte, GLbyte);
  294. void (APIENTRY * glTangent3bvEXT) (const GLbyte *);
  295. void (APIENTRY * glTangent3dEXT) (GLdouble, GLdouble, GLdouble);
  296. void (APIENTRY * glTangent3dvEXT) (const GLdouble *);
  297. void (APIENTRY * glTangent3fEXT) (GLfloat, GLfloat, GLfloat);
  298. void (APIENTRY * glTangent3fvEXT) (const GLfloat *);
  299. void (APIENTRY * glTangent3iEXT) (GLint, GLint, GLint);
  300. void (APIENTRY * glTangent3ivEXT) (const GLint *);
  301. void (APIENTRY * glTangent3sEXT) (GLshort, GLshort, GLshort);
  302. void (APIENTRY * glTangent3svEXT) (const GLshort *);
  303. void (APIENTRY * glBinormal3bEXT) (GLbyte, GLbyte, GLbyte);
  304. void (APIENTRY * glBinormal3bvEXT) (const GLbyte *);
  305. void (APIENTRY * glBinormal3dEXT) (GLdouble, GLdouble, GLdouble);
  306. void (APIENTRY * glBinormal3dvEXT) (const GLdouble *);
  307. void (APIENTRY * glBinormal3fEXT) (GLfloat, GLfloat, GLfloat);
  308. void (APIENTRY * glBinormal3fvEXT) (const GLfloat *);
  309. void (APIENTRY * glBinormal3iEXT) (GLint, GLint, GLint);
  310. void (APIENTRY * glBinormal3ivEXT) (const GLint *);
  311. void (APIENTRY * glBinormal3sEXT) (GLshort, GLshort, GLshort);
  312. void (APIENTRY * glBinormal3svEXT) (const GLshort *);
  313. void (APIENTRY * glTangentPointerEXT) (GLenum, GLsizei, const GLvoid *);
  314. void (APIENTRY * glBinormalPointerEXT) (GLenum, GLsizei, const GLvoid *);
  315. void (APIENTRY * glFinishTextureSUNX) (void);
  316. void (APIENTRY * glGlobalAlphaFactorbSUN) (GLbyte);
  317. void (APIENTRY * glGlobalAlphaFactorsSUN) (GLshort);
  318. void (APIENTRY * glGlobalAlphaFactoriSUN) (GLint);
  319. void (APIENTRY * glGlobalAlphaFactorfSUN) (GLfloat);
  320. void (APIENTRY * glGlobalAlphaFactordSUN) (GLdouble);
  321. void (APIENTRY * glGlobalAlphaFactorubSUN) (GLubyte);
  322. void (APIENTRY * glGlobalAlphaFactorusSUN) (GLushort);
  323. void (APIENTRY * glGlobalAlphaFactoruiSUN) (GLuint);
  324. void (APIENTRY * glReplacementCodeuiSUN) (GLuint);
  325. void (APIENTRY * glReplacementCodeusSUN) (GLushort);
  326. void (APIENTRY * glReplacementCodeubSUN) (GLubyte);
  327. void (APIENTRY * glReplacementCodeuivSUN) (const GLuint *);
  328. void (APIENTRY * glReplacementCodeusvSUN) (const GLushort *);
  329. void (APIENTRY * glReplacementCodeubvSUN) (const GLubyte *);
  330. void (APIENTRY * glReplacementCodePointerSUN) (GLenum, GLsizei, const GLvoid* *);
  331. void (APIENTRY * glColor4ubVertex2fSUN) (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat);
  332. void (APIENTRY * glColor4ubVertex2fvSUN) (const GLubyte *, const GLfloat *);
  333. void (APIENTRY * glColor4ubVertex3fSUN) (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  334. void (APIENTRY * glColor4ubVertex3fvSUN) (const GLubyte *, const GLfloat *);
  335. void (APIENTRY * glColor3fVertex3fSUN) (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  336. void (APIENTRY * glColor3fVertex3fvSUN) (const GLfloat *, const GLfloat *);
  337. void (APIENTRY * glNormal3fVertex3fSUN) (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  338. void (APIENTRY * glNormal3fVertex3fvSUN) (const GLfloat *, const GLfloat *);
  339. void (APIENTRY * glColor4fNormal3fVertex3fSUN) (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  340. void (APIENTRY * glColor4fNormal3fVertex3fvSUN) (const GLfloat *, const GLfloat *, const GLfloat *);
  341. void (APIENTRY * glTexCoord2fVertex3fSUN) (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  342. void (APIENTRY * glTexCoord2fVertex3fvSUN) (const GLfloat *, const GLfloat *);
  343. void (APIENTRY * glTexCoord4fVertex4fSUN) (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  344. void (APIENTRY * glTexCoord4fVertex4fvSUN) (const GLfloat *, const GLfloat *);
  345. void (APIENTRY * glTexCoord2fColor4ubVertex3fSUN) (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  346. void (APIENTRY * glTexCoord2fColor4ubVertex3fvSUN) (const GLfloat *, const GLubyte *, const GLfloat *);
  347. void (APIENTRY * glTexCoord2fColor3fVertex3fSUN) (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  348. void (APIENTRY * glTexCoord2fColor3fVertex3fvSUN) (const GLfloat *, const GLfloat *, const GLfloat *);
  349. void (APIENTRY * glTexCoord2fNormal3fVertex3fSUN) (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  350. void (APIENTRY * glTexCoord2fNormal3fVertex3fvSUN) (const GLfloat *, const GLfloat *, const GLfloat *);
  351. void (APIENTRY * glTexCoord2fColor4fNormal3fVertex3fSUN) (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  352. void (APIENTRY * glTexCoord2fColor4fNormal3fVertex3fvSUN) (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  353. void (APIENTRY * glTexCoord4fColor4fNormal3fVertex4fSUN) (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  354. void (APIENTRY * glTexCoord4fColor4fNormal3fVertex4fvSUN) (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  355. void (APIENTRY * glReplacementCodeuiVertex3fSUN) (GLenum, GLfloat, GLfloat, GLfloat);
  356. void (APIENTRY * glReplacementCodeuiVertex3fvSUN) (const GLenum *, const GLfloat *);
  357. void (APIENTRY * glReplacementCodeuiColor4ubVertex3fSUN) (GLenum, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  358. void (APIENTRY * glReplacementCodeuiColor4ubVertex3fvSUN) (const GLenum *, const GLubyte *, const GLfloat *);
  359. void (APIENTRY * glReplacementCodeuiColor3fVertex3fSUN) (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  360. void (APIENTRY * glReplacementCodeuiColor3fVertex3fvSUN) (const GLenum *, const GLfloat *, const GLfloat *);
  361. void (APIENTRY * glReplacementCodeuiNormal3fVertex3fSUN) (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  362. void (APIENTRY * glReplacementCodeuiNormal3fVertex3fvSUN) (const GLenum *, const GLfloat *, const GLfloat *);
  363. void (APIENTRY * glReplacementCodeuiColor4fNormal3fVertex3fSUN) (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  364. void (APIENTRY * glReplacementCodeuiColor4fNormal3fVertex3fvSUN) (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *);
  365. void (APIENTRY * glReplacementCodeuiTexCoord2fVertex3fSUN) (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  366. void (APIENTRY * glReplacementCodeuiTexCoord2fVertex3fvSUN) (const GLenum *, const GLfloat *, const GLfloat *);
  367. void (APIENTRY * glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN) (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  368. void (APIENTRY * glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN) (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *);
  369. void (APIENTRY * glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN) (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  370. void (APIENTRY * glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN) (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  371. void (APIENTRY * glBlendFuncSeparateEXT) (GLenum, GLenum, GLenum, GLenum);
  372. void (APIENTRY * glVertexWeightfEXT) (GLfloat);
  373. void (APIENTRY * glVertexWeightfvEXT) (const GLfloat *);
  374. void (APIENTRY * glVertexWeightPointerEXT) (GLsizei, GLenum, GLsizei, const GLvoid *);
  375. void (APIENTRY * glFlushVertexArrayRangeNV) (void);
  376. void (APIENTRY * glVertexArrayRangeNV) (GLsizei, const GLvoid *);
  377. void (APIENTRY * glCombinerParameterfvNV) (GLenum, const GLfloat *);
  378. void (APIENTRY * glCombinerParameterfNV) (GLenum, GLfloat);
  379. void (APIENTRY * glCombinerParameterivNV) (GLenum, const GLint *);
  380. void (APIENTRY * glCombinerParameteriNV) (GLenum, GLint);
  381. void (APIENTRY * glCombinerInputNV) (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
  382. void (APIENTRY * glCombinerOutputNV) (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
  383. void (APIENTRY * glFinalCombinerInputNV) (GLenum, GLenum, GLenum, GLenum);
  384. void (APIENTRY * glGetCombinerInputParameterfvNV) (GLenum, GLenum, GLenum, GLenum, GLfloat *);
  385. void (APIENTRY * glGetCombinerInputParameterivNV) (GLenum, GLenum, GLenum, GLenum, GLint *);
  386. void (APIENTRY * glGetCombinerOutputParameterfvNV) (GLenum, GLenum, GLenum, GLfloat *);
  387. void (APIENTRY * glGetCombinerOutputParameterivNV) (GLenum, GLenum, GLenum, GLint *);
  388. void (APIENTRY * glGetFinalCombinerInputParameterfvNV) (GLenum, GLenum, GLfloat *);
  389. void (APIENTRY * glGetFinalCombinerInputParameterivNV) (GLenum, GLenum, GLint *);
  390. void (APIENTRY * glResizeBuffersMESA) (void);
  391. void (APIENTRY * glWindowPos2dMESA) (GLdouble, GLdouble);
  392. void (APIENTRY * glWindowPos2dvMESA) (const GLdouble *);
  393. void (APIENTRY * glWindowPos2fMESA) (GLfloat, GLfloat);
  394. void (APIENTRY * glWindowPos2fvMESA) (const GLfloat *);
  395. void (APIENTRY * glWindowPos2iMESA) (GLint, GLint);
  396. void (APIENTRY * glWindowPos2ivMESA) (const GLint *);
  397. void (APIENTRY * glWindowPos2sMESA) (GLshort, GLshort);
  398. void (APIENTRY * glWindowPos2svMESA) (const GLshort *);
  399. void (APIENTRY * glWindowPos3dMESA) (GLdouble, GLdouble, GLdouble);
  400. void (APIENTRY * glWindowPos3dvMESA) (const GLdouble *);
  401. void (APIENTRY * glWindowPos3fMESA) (GLfloat, GLfloat, GLfloat);
  402. void (APIENTRY * glWindowPos3fvMESA) (const GLfloat *);
  403. void (APIENTRY * glWindowPos3iMESA) (GLint, GLint, GLint);
  404. void (APIENTRY * glWindowPos3ivMESA) (const GLint *);
  405. void (APIENTRY * glWindowPos3sMESA) (GLshort, GLshort, GLshort);
  406. void (APIENTRY * glWindowPos3svMESA) (const GLshort *);
  407. void (APIENTRY * glWindowPos4dMESA) (GLdouble, GLdouble, GLdouble, GLdouble);
  408. void (APIENTRY * glWindowPos4dvMESA) (const GLdouble *);
  409. void (APIENTRY * glWindowPos4fMESA) (GLfloat, GLfloat, GLfloat, GLfloat);
  410. void (APIENTRY * glWindowPos4fvMESA) (const GLfloat *);
  411. void (APIENTRY * glWindowPos4iMESA) (GLint, GLint, GLint, GLint);
  412. void (APIENTRY * glWindowPos4ivMESA) (const GLint *);
  413. void (APIENTRY * glWindowPos4sMESA) (GLshort, GLshort, GLshort, GLshort);
  414. void (APIENTRY * glWindowPos4svMESA) (const GLshort *);
  415. void (APIENTRY * glMultiModeDrawArraysIBM) (GLenum, const GLint *, const GLsizei *, GLsizei, GLint);
  416. void (APIENTRY * glMultiModeDrawElementsIBM) (const GLenum *, const GLsizei *, GLenum, const GLvoid* *, GLsizei, GLint);
  417. void (APIENTRY * glColorPointerListIBM) (GLint, GLenum, GLint, const GLvoid* *, GLint);
  418. void (APIENTRY * glSecondaryColorPointerListIBM) (GLint, GLenum, GLint, const GLvoid* *, GLint);
  419. void (APIENTRY * glEdgeFlagPointerListIBM) (GLint, const GLboolean* *, GLint);
  420. void (APIENTRY * glFogCoordPointerListIBM) (GLenum, GLint, const GLvoid* *, GLint);
  421. void (APIENTRY * glIndexPointerListIBM) (GLenum, GLint, const GLvoid* *, GLint);
  422. void (APIENTRY * glNormalPointerListIBM) (GLenum, GLint, const GLvoid* *, GLint);
  423. void (APIENTRY * glTexCoordPointerListIBM) (GLint, GLenum, GLint, const GLvoid* *, GLint);
  424. void (APIENTRY * glVertexPointerListIBM) (GLint, GLenum, GLint, const GLvoid* *, GLint);
  425. void (APIENTRY * glTbufferMask3DFX) (GLuint);
  426. void (APIENTRY * glSampleMaskEXT) (GLclampf, GLboolean);
  427. void (APIENTRY * glSamplePatternEXT) (GLenum);
  428. void (APIENTRY * glTextureColorMaskSGIS) (GLboolean, GLboolean, GLboolean, GLboolean);
  429. char (APIENTRY * wglGetExtensionsStringARB) (HDC);
  430. */
  431. /* NV_spec */
  432. /*
  433. void (APIENTRY * glGenFencesNV) (GLsizei n, GLuint *fences);
  434. void (APIENTRY * glDeleteFencesNV) (GLsizei n, const GLuint *fences);
  435. void (APIENTRY * glSetFenceNV) (GLuint fence, GLenum condition);
  436. GLboolean (APIENTRY * glTestFenceNV) (GLuint fence);
  437. void (APIENTRY * glFinishFenceNV) (GLuint fence);
  438. void (APIENTRY * glIsFenceNV) (GLuint fence);
  439. void (APIENTRY * glGetFenceivNV) (GLuint fence, GLenum pname, GLint *params);
  440. */
  441. /* NV_register_combiners2 */
  442. //void * (APIENTRY * wglAllocateMemoryNV) (int size, float readfreq, float writefreq, float priority);
  443. //void (APIENTRY * wglFreeMemoryNV) (void *pointer);
  444. /* Ati bump-mapping */
  445. /*
  446. void (APIENTRY *glTexBumpParameterivATI)(GLenum pname, GLint *param);
  447. void (APIENTRY *glTexBumpParameterfvATI)(GLenum pname, GLfloat *param);
  448. void (APIENTRY *glGetTexBumpParameterivATI)(GLenum pname, GLint *param);
  449. void (APIENTRY *glGetTexBumpParameterfvATI)(GLenum pname, GLfloat *param);
  450. */
  451. /*
  452. PFNGLNEWOBJECTBUFFERATIPROC glNewObjectBufferATI = NULL;
  453. PFNGLISOBJECTBUFFERATIPROC glIsObjectBufferATI = NULL;
  454. PFNGLUPDATEOBJECTBUFFERATIPROC glUpdateObjectBufferATI = NULL;
  455. PFNGLGETOBJECTBUFFERFVATIPROC glGetObjectBufferfvATI = NULL;
  456. PFNGLGETOBJECTBUFFERIVATIPROC glGetObjectBufferivATI = NULL;
  457. PFNGLFREEOBJECTBUFFERATIPROC glFreeObjectBufferATI = NULL;
  458. PFNGLARRAYOBJECTATIPROC glArrayObjectATI = NULL;
  459. PFNGLGETARRAYOBJECTFVATIPROC glGetArrayObjectfvATI = NULL;
  460. PFNGLGETARRAYOBJECTIVATIPROC glGetArrayObjectivATI = NULL;
  461. PFNGLVARIANTARRAYOBJECTATIPROC glVariantArrayObjectATI = NULL;
  462. PFNGLGETVARIANTARRAYOBJECTFVATIPROC glGetVariantArrayObjectfvATI = NULL;
  463. PFNGLGETVARIANTARRAYOBJECTIVATIPROC glGetVariantArrayObjectivATI = NULL;
  464. PFNGLELEMENTPOINTERATIPROC glElementPointerATI = NULL;
  465. PFNGLDRAWELEMENTARRAYATIPROC glDrawElementArrayATI = NULL;
  466. PFNGLDRAWRANGEELEMENTARRAYATIPROC glDrawRangeElementArrayATI = NULL;
  467. */
  468. /* ARB Vertex buffer
  469. */
  470. /*
  471. PFNGLBINDBUFFERARBPROC glBindBufferARB = NULL;
  472. PFNGLDELETEBUFFERSARBPROC glDeleteBuffersARB = NULL;
  473. PFNGLGENBUFFERSARBPROC glGenBuffersARB = NULL;
  474. PFNGLISBUFFERARBPROC glIsBufferARB = NULL;
  475. PFNGLBUFFERDATAARBPROC glBufferDataARB = NULL;
  476. PFNGLBUFFERSUBDATAARBPROC glBufferSubDataARB = NULL;
  477. PFNGLGETBUFFERSUBDATAARBPROC glGetBufferSubDataARB = NULL;
  478. PFNGLMAPBUFFERARBPROC glMapBufferARB = NULL;
  479. PFNGLUNMAPBUFFERARBPROC glUnmapBufferARB = NULL;
  480. PFNGLGETBUFFERPARAMETERIVARBPROC glGetBufferParameterivARB = NULL;
  481. PFNGLGETBUFFERPOINTERVARBPROC glGetBufferPointervARB = NULL;
  482. */
  483. /* ATI_pn_triangles */
  484. /*
  485. PFNGLPNTRIANGLESIATIPROC glPNTrianglesiATI = NULL;
  486. PFNGLPNTRIANGLESFATIPROC glPNTrianglesfATI = NULL;
  487. */
  488. /*
  489. int gl_load_extension(HW_KONFIG *p_hwconf)
  490. {
  491. const byte *p_vend = glGetString(GL_VENDOR);
  492. const byte *p_rend = glGetString(GL_RENDERER);
  493. const byte *p_ver = glGetString(GL_VERSION);
  494. const byte *p_et = glGetString(GL_EXTENSIONS);
  495. const byte *p_start;
  496. byte *p_ext;
  497. byte *p_pom;
  498. int i,j;
  499. p_ext = mmalloc(sizeof(byte)*(strlen(p_et)+1));
  500. strcpy(p_ext,p_et);
  501. memset(&extlist,0,sizeof(extlist));
  502. extlist.p_vend = p_vend; // firma (ATI/NVIDIA/MATROX/....)
  503. extlist.p_rend = p_rend; // karta (TNT/GEFORCE/RADEON....)
  504. extlist.p_ver = p_ver; // verze OpenGl
  505. kprintf(1,"Vendor: %s",p_vend);
  506. kprintf(1,"Renderer: %s",p_rend);
  507. kprintf(1,"Verze: %s",p_ver);
  508. kprintf(1,"OpenGL Extensions:");
  509. j = strlen(p_ext);
  510. p_hwconf->extnum = 0;
  511. for(i = 0; i < j; i++) {
  512. if(p_ext[i] == ' ')
  513. p_hwconf->extnum++;
  514. }
  515. p_hwconf->p_ext = mmalloc(sizeof(byte *)*p_hwconf->extnum);
  516. i = 0;
  517. p_start = p_ext;
  518. while((p_pom = strchr(p_start,' '))) {
  519. *p_pom = 0;
  520. assert(i < p_hwconf->extnum);
  521. p_hwconf->p_ext[i] = mmalloc(sizeof(byte)*(strlen(p_start)+5));
  522. strcpy(p_hwconf->p_ext[i],p_start);
  523. i++;
  524. kprintf(1,"%s",p_start);
  525. p_start = p_pom+1;
  526. }
  527. free(p_ext);
  528. return(i);
  529. }
  530. int gl_free_extension(HW_KONFIG *p_hwconf)
  531. {
  532. int i;
  533. for(i = 0; i < p_hwconf->extnum; i++)
  534. null_free(p_hwconf->p_ext+i);
  535. null_free((void **)&p_hwconf->p_ext);
  536. return(i);
  537. }
  538. int gl_is_extension(HW_KONFIG *p_conf, byte *p_text)
  539. {
  540. int i;
  541. for(i = 0; i < p_conf->extnum; i++) {
  542. if(!strcmp(p_text,p_conf->p_ext[i])) {
  543. kprintf(TRUE,"Using extension: %s",p_text);
  544. return(TRUE);
  545. }
  546. }
  547. return(FALSE);
  548. }
  549. int gl_init_multitexture(HW_KONFIG *p_conf)
  550. {
  551. int level = 0;
  552. if(gl_is_extension(p_conf, "GL_ARB_multitexture")) {
  553. glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &glstav_multitext_units);
  554. kprintf(1,"ARB Texture units %d",glstav_multitext_units);
  555. if(!(glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)wglGetProcAddress("glActiveTextureARB")))
  556. return(FALSE);
  557. if(!(glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)wglGetProcAddress("glClientActiveTextureARB")))
  558. return(FALSE);
  559. if(!(glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)wglGetProcAddress("glMultiTexCoord1dARB")))
  560. return(level);
  561. if(!(glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)wglGetProcAddress("glMultiTexCoord1dvARB")))
  562. return(level);
  563. if(!(glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)wglGetProcAddress("glMultiTexCoord1fARB")))
  564. return(level);
  565. if(!(glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)wglGetProcAddress("glMultiTexCoord1fvARB")))
  566. return(level);
  567. if(!(glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)wglGetProcAddress("glMultiTexCoord1iARB")))
  568. return(level);
  569. if(!(glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)wglGetProcAddress("glMultiTexCoord1ivARB")))
  570. return(level);
  571. if(!(glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)wglGetProcAddress("glMultiTexCoord1sARB")))
  572. return(level);
  573. if(!(glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)wglGetProcAddress("glMultiTexCoord1svARB")))
  574. return(level);
  575. level = 1;
  576. if(!(glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)wglGetProcAddress("glMultiTexCoord2dARB")))
  577. return(level);
  578. if(!(glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)wglGetProcAddress("glMultiTexCoord2dvARB")))
  579. return(level);
  580. if(!(glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)wglGetProcAddress("glMultiTexCoord2fARB")))
  581. return(level);
  582. if(!(glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)wglGetProcAddress("glMultiTexCoord2fvARB")))
  583. return(level);
  584. if(!(glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)wglGetProcAddress("glMultiTexCoord2iARB")))
  585. return(level);
  586. if(!(glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)wglGetProcAddress("glMultiTexCoord2ivARB")))
  587. return(level);
  588. if(!(glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)wglGetProcAddress("glMultiTexCoord2sARB")))
  589. return(level);
  590. if(!(glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)wglGetProcAddress("glMultiTexCoord2svARB")))
  591. return(level);
  592. level = 2;
  593. if(!(glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)wglGetProcAddress("glMultiTexCoord3dARB")))
  594. return(level);
  595. if(!(glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)wglGetProcAddress("glMultiTexCoord3dvARB")))
  596. return(level);
  597. if(!(glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)wglGetProcAddress("glMultiTexCoord3fARB")))
  598. return(level);
  599. if(!(glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)wglGetProcAddress("glMultiTexCoord3fvARB")))
  600. return(level);
  601. if(!(glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)wglGetProcAddress("glMultiTexCoord3iARB")))
  602. return(level);
  603. if(!(glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)wglGetProcAddress("glMultiTexCoord3ivARB")))
  604. return(level);
  605. if(!(glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)wglGetProcAddress("glMultiTexCoord3sARB")))
  606. return(level);
  607. if(!(glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)wglGetProcAddress("glMultiTexCoord3svARB")))
  608. return(level);
  609. level = 3;
  610. if(!(glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)wglGetProcAddress("glMultiTexCoord4dARB")))
  611. return(level);
  612. if(!(glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)wglGetProcAddress("glMultiTexCoord4dvARB")))
  613. return(level);
  614. if(!(glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)wglGetProcAddress("glMultiTexCoord4fARB")))
  615. return(level);
  616. if(!(glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)wglGetProcAddress("glMultiTexCoord4fvARB")))
  617. return(level);
  618. if(!(glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)wglGetProcAddress("glMultiTexCoord4iARB")))
  619. return(level);
  620. if(!(glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)wglGetProcAddress("glMultiTexCoord4ivARB")))
  621. return(level);
  622. if(!(glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)wglGetProcAddress("glMultiTexCoord4sARB")))
  623. return(level);
  624. if(!(glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)wglGetProcAddress("glMultiTexCoord4svARB")))
  625. return(level);
  626. level = 4;
  627. return(level);
  628. } else {
  629. return(FALSE);
  630. }
  631. }
  632. int gl_init_blend_color(HW_KONFIG *p_conf)
  633. {
  634. if(gl_is_extension(p_conf, "GL_EXT_blend_color")) {
  635. if(!(glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)wglGetProcAddress("glBlendColorEXT")))
  636. return(FALSE);
  637. else
  638. return(TRUE);
  639. } else {
  640. return(FALSE);
  641. }
  642. }
  643. int gl_init_blend_minmax(HW_KONFIG *p_conf)
  644. {
  645. if(gl_is_extension(p_conf, "GL_EXT_blend_minmax")) {
  646. if(!(glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)wglGetProcAddress("glBlendEquationEXT")))
  647. return(FALSE);
  648. return(TRUE);
  649. } else {
  650. return(FALSE);
  651. }
  652. }
  653. int gl_init_fog_coord(HW_KONFIG *p_conf)
  654. {
  655. if(gl_is_extension(p_conf, "GL_EXT_fog_coord")) {
  656. if(!(glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)wglGetProcAddress("glFogCoorddEXT")))
  657. return(FALSE);
  658. if(!(glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)wglGetProcAddress("glFogCoorddvEXT")))
  659. return(FALSE);
  660. if(!(glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)wglGetProcAddress("glFogCoordfEXT")))
  661. return(FALSE);
  662. if(!(glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)wglGetProcAddress("glFogCoordfvEXT")))
  663. return(FALSE);
  664. if(!(glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)wglGetProcAddress("glFogCoordPointerEXT")))
  665. return(FALSE);
  666. glFogi(GL_FOG_COORDINATE_SOURCE_EXT, GL_FRAGMENT_DEPTH_EXT);
  667. glDisableClientState(GL_FOG_COORDINATE_ARRAY_EXT);
  668. return(TRUE);
  669. } else {
  670. return(FALSE);
  671. }
  672. }
  673. int gl_init_secondary_color(HW_KONFIG *p_conf)
  674. {
  675. if(gl_is_extension(p_conf, "GL_EXT_secondary_color")) {
  676. if(!(glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)wglGetProcAddress("glSecondaryColor3bEXT")))
  677. return(FALSE);
  678. if(!(glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)wglGetProcAddress("glSecondaryColor3bvEXT")))
  679. return(FALSE);
  680. if(!(glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)wglGetProcAddress("glSecondaryColor3dEXT")))
  681. return(FALSE);
  682. if(!(glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)wglGetProcAddress("glSecondaryColor3dvEXT")))
  683. return(FALSE);
  684. if(!(glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)wglGetProcAddress("glSecondaryColor3fEXT")))
  685. return(FALSE);
  686. if(!(glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)wglGetProcAddress("glSecondaryColor3fvEXT")))
  687. return(FALSE);
  688. if(!(glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)wglGetProcAddress("glSecondaryColor3iEXT")))
  689. return(FALSE);
  690. if(!(glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)wglGetProcAddress("glSecondaryColor3ivEXT")))
  691. return(FALSE);
  692. if(!(glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)wglGetProcAddress("glSecondaryColor3sEXT")))
  693. return(FALSE);
  694. if(!(glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)wglGetProcAddress("glSecondaryColor3svEXT")))
  695. return(FALSE);
  696. if(!(glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)wglGetProcAddress("glSecondaryColor3ubEXT")))
  697. return(FALSE);
  698. if(!(glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)wglGetProcAddress("glSecondaryColor3ubvEXT")))
  699. return(FALSE);
  700. if(!(glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)wglGetProcAddress("glSecondaryColor3uiEXT")))
  701. return(FALSE);
  702. if(!(glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)wglGetProcAddress("glSecondaryColor3uivEXT")))
  703. return(FALSE);
  704. if(!(glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)wglGetProcAddress("glSecondaryColor3usEXT")))
  705. return(FALSE);
  706. if(!(glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)wglGetProcAddress("glSecondaryColor3usvEXT")))
  707. return(FALSE);
  708. if(!(glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)wglGetProcAddress("glSecondaryColorPointerEXT")))
  709. return(FALSE);
  710. return(TRUE);
  711. } else {
  712. return(FALSE);
  713. }
  714. }
  715. int gl_init_fence(HW_KONFIG *p_conf)
  716. {
  717. if(gl_is_extension(p_conf, "GL_NV_fence")) {
  718. if(!(glGenFencesNV = (PFNGLGENFENCESNVPROC)wglGetProcAddress("glGenFencesNV")))
  719. return(FALSE);
  720. if(!(glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)wglGetProcAddress("glDeleteFencesNV")))
  721. return(FALSE);
  722. if(!(glSetFenceNV = (PFNGLSETFENCENVPROC)wglGetProcAddress("glSetFenceNV")))
  723. return(FALSE);
  724. if(!(glTestFenceNV = (PFNGLTESTFENCENVPROC)wglGetProcAddress("glTestFenceNV")))
  725. return(FALSE);
  726. if(!(glFinishFenceNV = (PFNGLFINISHFENCENVPROC)wglGetProcAddress("glFinishFenceNV")))
  727. return(FALSE);
  728. if(!(glIsFenceNV = (PFNGLISFENCENVPROC)wglGetProcAddress("glIsFenceNV")))
  729. return(FALSE);
  730. if(!(glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)wglGetProcAddress("glGetFenceivNV")))
  731. return(FALSE);
  732. return(TRUE);
  733. } else {
  734. return(FALSE);
  735. }
  736. }
  737. int gl_init_texture_compression(HW_KONFIG *p_conf)
  738. {
  739. if(gl_is_extension(p_conf, "GL_ARB_texture_compression")) {
  740. return(TRUE);
  741. } else {
  742. return(FALSE);
  743. }
  744. }
  745. int gl_init_texture_lod(HW_KONFIG *p_conf)
  746. {
  747. if(gl_is_extension(p_conf, "GL_EXT_texture_lod_bias")) {
  748. return(TRUE);
  749. } else {
  750. return(FALSE);
  751. }
  752. }
  753. int gl_init_clip_volume_hit(HW_KONFIG *p_conf)
  754. {
  755. if(gl_is_extension(p_conf, "GL_EXT_clip_volume_hint")) {
  756. return(TRUE);
  757. } else {
  758. return(FALSE);
  759. }
  760. }
  761. int gl_init_text_edge_clamp(HW_KONFIG *p_conf)
  762. {
  763. if(gl_is_extension(p_conf, "GL_EXT_texture_edge_clamp")) {
  764. return(TRUE);
  765. } else {
  766. return(FALSE);
  767. }
  768. }
  769. int gl_init_text_env_combine(HW_KONFIG *p_conf)
  770. {
  771. if(gl_is_extension(p_conf, "GL_EXT_texture_env_combine")) {
  772. return(TRUE);
  773. } else {
  774. return(FALSE);
  775. }
  776. }
  777. int gl_init_text_env_dot3(HW_KONFIG *p_conf)
  778. {
  779. if(gl_is_extension(p_conf, "GL_EXT_texture_env_dot3")) {
  780. return(TRUE);
  781. } else {
  782. return(FALSE);
  783. }
  784. }
  785. int gl_init_ati_env_bump(HW_KONFIG *p_conf)
  786. {
  787. int *p_units,units;
  788. int i,u;
  789. if(gl_is_extension(p_conf, "GL_ATI_envmap_bumpmap")) {
  790. glTexBumpParameterivATI = (PFNGLTEXBUMPPARAMETERIVATIPROC) wglGetProcAddress("glTexBumpParameterivATI");
  791. glTexBumpParameterfvATI = (PFNGLTEXBUMPPARAMETERFVATIPROC) wglGetProcAddress("glTexBumpParameterfvATI");
  792. glGetTexBumpParameterivATI = (PFNGLGETTEXBUMPPARAMETERIVATIPROC) wglGetProcAddress("glGetTexBumpParameterivATI");
  793. glGetTexBumpParameterfvATI = (PFNGLGETTEXBUMPPARAMETERFVATIPROC) wglGetProcAddress("glGetTexBumpParameterfvATI");
  794. glGetTexBumpParameterivATI(GL_BUMP_NUM_TEX_UNITS_ATI,&units);
  795. kprintf(1,"ATI Bump-units %d",units);
  796. p_units = _alloca(sizeof(p_units[0])*units);
  797. glGetTexBumpParameterivATI(GL_BUMP_TEX_UNITS_ATI,p_units);
  798. for(i = 0; i < units; i++) {
  799. u = p_units[i]-GL_TEXTURE0_ARB;
  800. extlist_ati_env_bump_unit[u] = TRUE;
  801. kprintf(1,"Bump unit %d",u);
  802. }
  803. return(TRUE);
  804. } else {
  805. return(FALSE);
  806. }
  807. }
  808. int gl_init_vertex_array_object(HW_KONFIG *p_conf)
  809. {
  810. if(gl_is_extension(p_conf, "GL_ATI_vertex_array_object")) {
  811. glNewObjectBufferATI = (PFNGLNEWOBJECTBUFFERATIPROC) wglGetProcAddress("glNewObjectBufferATI");
  812. glIsObjectBufferATI = (PFNGLISOBJECTBUFFERATIPROC) wglGetProcAddress("glIsObjectBufferATI");
  813. glUpdateObjectBufferATI = (PFNGLUPDATEOBJECTBUFFERATIPROC) wglGetProcAddress("glUpdateObjectBufferATI");
  814. glGetObjectBufferfvATI = (PFNGLGETOBJECTBUFFERFVATIPROC) wglGetProcAddress("glGetObjectBufferfvATI");
  815. glGetObjectBufferivATI = (PFNGLGETOBJECTBUFFERIVATIPROC) wglGetProcAddress("glGetObjectBufferivATI");
  816. glFreeObjectBufferATI = (PFNGLFREEOBJECTBUFFERATIPROC) wglGetProcAddress("glFreeObjectBufferATI");
  817. glArrayObjectATI = (PFNGLARRAYOBJECTATIPROC) wglGetProcAddress("glArrayObjectATI");
  818. glGetArrayObjectfvATI = (PFNGLGETARRAYOBJECTFVATIPROC) wglGetProcAddress("glGetArrayObjectfvATI");
  819. glGetArrayObjectivATI = (PFNGLGETARRAYOBJECTIVATIPROC) wglGetProcAddress("glGetArrayObjectivATI");
  820. glVariantArrayObjectATI = (PFNGLVARIANTARRAYOBJECTATIPROC) wglGetProcAddress("glVariantArrayObjectATI");
  821. glGetVariantArrayObjectfvATI = (PFNGLGETVARIANTARRAYOBJECTFVATIPROC) wglGetProcAddress("glGetVariantArrayObjectfvATI");
  822. glGetVariantArrayObjectivATI = (PFNGLGETVARIANTARRAYOBJECTIVATIPROC) wglGetProcAddress("glGetVariantArrayObjectivATI");
  823. return(TRUE);
  824. } else {
  825. return(FALSE);
  826. }
  827. }
  828. int gl_init_element_array(HW_KONFIG *p_conf)
  829. {
  830. if(gl_is_extension(p_conf, "GL_ATI_element_array")) {
  831. glElementPointerATI = (PFNGLELEMENTPOINTERATIPROC) wglGetProcAddress("glElementPointerATI");
  832. glDrawElementArrayATI = (PFNGLDRAWELEMENTARRAYATIPROC) wglGetProcAddress("glDrawElementArrayATI");
  833. glDrawRangeElementArrayATI = (PFNGLDRAWRANGEELEMENTARRAYATIPROC) wglGetProcAddress("glDrawRangeElementArrayATI");
  834. return(TRUE);
  835. } else {
  836. return(FALSE);
  837. }
  838. }
  839. int gl_init_register_combiners(HW_KONFIG *p_conf)
  840. {
  841. if(gl_is_extension(p_conf, "GL_NV_register_combiners")) {
  842. if(!(glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)wglGetProcAddress("glCombinerParameterfvNV")))
  843. return(FALSE);
  844. if(!(glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)wglGetProcAddress("glCombinerParameterfNV")))
  845. return(FALSE);
  846. if(!(glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)wglGetProcAddress("glCombinerParameterivNV")))
  847. return(FALSE);
  848. if(!(glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)wglGetProcAddress("glCombinerParameteriNV")))
  849. return(FALSE);
  850. if(!(glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)wglGetProcAddress("glCombinerInputNV")))
  851. return(FALSE);
  852. if(!(glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)wglGetProcAddress("glCombinerOutputNV")))
  853. return(FALSE);
  854. if(!(glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)wglGetProcAddress("glFinalCombinerInputNV")))
  855. return(FALSE);
  856. if(!(glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)wglGetProcAddress("glGetCombinerInputParameterfvNV")))
  857. return(FALSE);
  858. if(!(glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)wglGetProcAddress("glGetCombinerInputParameterivNV")))
  859. return(FALSE);
  860. if(!(glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)wglGetProcAddress("glGetCombinerOutputParameterfvNV")))
  861. return(FALSE);
  862. if(!(glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)wglGetProcAddress("glGetCombinerOutputParameterivNV")))
  863. return(FALSE);
  864. if(!(glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)wglGetProcAddress("glGetFinalCombinerInputParameterfvNV")))
  865. return(FALSE);
  866. if(!(glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)wglGetProcAddress("glGetFinalCombinerInputParameterivNV")))
  867. return(FALSE);
  868. return(TRUE);
  869. } else {
  870. return(FALSE);
  871. }
  872. }
  873. int gl_init_vertex_array_range(HW_KONFIG *p_conf)
  874. {
  875. if(gl_is_extension(p_conf, "GL_NV_vertex_array_range")) {
  876. if(!(glFlushVertexArrayRangeNV = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)wglGetProcAddress("glFlushVertexArrayRangeNV")))
  877. return(FALSE);
  878. if(!(glVertexArrayRangeNV = (PFNGLVERTEXARRAYRANGENVPROC)wglGetProcAddress("glVertexArrayRangeNV")))
  879. return(FALSE);
  880. if(!(wglAllocateMemoryNV = (PFNWGLALLOCATEMEMORYNVPROC)wglGetProcAddress("wglAllocateMemoryNV")))
  881. return(FALSE);
  882. if(!(wglFreeMemoryNV = (PFNWGLFREEMEMORYNVPROC)wglGetProcAddress("wglFreeMemoryNV")))
  883. return(FALSE);
  884. return(TRUE);
  885. } else {
  886. return(FALSE);
  887. }
  888. }
  889. int gl_init_vertex_array_packed(HW_KONFIG *p_conf)
  890. {
  891. if(gl_is_extension(p_conf, "GL_EXT_compiled_vertex_array")) {
  892. if(!(glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)wglGetProcAddress("glLockArraysEXT")))
  893. return(FALSE);
  894. if(!(glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)wglGetProcAddress("glUnlockArraysEXT")))
  895. return(FALSE);
  896. return(TRUE);
  897. } else {
  898. return(FALSE);
  899. }
  900. }
  901. int gl_init_ati_pn_triangles(HW_KONFIG *p_conf)
  902. {
  903. if(gl_is_extension(p_conf, "GL_ATI_pn_triangles")) {
  904. glPNTrianglesiATI = (PFNGLPNTRIANGLESIATIPROC) wglGetProcAddress("glPNTrianglesiATI");
  905. glPNTrianglesfATI = (PFNGLPNTRIANGLESFATIPROC) wglGetProcAddress("glPNTrianglesfATI");
  906. return(TRUE);
  907. } else {
  908. return(FALSE);
  909. }
  910. }
  911. int gl_init_text_filter_anisotropic(HW_KONFIG *p_conf)
  912. {
  913. if(gl_is_extension(p_conf, "GL_EXT_texture_filter_anisotropic")) {
  914. return(TRUE);
  915. } else {
  916. return(FALSE);
  917. }
  918. }
  919. int gl_init_ati_draw_buffers(HW_KONFIG *p_conf)
  920. {
  921. if(gl_is_extension(p_conf, "GL_ATI_draw_buffers")) {
  922. return(TRUE);
  923. } else {
  924. return(FALSE);
  925. }
  926. }
  927. int gl_init_arb_vertex_buffer(HW_KONFIG *p_conf)
  928. {
  929. if(gl_is_extension(p_conf, "GL_ARB_vertex_buffer_object")) {
  930. if(!(glBindBufferARB = (PFNGLBINDBUFFERARBPROC)wglGetProcAddress("glBindBufferARB")))
  931. return(FALSE);
  932. if(!(glDeleteBuffersARB = (PFNGLDELETEBUFFERSARBPROC)wglGetProcAddress("glDeleteBuffersARB")))
  933. return(FALSE);
  934. if(!(glGenBuffersARB = (PFNGLGENBUFFERSARBPROC)wglGetProcAddress("glGenBuffersARB")))
  935. return(FALSE);
  936. if(!(glIsBufferARB = (PFNGLISBUFFERARBPROC)wglGetProcAddress("glIsBufferARB")))
  937. return(FALSE);
  938. if(!(glBufferDataARB = (PFNGLBUFFERDATAARBPROC)wglGetProcAddress("glBufferDataARB")))
  939. return(FALSE);
  940. if(!(glBufferSubDataARB = (PFNGLBUFFERSUBDATAARBPROC)wglGetProcAddress("glBufferSubDataARB")))
  941. return(FALSE);
  942. if(!(glGetBufferSubDataARB = (PFNGLGETBUFFERSUBDATAARBPROC)wglGetProcAddress("glGetBufferSubDataARB")))
  943. return(FALSE);
  944. if(!(glMapBufferARB = (PFNGLMAPBUFFERARBPROC)wglGetProcAddress("glMapBufferARB")))
  945. return(FALSE);
  946. if(!(glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)wglGetProcAddress("glUnmapBufferARB")))
  947. return(FALSE);
  948. if(!(glGetBufferParameterivARB = (PFNGLGETBUFFERPARAMETERIVARBPROC)wglGetProcAddress("glGetBufferParameterivARB")))
  949. return(FALSE);
  950. if(!(glGetBufferPointervARB = (PFNGLGETBUFFERPOINTERVARBPROC)wglGetProcAddress("glGetBufferPointervARB")))
  951. return(FALSE);
  952. return(TRUE);
  953. } else {
  954. return(FALSE);
  955. }
  956. }
  957. EXTENSION_FLAGS extlist;
  958. int gl_init_extension(HW_KONFIG *p_hwconf)
  959. {
  960. kprintf(1,"Init extensions");
  961. extlist_multitexture = gl_init_multitexture(p_hwconf);
  962. extlist_blend_color = gl_init_blend_color(p_hwconf);
  963. extlist_blend_minmax = gl_init_blend_minmax(p_hwconf);
  964. extlist_fog_coord = gl_init_fog_coord(p_hwconf);
  965. extlist_secondary_color = gl_init_secondary_color(p_hwconf);
  966. extlist_fence = gl_init_fence(p_hwconf);
  967. extlist_register_combiners = gl_init_register_combiners(p_hwconf);
  968. extlist_text_compresion = gl_init_texture_compression(p_hwconf);
  969. extlist_text_sharp = gl_init_texture_lod(p_hwconf);
  970. extlist_text_edge_clamp = gl_init_text_edge_clamp(p_hwconf);
  971. extlist_text_env_combine = gl_init_text_env_combine(p_hwconf);
  972. extlist_text_filter_anisotropic = gl_init_text_filter_anisotropic(p_hwconf);
  973. extlist_clip_volume_hit = gl_init_clip_volume_hit(p_hwconf);
  974. extlist_vertex_array_range = gl_init_vertex_array_range(p_hwconf);
  975. extlist_vertex_array_packed = gl_init_vertex_array_packed(p_hwconf);
  976. extlist_ati_pn_triangles = gl_init_ati_pn_triangles(p_hwconf);
  977. extlist_ati_draw_buffers = gl_init_ati_draw_buffers(p_hwconf);
  978. */
  979. /*
  980. if(hwconf.vertex_arrays) {
  981. extlist_ati_vertex_array_object = gl_init_vertex_array_object(p_hwconf);
  982. extlist_ati_element_array = gl_init_element_array(p_hwconf);
  983. if(!(extlist_ati_vertex_array_object && extlist_ati_element_array)) {
  984. extlist_ati_vertex_array_object = 0;
  985. extlist_ati_element_array = 0;
  986. extlist_arb_vertex_buffer = gl_init_arb_vertex_buffer(p_hwconf);
  987. }
  988. }
  989. */
  990. /*
  991. // pouze pokud je vic jak 2 texturovaci jednotky
  992. if(hwconf.bump_mapping && glstav_multitext_units > 2) {
  993. extlist_text_env_dot3 = gl_init_text_env_dot3(p_hwconf);
  994. extlist_ati_env_bump = gl_init_ati_env_bump(p_hwconf);
  995. hwconf.bump_mapping = extlist_text_env_dot3|extlist_ati_env_bump;
  996. }
  997. return(TRUE);
  998. }
  999. */
  1000. /*
  1001. int gl_ext_default(void)
  1002. {
  1003. glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)glDefaultFunkce;
  1004. glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)glDefaultFunkce;
  1005. glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)glDefaultFunkce;
  1006. glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)glDefaultFunkce;
  1007. glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)glDefaultFunkce;
  1008. glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)glDefaultFunkce;
  1009. glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)glDefaultFunkce;
  1010. glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)glDefaultFunkce;
  1011. glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)glDefaultFunkce;
  1012. glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)glDefaultFunkce;
  1013. glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)glDefaultFunkce;
  1014. glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)glDefaultFunkce;
  1015. glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)glDefaultFunkce;
  1016. glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)glDefaultFunkce;
  1017. glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)glDefaultFunkce;
  1018. glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)glDefaultFunkce;
  1019. glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)glDefaultFunkce;
  1020. glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)glDefaultFunkce;
  1021. glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)glDefaultFunkce;
  1022. glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)glDefaultFunkce;
  1023. glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)glDefaultFunkce;
  1024. glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)glDefaultFunkce;
  1025. glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)glDefaultFunkce;
  1026. glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)glDefaultFunkce;
  1027. glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)glDefaultFunkce;
  1028. glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)glDefaultFunkce;
  1029. glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)glDefaultFunkce;
  1030. glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)glDefaultFunkce;
  1031. glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)glDefaultFunkce;
  1032. glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)glDefaultFunkce;
  1033. glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)glDefaultFunkce;
  1034. glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)glDefaultFunkce;
  1035. glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)glDefaultFunkce;
  1036. glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)glDefaultFunkce;
  1037. glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)glDefaultFunkce;
  1038. glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)glDefaultFunkce;
  1039. glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glDefaultFunkce;
  1040. glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glDefaultFunkce;
  1041. glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glDefaultFunkce;
  1042. glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glDefaultFunkce;
  1043. glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glDefaultFunkce;
  1044. glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)glDefaultFunkce;
  1045. glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)glDefaultFunkce;
  1046. glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)glDefaultFunkce;
  1047. glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)glDefaultFunkce;
  1048. glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)glDefaultFunkce;
  1049. glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)glDefaultFunkce;
  1050. glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)glDefaultFunkce;
  1051. glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)glDefaultFunkce;
  1052. glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)glDefaultFunkce;
  1053. glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)glDefaultFunkce;
  1054. glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)glDefaultFunkce;
  1055. glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)glDefaultFunkce;
  1056. glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)glDefaultFunkce;
  1057. glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)glDefaultFunkce;
  1058. glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)glDefaultFunkce;
  1059. glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)glDefaultFunkce;
  1060. glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)glDefaultFunkce;
  1061. glGenFencesNV = (PFNGLGENFENCESNVPROC)glDefaultFunkce;
  1062. glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)glDefaultFunkce;
  1063. glSetFenceNV = (PFNGLSETFENCENVPROC)glDefaultFunkce;
  1064. glTestFenceNV = (PFNGLTESTFENCENVPROC)glDefaultFunkce;
  1065. glFinishFenceNV = (PFNGLFINISHFENCENVPROC)glDefaultFunkce;
  1066. glIsFenceNV = (PFNGLISFENCENVPROC)glDefaultFunkce;
  1067. glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)glDefaultFunkce;
  1068. glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)glDefaultFunkce;
  1069. glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)glDefaultFunkce;
  1070. glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)glDefaultFunkce;
  1071. glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)glDefaultFunkce;
  1072. glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)glDefaultFunkce;
  1073. glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)glDefaultFunkce;
  1074. glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)glDefaultFunkce;
  1075. glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)glDefaultFunkce;
  1076. glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)glDefaultFunkce;
  1077. glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)glDefaultFunkce;
  1078. glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)glDefaultFunkce;
  1079. glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)glDefaultFunkce;
  1080. glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)glDefaultFunkce;
  1081. glFlushVertexArrayRangeNV = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)glDefaultFunkce;
  1082. glVertexArrayRangeNV = (PFNGLVERTEXARRAYRANGENVPROC)glDefaultFunkce;
  1083. wglAllocateMemoryNV = (PFNWGLALLOCATEMEMORYNVPROC)glDefaultFunkce;
  1084. wglFreeMemoryNV = (PFNWGLFREEMEMORYNVPROC)glDefaultFunkce;
  1085. glArrayElementEXT = (PFNGLARRAYELEMENTEXTPROC)glDefaultFunkce;
  1086. glColorPointerEXT = (PFNGLCOLORPOINTEREXTPROC)glDefaultFunkce;
  1087. glDrawArraysEXT = (PFNGLDRAWARRAYSEXTPROC)glDefaultFunkce;
  1088. glEdgeFlagPointerEXT = (PFNGLEDGEFLAGPOINTEREXTPROC)glDefaultFunkce;
  1089. glGetPointervEXT = (PFNGLGETPOINTERVEXTPROC)glDefaultFunkce;
  1090. glIndexPointerEXT = (PFNGLINDEXPOINTEREXTPROC)glDefaultFunkce;
  1091. glNormalPointerEXT = (PFNGLNORMALPOINTEREXTPROC)glDefaultFunkce;
  1092. glTexCoordPointerEXT = (PFNGLTEXCOORDPOINTEREXTPROC)glDefaultFunkce;
  1093. glVertexPointerEXT = (PFNGLVERTEXPOINTEREXTPROC)glDefaultFunkce;
  1094. glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)glDefaultFunkce;
  1095. glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)glDefaultFunkce;
  1096. return(FALSE);
  1097. }
  1098. */