1 // Generated Code - DO NOT EDIT !! 2 // generated by 'emugen' 3 4 5 #include <string.h> 6 #include "gl2_client_context.h" 7 8 9 #include <stdio.h> 10 11 int gl2_client_context_t::initDispatchByName(void *(*getProc)(const char *, void *userData), void *userData) 12 { 13 glActiveTexture = (glActiveTexture_client_proc_t) getProc("glActiveTexture", userData); 14 glAttachShader = (glAttachShader_client_proc_t) getProc("glAttachShader", userData); 15 glBindAttribLocation = (glBindAttribLocation_client_proc_t) getProc("glBindAttribLocation", userData); 16 glBindBuffer = (glBindBuffer_client_proc_t) getProc("glBindBuffer", userData); 17 glBindFramebuffer = (glBindFramebuffer_client_proc_t) getProc("glBindFramebuffer", userData); 18 glBindRenderbuffer = (glBindRenderbuffer_client_proc_t) getProc("glBindRenderbuffer", userData); 19 glBindTexture = (glBindTexture_client_proc_t) getProc("glBindTexture", userData); 20 glBlendColor = (glBlendColor_client_proc_t) getProc("glBlendColor", userData); 21 glBlendEquation = (glBlendEquation_client_proc_t) getProc("glBlendEquation", userData); 22 glBlendEquationSeparate = (glBlendEquationSeparate_client_proc_t) getProc("glBlendEquationSeparate", userData); 23 glBlendFunc = (glBlendFunc_client_proc_t) getProc("glBlendFunc", userData); 24 glBlendFuncSeparate = (glBlendFuncSeparate_client_proc_t) getProc("glBlendFuncSeparate", userData); 25 glBufferData = (glBufferData_client_proc_t) getProc("glBufferData", userData); 26 glBufferSubData = (glBufferSubData_client_proc_t) getProc("glBufferSubData", userData); 27 glCheckFramebufferStatus = (glCheckFramebufferStatus_client_proc_t) getProc("glCheckFramebufferStatus", userData); 28 glClear = (glClear_client_proc_t) getProc("glClear", userData); 29 glClearColor = (glClearColor_client_proc_t) getProc("glClearColor", userData); 30 glClearDepthf = (glClearDepthf_client_proc_t) getProc("glClearDepthf", userData); 31 glClearStencil = (glClearStencil_client_proc_t) getProc("glClearStencil", userData); 32 glColorMask = (glColorMask_client_proc_t) getProc("glColorMask", userData); 33 glCompileShader = (glCompileShader_client_proc_t) getProc("glCompileShader", userData); 34 glCompressedTexImage2D = (glCompressedTexImage2D_client_proc_t) getProc("glCompressedTexImage2D", userData); 35 glCompressedTexSubImage2D = (glCompressedTexSubImage2D_client_proc_t) getProc("glCompressedTexSubImage2D", userData); 36 glCopyTexImage2D = (glCopyTexImage2D_client_proc_t) getProc("glCopyTexImage2D", userData); 37 glCopyTexSubImage2D = (glCopyTexSubImage2D_client_proc_t) getProc("glCopyTexSubImage2D", userData); 38 glCreateProgram = (glCreateProgram_client_proc_t) getProc("glCreateProgram", userData); 39 glCreateShader = (glCreateShader_client_proc_t) getProc("glCreateShader", userData); 40 glCullFace = (glCullFace_client_proc_t) getProc("glCullFace", userData); 41 glDeleteBuffers = (glDeleteBuffers_client_proc_t) getProc("glDeleteBuffers", userData); 42 glDeleteFramebuffers = (glDeleteFramebuffers_client_proc_t) getProc("glDeleteFramebuffers", userData); 43 glDeleteProgram = (glDeleteProgram_client_proc_t) getProc("glDeleteProgram", userData); 44 glDeleteRenderbuffers = (glDeleteRenderbuffers_client_proc_t) getProc("glDeleteRenderbuffers", userData); 45 glDeleteShader = (glDeleteShader_client_proc_t) getProc("glDeleteShader", userData); 46 glDeleteTextures = (glDeleteTextures_client_proc_t) getProc("glDeleteTextures", userData); 47 glDepthFunc = (glDepthFunc_client_proc_t) getProc("glDepthFunc", userData); 48 glDepthMask = (glDepthMask_client_proc_t) getProc("glDepthMask", userData); 49 glDepthRangef = (glDepthRangef_client_proc_t) getProc("glDepthRangef", userData); 50 glDetachShader = (glDetachShader_client_proc_t) getProc("glDetachShader", userData); 51 glDisable = (glDisable_client_proc_t) getProc("glDisable", userData); 52 glDisableVertexAttribArray = (glDisableVertexAttribArray_client_proc_t) getProc("glDisableVertexAttribArray", userData); 53 glDrawArrays = (glDrawArrays_client_proc_t) getProc("glDrawArrays", userData); 54 glDrawElements = (glDrawElements_client_proc_t) getProc("glDrawElements", userData); 55 glEnable = (glEnable_client_proc_t) getProc("glEnable", userData); 56 glEnableVertexAttribArray = (glEnableVertexAttribArray_client_proc_t) getProc("glEnableVertexAttribArray", userData); 57 glFinish = (glFinish_client_proc_t) getProc("glFinish", userData); 58 glFlush = (glFlush_client_proc_t) getProc("glFlush", userData); 59 glFramebufferRenderbuffer = (glFramebufferRenderbuffer_client_proc_t) getProc("glFramebufferRenderbuffer", userData); 60 glFramebufferTexture2D = (glFramebufferTexture2D_client_proc_t) getProc("glFramebufferTexture2D", userData); 61 glFrontFace = (glFrontFace_client_proc_t) getProc("glFrontFace", userData); 62 glGenBuffers = (glGenBuffers_client_proc_t) getProc("glGenBuffers", userData); 63 glGenerateMipmap = (glGenerateMipmap_client_proc_t) getProc("glGenerateMipmap", userData); 64 glGenFramebuffers = (glGenFramebuffers_client_proc_t) getProc("glGenFramebuffers", userData); 65 glGenRenderbuffers = (glGenRenderbuffers_client_proc_t) getProc("glGenRenderbuffers", userData); 66 glGenTextures = (glGenTextures_client_proc_t) getProc("glGenTextures", userData); 67 glGetActiveAttrib = (glGetActiveAttrib_client_proc_t) getProc("glGetActiveAttrib", userData); 68 glGetActiveUniform = (glGetActiveUniform_client_proc_t) getProc("glGetActiveUniform", userData); 69 glGetAttachedShaders = (glGetAttachedShaders_client_proc_t) getProc("glGetAttachedShaders", userData); 70 glGetAttribLocation = (glGetAttribLocation_client_proc_t) getProc("glGetAttribLocation", userData); 71 glGetBooleanv = (glGetBooleanv_client_proc_t) getProc("glGetBooleanv", userData); 72 glGetBufferParameteriv = (glGetBufferParameteriv_client_proc_t) getProc("glGetBufferParameteriv", userData); 73 glGetError = (glGetError_client_proc_t) getProc("glGetError", userData); 74 glGetFloatv = (glGetFloatv_client_proc_t) getProc("glGetFloatv", userData); 75 glGetFramebufferAttachmentParameteriv = (glGetFramebufferAttachmentParameteriv_client_proc_t) getProc("glGetFramebufferAttachmentParameteriv", userData); 76 glGetIntegerv = (glGetIntegerv_client_proc_t) getProc("glGetIntegerv", userData); 77 glGetProgramiv = (glGetProgramiv_client_proc_t) getProc("glGetProgramiv", userData); 78 glGetProgramInfoLog = (glGetProgramInfoLog_client_proc_t) getProc("glGetProgramInfoLog", userData); 79 glGetRenderbufferParameteriv = (glGetRenderbufferParameteriv_client_proc_t) getProc("glGetRenderbufferParameteriv", userData); 80 glGetShaderiv = (glGetShaderiv_client_proc_t) getProc("glGetShaderiv", userData); 81 glGetShaderInfoLog = (glGetShaderInfoLog_client_proc_t) getProc("glGetShaderInfoLog", userData); 82 glGetShaderPrecisionFormat = (glGetShaderPrecisionFormat_client_proc_t) getProc("glGetShaderPrecisionFormat", userData); 83 glGetShaderSource = (glGetShaderSource_client_proc_t) getProc("glGetShaderSource", userData); 84 glGetString = (glGetString_client_proc_t) getProc("glGetString", userData); 85 glGetTexParameterfv = (glGetTexParameterfv_client_proc_t) getProc("glGetTexParameterfv", userData); 86 glGetTexParameteriv = (glGetTexParameteriv_client_proc_t) getProc("glGetTexParameteriv", userData); 87 glGetUniformfv = (glGetUniformfv_client_proc_t) getProc("glGetUniformfv", userData); 88 glGetUniformiv = (glGetUniformiv_client_proc_t) getProc("glGetUniformiv", userData); 89 glGetUniformLocation = (glGetUniformLocation_client_proc_t) getProc("glGetUniformLocation", userData); 90 glGetVertexAttribfv = (glGetVertexAttribfv_client_proc_t) getProc("glGetVertexAttribfv", userData); 91 glGetVertexAttribiv = (glGetVertexAttribiv_client_proc_t) getProc("glGetVertexAttribiv", userData); 92 glGetVertexAttribPointerv = (glGetVertexAttribPointerv_client_proc_t) getProc("glGetVertexAttribPointerv", userData); 93 glHint = (glHint_client_proc_t) getProc("glHint", userData); 94 glIsBuffer = (glIsBuffer_client_proc_t) getProc("glIsBuffer", userData); 95 glIsEnabled = (glIsEnabled_client_proc_t) getProc("glIsEnabled", userData); 96 glIsFramebuffer = (glIsFramebuffer_client_proc_t) getProc("glIsFramebuffer", userData); 97 glIsProgram = (glIsProgram_client_proc_t) getProc("glIsProgram", userData); 98 glIsRenderbuffer = (glIsRenderbuffer_client_proc_t) getProc("glIsRenderbuffer", userData); 99 glIsShader = (glIsShader_client_proc_t) getProc("glIsShader", userData); 100 glIsTexture = (glIsTexture_client_proc_t) getProc("glIsTexture", userData); 101 glLineWidth = (glLineWidth_client_proc_t) getProc("glLineWidth", userData); 102 glLinkProgram = (glLinkProgram_client_proc_t) getProc("glLinkProgram", userData); 103 glPixelStorei = (glPixelStorei_client_proc_t) getProc("glPixelStorei", userData); 104 glPolygonOffset = (glPolygonOffset_client_proc_t) getProc("glPolygonOffset", userData); 105 glReadPixels = (glReadPixels_client_proc_t) getProc("glReadPixels", userData); 106 glReleaseShaderCompiler = (glReleaseShaderCompiler_client_proc_t) getProc("glReleaseShaderCompiler", userData); 107 glRenderbufferStorage = (glRenderbufferStorage_client_proc_t) getProc("glRenderbufferStorage", userData); 108 glSampleCoverage = (glSampleCoverage_client_proc_t) getProc("glSampleCoverage", userData); 109 glScissor = (glScissor_client_proc_t) getProc("glScissor", userData); 110 glShaderBinary = (glShaderBinary_client_proc_t) getProc("glShaderBinary", userData); 111 glShaderSource = (glShaderSource_client_proc_t) getProc("glShaderSource", userData); 112 glStencilFunc = (glStencilFunc_client_proc_t) getProc("glStencilFunc", userData); 113 glStencilFuncSeparate = (glStencilFuncSeparate_client_proc_t) getProc("glStencilFuncSeparate", userData); 114 glStencilMask = (glStencilMask_client_proc_t) getProc("glStencilMask", userData); 115 glStencilMaskSeparate = (glStencilMaskSeparate_client_proc_t) getProc("glStencilMaskSeparate", userData); 116 glStencilOp = (glStencilOp_client_proc_t) getProc("glStencilOp", userData); 117 glStencilOpSeparate = (glStencilOpSeparate_client_proc_t) getProc("glStencilOpSeparate", userData); 118 glTexImage2D = (glTexImage2D_client_proc_t) getProc("glTexImage2D", userData); 119 glTexParameterf = (glTexParameterf_client_proc_t) getProc("glTexParameterf", userData); 120 glTexParameterfv = (glTexParameterfv_client_proc_t) getProc("glTexParameterfv", userData); 121 glTexParameteri = (glTexParameteri_client_proc_t) getProc("glTexParameteri", userData); 122 glTexParameteriv = (glTexParameteriv_client_proc_t) getProc("glTexParameteriv", userData); 123 glTexSubImage2D = (glTexSubImage2D_client_proc_t) getProc("glTexSubImage2D", userData); 124 glUniform1f = (glUniform1f_client_proc_t) getProc("glUniform1f", userData); 125 glUniform1fv = (glUniform1fv_client_proc_t) getProc("glUniform1fv", userData); 126 glUniform1i = (glUniform1i_client_proc_t) getProc("glUniform1i", userData); 127 glUniform1iv = (glUniform1iv_client_proc_t) getProc("glUniform1iv", userData); 128 glUniform2f = (glUniform2f_client_proc_t) getProc("glUniform2f", userData); 129 glUniform2fv = (glUniform2fv_client_proc_t) getProc("glUniform2fv", userData); 130 glUniform2i = (glUniform2i_client_proc_t) getProc("glUniform2i", userData); 131 glUniform2iv = (glUniform2iv_client_proc_t) getProc("glUniform2iv", userData); 132 glUniform3f = (glUniform3f_client_proc_t) getProc("glUniform3f", userData); 133 glUniform3fv = (glUniform3fv_client_proc_t) getProc("glUniform3fv", userData); 134 glUniform3i = (glUniform3i_client_proc_t) getProc("glUniform3i", userData); 135 glUniform3iv = (glUniform3iv_client_proc_t) getProc("glUniform3iv", userData); 136 glUniform4f = (glUniform4f_client_proc_t) getProc("glUniform4f", userData); 137 glUniform4fv = (glUniform4fv_client_proc_t) getProc("glUniform4fv", userData); 138 glUniform4i = (glUniform4i_client_proc_t) getProc("glUniform4i", userData); 139 glUniform4iv = (glUniform4iv_client_proc_t) getProc("glUniform4iv", userData); 140 glUniformMatrix2fv = (glUniformMatrix2fv_client_proc_t) getProc("glUniformMatrix2fv", userData); 141 glUniformMatrix3fv = (glUniformMatrix3fv_client_proc_t) getProc("glUniformMatrix3fv", userData); 142 glUniformMatrix4fv = (glUniformMatrix4fv_client_proc_t) getProc("glUniformMatrix4fv", userData); 143 glUseProgram = (glUseProgram_client_proc_t) getProc("glUseProgram", userData); 144 glValidateProgram = (glValidateProgram_client_proc_t) getProc("glValidateProgram", userData); 145 glVertexAttrib1f = (glVertexAttrib1f_client_proc_t) getProc("glVertexAttrib1f", userData); 146 glVertexAttrib1fv = (glVertexAttrib1fv_client_proc_t) getProc("glVertexAttrib1fv", userData); 147 glVertexAttrib2f = (glVertexAttrib2f_client_proc_t) getProc("glVertexAttrib2f", userData); 148 glVertexAttrib2fv = (glVertexAttrib2fv_client_proc_t) getProc("glVertexAttrib2fv", userData); 149 glVertexAttrib3f = (glVertexAttrib3f_client_proc_t) getProc("glVertexAttrib3f", userData); 150 glVertexAttrib3fv = (glVertexAttrib3fv_client_proc_t) getProc("glVertexAttrib3fv", userData); 151 glVertexAttrib4f = (glVertexAttrib4f_client_proc_t) getProc("glVertexAttrib4f", userData); 152 glVertexAttrib4fv = (glVertexAttrib4fv_client_proc_t) getProc("glVertexAttrib4fv", userData); 153 glVertexAttribPointer = (glVertexAttribPointer_client_proc_t) getProc("glVertexAttribPointer", userData); 154 glViewport = (glViewport_client_proc_t) getProc("glViewport", userData); 155 glEGLImageTargetTexture2DOES = (glEGLImageTargetTexture2DOES_client_proc_t) getProc("glEGLImageTargetTexture2DOES", userData); 156 glEGLImageTargetRenderbufferStorageOES = (glEGLImageTargetRenderbufferStorageOES_client_proc_t) getProc("glEGLImageTargetRenderbufferStorageOES", userData); 157 glGetProgramBinaryOES = (glGetProgramBinaryOES_client_proc_t) getProc("glGetProgramBinaryOES", userData); 158 glProgramBinaryOES = (glProgramBinaryOES_client_proc_t) getProc("glProgramBinaryOES", userData); 159 glMapBufferOES = (glMapBufferOES_client_proc_t) getProc("glMapBufferOES", userData); 160 glUnmapBufferOES = (glUnmapBufferOES_client_proc_t) getProc("glUnmapBufferOES", userData); 161 glTexImage3DOES = (glTexImage3DOES_client_proc_t) getProc("glTexImage3DOES", userData); 162 glTexSubImage3DOES = (glTexSubImage3DOES_client_proc_t) getProc("glTexSubImage3DOES", userData); 163 glCopyTexSubImage3DOES = (glCopyTexSubImage3DOES_client_proc_t) getProc("glCopyTexSubImage3DOES", userData); 164 glCompressedTexImage3DOES = (glCompressedTexImage3DOES_client_proc_t) getProc("glCompressedTexImage3DOES", userData); 165 glCompressedTexSubImage3DOES = (glCompressedTexSubImage3DOES_client_proc_t) getProc("glCompressedTexSubImage3DOES", userData); 166 glFramebufferTexture3DOES = (glFramebufferTexture3DOES_client_proc_t) getProc("glFramebufferTexture3DOES", userData); 167 glBindVertexArrayOES = (glBindVertexArrayOES_client_proc_t) getProc("glBindVertexArrayOES", userData); 168 glDeleteVertexArraysOES = (glDeleteVertexArraysOES_client_proc_t) getProc("glDeleteVertexArraysOES", userData); 169 glGenVertexArraysOES = (glGenVertexArraysOES_client_proc_t) getProc("glGenVertexArraysOES", userData); 170 glIsVertexArrayOES = (glIsVertexArrayOES_client_proc_t) getProc("glIsVertexArrayOES", userData); 171 glDiscardFramebufferEXT = (glDiscardFramebufferEXT_client_proc_t) getProc("glDiscardFramebufferEXT", userData); 172 glMultiDrawArraysEXT = (glMultiDrawArraysEXT_client_proc_t) getProc("glMultiDrawArraysEXT", userData); 173 glMultiDrawElementsEXT = (glMultiDrawElementsEXT_client_proc_t) getProc("glMultiDrawElementsEXT", userData); 174 glGetPerfMonitorGroupsAMD = (glGetPerfMonitorGroupsAMD_client_proc_t) getProc("glGetPerfMonitorGroupsAMD", userData); 175 glGetPerfMonitorCountersAMD = (glGetPerfMonitorCountersAMD_client_proc_t) getProc("glGetPerfMonitorCountersAMD", userData); 176 glGetPerfMonitorGroupStringAMD = (glGetPerfMonitorGroupStringAMD_client_proc_t) getProc("glGetPerfMonitorGroupStringAMD", userData); 177 glGetPerfMonitorCounterStringAMD = (glGetPerfMonitorCounterStringAMD_client_proc_t) getProc("glGetPerfMonitorCounterStringAMD", userData); 178 glGetPerfMonitorCounterInfoAMD = (glGetPerfMonitorCounterInfoAMD_client_proc_t) getProc("glGetPerfMonitorCounterInfoAMD", userData); 179 glGenPerfMonitorsAMD = (glGenPerfMonitorsAMD_client_proc_t) getProc("glGenPerfMonitorsAMD", userData); 180 glDeletePerfMonitorsAMD = (glDeletePerfMonitorsAMD_client_proc_t) getProc("glDeletePerfMonitorsAMD", userData); 181 glSelectPerfMonitorCountersAMD = (glSelectPerfMonitorCountersAMD_client_proc_t) getProc("glSelectPerfMonitorCountersAMD", userData); 182 glBeginPerfMonitorAMD = (glBeginPerfMonitorAMD_client_proc_t) getProc("glBeginPerfMonitorAMD", userData); 183 glEndPerfMonitorAMD = (glEndPerfMonitorAMD_client_proc_t) getProc("glEndPerfMonitorAMD", userData); 184 glGetPerfMonitorCounterDataAMD = (glGetPerfMonitorCounterDataAMD_client_proc_t) getProc("glGetPerfMonitorCounterDataAMD", userData); 185 glRenderbufferStorageMultisampleIMG = (glRenderbufferStorageMultisampleIMG_client_proc_t) getProc("glRenderbufferStorageMultisampleIMG", userData); 186 glFramebufferTexture2DMultisampleIMG = (glFramebufferTexture2DMultisampleIMG_client_proc_t) getProc("glFramebufferTexture2DMultisampleIMG", userData); 187 glDeleteFencesNV = (glDeleteFencesNV_client_proc_t) getProc("glDeleteFencesNV", userData); 188 glGenFencesNV = (glGenFencesNV_client_proc_t) getProc("glGenFencesNV", userData); 189 glIsFenceNV = (glIsFenceNV_client_proc_t) getProc("glIsFenceNV", userData); 190 glTestFenceNV = (glTestFenceNV_client_proc_t) getProc("glTestFenceNV", userData); 191 glGetFenceivNV = (glGetFenceivNV_client_proc_t) getProc("glGetFenceivNV", userData); 192 glFinishFenceNV = (glFinishFenceNV_client_proc_t) getProc("glFinishFenceNV", userData); 193 glSetFenceNV = (glSetFenceNV_client_proc_t) getProc("glSetFenceNV", userData); 194 glCoverageMaskNV = (glCoverageMaskNV_client_proc_t) getProc("glCoverageMaskNV", userData); 195 glCoverageOperationNV = (glCoverageOperationNV_client_proc_t) getProc("glCoverageOperationNV", userData); 196 glGetDriverControlsQCOM = (glGetDriverControlsQCOM_client_proc_t) getProc("glGetDriverControlsQCOM", userData); 197 glGetDriverControlStringQCOM = (glGetDriverControlStringQCOM_client_proc_t) getProc("glGetDriverControlStringQCOM", userData); 198 glEnableDriverControlQCOM = (glEnableDriverControlQCOM_client_proc_t) getProc("glEnableDriverControlQCOM", userData); 199 glDisableDriverControlQCOM = (glDisableDriverControlQCOM_client_proc_t) getProc("glDisableDriverControlQCOM", userData); 200 glExtGetTexturesQCOM = (glExtGetTexturesQCOM_client_proc_t) getProc("glExtGetTexturesQCOM", userData); 201 glExtGetBuffersQCOM = (glExtGetBuffersQCOM_client_proc_t) getProc("glExtGetBuffersQCOM", userData); 202 glExtGetRenderbuffersQCOM = (glExtGetRenderbuffersQCOM_client_proc_t) getProc("glExtGetRenderbuffersQCOM", userData); 203 glExtGetFramebuffersQCOM = (glExtGetFramebuffersQCOM_client_proc_t) getProc("glExtGetFramebuffersQCOM", userData); 204 glExtGetTexLevelParameterivQCOM = (glExtGetTexLevelParameterivQCOM_client_proc_t) getProc("glExtGetTexLevelParameterivQCOM", userData); 205 glExtTexObjectStateOverrideiQCOM = (glExtTexObjectStateOverrideiQCOM_client_proc_t) getProc("glExtTexObjectStateOverrideiQCOM", userData); 206 glExtGetTexSubImageQCOM = (glExtGetTexSubImageQCOM_client_proc_t) getProc("glExtGetTexSubImageQCOM", userData); 207 glExtGetBufferPointervQCOM = (glExtGetBufferPointervQCOM_client_proc_t) getProc("glExtGetBufferPointervQCOM", userData); 208 glExtGetShadersQCOM = (glExtGetShadersQCOM_client_proc_t) getProc("glExtGetShadersQCOM", userData); 209 glExtGetProgramsQCOM = (glExtGetProgramsQCOM_client_proc_t) getProc("glExtGetProgramsQCOM", userData); 210 glExtIsProgramBinaryQCOM = (glExtIsProgramBinaryQCOM_client_proc_t) getProc("glExtIsProgramBinaryQCOM", userData); 211 glExtGetProgramBinarySourceQCOM = (glExtGetProgramBinarySourceQCOM_client_proc_t) getProc("glExtGetProgramBinarySourceQCOM", userData); 212 glStartTilingQCOM = (glStartTilingQCOM_client_proc_t) getProc("glStartTilingQCOM", userData); 213 glEndTilingQCOM = (glEndTilingQCOM_client_proc_t) getProc("glEndTilingQCOM", userData); 214 glVertexAttribPointerData = (glVertexAttribPointerData_client_proc_t) getProc("glVertexAttribPointerData", userData); 215 glVertexAttribPointerOffset = (glVertexAttribPointerOffset_client_proc_t) getProc("glVertexAttribPointerOffset", userData); 216 glDrawElementsOffset = (glDrawElementsOffset_client_proc_t) getProc("glDrawElementsOffset", userData); 217 glDrawElementsData = (glDrawElementsData_client_proc_t) getProc("glDrawElementsData", userData); 218 glGetCompressedTextureFormats = (glGetCompressedTextureFormats_client_proc_t) getProc("glGetCompressedTextureFormats", userData); 219 glShaderString = (glShaderString_client_proc_t) getProc("glShaderString", userData); 220 glFinishRoundTrip = (glFinishRoundTrip_client_proc_t) getProc("glFinishRoundTrip", userData); 221 return 0; 222 } 223 224