| 1068 | void (CODEGEN_FUNCPTR *sfg_ptrc_glTexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; |
| 1069 | |
| 1070 | static int Load_Version_1_2(void) |
| 1071 | { |
| 1072 | int numFailed = 0; |
| 1073 | sfg_ptrc_glAccum = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat))IntGetProcAddress("glAccum"); |
| 1074 | if(!sfg_ptrc_glAccum) numFailed++; |
| 1075 | sfg_ptrc_glAlphaFunc = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat))IntGetProcAddress("glAlphaFunc"); |
| 1076 | if(!sfg_ptrc_glAlphaFunc) numFailed++; |
| 1077 | sfg_ptrc_glBegin = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glBegin"); |
| 1078 | if(!sfg_ptrc_glBegin) numFailed++; |
| 1079 | sfg_ptrc_glBitmap = (void (CODEGEN_FUNCPTR *)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *))IntGetProcAddress("glBitmap"); |
| 1080 | if(!sfg_ptrc_glBitmap) numFailed++; |
| 1081 | sfg_ptrc_glBlendFunc = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum))IntGetProcAddress("glBlendFunc"); |
| 1082 | if(!sfg_ptrc_glBlendFunc) numFailed++; |
| 1083 | sfg_ptrc_glCallList = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glCallList"); |
| 1084 | if(!sfg_ptrc_glCallList) numFailed++; |
| 1085 | sfg_ptrc_glCallLists = (void (CODEGEN_FUNCPTR *)(GLsizei, GLenum, const GLvoid *))IntGetProcAddress("glCallLists"); |
| 1086 | if(!sfg_ptrc_glCallLists) numFailed++; |
| 1087 | sfg_ptrc_glClear = (void (CODEGEN_FUNCPTR *)(GLbitfield))IntGetProcAddress("glClear"); |
| 1088 | if(!sfg_ptrc_glClear) numFailed++; |
| 1089 | sfg_ptrc_glClearAccum = (void (CODEGEN_FUNCPTR *)(GLfloat, GLfloat, GLfloat, GLfloat))IntGetProcAddress("glClearAccum"); |
| 1090 | if(!sfg_ptrc_glClearAccum) numFailed++; |
| 1091 | sfg_ptrc_glClearColor = (void (CODEGEN_FUNCPTR *)(GLfloat, GLfloat, GLfloat, GLfloat))IntGetProcAddress("glClearColor"); |
| 1092 | if(!sfg_ptrc_glClearColor) numFailed++; |
| 1093 | sfg_ptrc_glClearDepth = (void (CODEGEN_FUNCPTR *)(GLdouble))IntGetProcAddress("glClearDepth"); |
| 1094 | if(!sfg_ptrc_glClearDepth) numFailed++; |
| 1095 | sfg_ptrc_glClearIndex = (void (CODEGEN_FUNCPTR *)(GLfloat))IntGetProcAddress("glClearIndex"); |
| 1096 | if(!sfg_ptrc_glClearIndex) numFailed++; |
| 1097 | sfg_ptrc_glClearStencil = (void (CODEGEN_FUNCPTR *)(GLint))IntGetProcAddress("glClearStencil"); |
| 1098 | if(!sfg_ptrc_glClearStencil) numFailed++; |
| 1099 | sfg_ptrc_glClipPlane = (void (CODEGEN_FUNCPTR *)(GLenum, const GLdouble *))IntGetProcAddress("glClipPlane"); |
| 1100 | if(!sfg_ptrc_glClipPlane) numFailed++; |
| 1101 | sfg_ptrc_glColor3b = (void (CODEGEN_FUNCPTR *)(GLbyte, GLbyte, GLbyte))IntGetProcAddress("glColor3b"); |
| 1102 | if(!sfg_ptrc_glColor3b) numFailed++; |
| 1103 | sfg_ptrc_glColor3bv = (void (CODEGEN_FUNCPTR *)(const GLbyte *))IntGetProcAddress("glColor3bv"); |
| 1104 | if(!sfg_ptrc_glColor3bv) numFailed++; |
| 1105 | sfg_ptrc_glColor3d = (void (CODEGEN_FUNCPTR *)(GLdouble, GLdouble, GLdouble))IntGetProcAddress("glColor3d"); |
| 1106 | if(!sfg_ptrc_glColor3d) numFailed++; |
| 1107 | sfg_ptrc_glColor3dv = (void (CODEGEN_FUNCPTR *)(const GLdouble *))IntGetProcAddress("glColor3dv"); |
| 1108 | if(!sfg_ptrc_glColor3dv) numFailed++; |
| 1109 | sfg_ptrc_glColor3f = (void (CODEGEN_FUNCPTR *)(GLfloat, GLfloat, GLfloat))IntGetProcAddress("glColor3f"); |
| 1110 | if(!sfg_ptrc_glColor3f) numFailed++; |
| 1111 | sfg_ptrc_glColor3fv = (void (CODEGEN_FUNCPTR *)(const GLfloat *))IntGetProcAddress("glColor3fv"); |
| 1112 | if(!sfg_ptrc_glColor3fv) numFailed++; |
| 1113 | sfg_ptrc_glColor3i = (void (CODEGEN_FUNCPTR *)(GLint, GLint, GLint))IntGetProcAddress("glColor3i"); |
| 1114 | if(!sfg_ptrc_glColor3i) numFailed++; |
| 1115 | sfg_ptrc_glColor3iv = (void (CODEGEN_FUNCPTR *)(const GLint *))IntGetProcAddress("glColor3iv"); |
| 1116 | if(!sfg_ptrc_glColor3iv) numFailed++; |
| 1117 | sfg_ptrc_glColor3s = (void (CODEGEN_FUNCPTR *)(GLshort, GLshort, GLshort))IntGetProcAddress("glColor3s"); |
| 1118 | if(!sfg_ptrc_glColor3s) numFailed++; |
| 1119 | sfg_ptrc_glColor3sv = (void (CODEGEN_FUNCPTR *)(const GLshort *))IntGetProcAddress("glColor3sv"); |
| 1120 | if(!sfg_ptrc_glColor3sv) numFailed++; |
| 1121 | sfg_ptrc_glColor3ub = (void (CODEGEN_FUNCPTR *)(GLubyte, GLubyte, GLubyte))IntGetProcAddress("glColor3ub"); |
| 1122 | if(!sfg_ptrc_glColor3ub) numFailed++; |
| 1123 | sfg_ptrc_glColor3ubv = (void (CODEGEN_FUNCPTR *)(const GLubyte *))IntGetProcAddress("glColor3ubv"); |
| 1124 | if(!sfg_ptrc_glColor3ubv) numFailed++; |
| 1125 | sfg_ptrc_glColor3ui = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLuint))IntGetProcAddress("glColor3ui"); |
| 1126 | if(!sfg_ptrc_glColor3ui) numFailed++; |
| 1127 | sfg_ptrc_glColor3uiv = (void (CODEGEN_FUNCPTR *)(const GLuint *))IntGetProcAddress("glColor3uiv"); |
no outgoing calls
no test coverage detected