equal
deleted
inserted
replaced
87 } |
87 } |
88 handle = GL_LoadObject(path); |
88 handle = GL_LoadObject(path); |
89 if (!handle) { |
89 if (!handle) { |
90 return -1; |
90 return -1; |
91 } |
91 } |
92 |
|
93 // LoadLibrary may be called before WindowCreate! |
92 // LoadLibrary may be called before WindowCreate! |
94 X11_GL_Initialize(_this); |
93 X11_GL_Initialize(_this); |
95 |
94 |
96 /* Load new function pointers */ |
95 /* Load new function pointers */ |
97 _this->gl_data->glXGetProcAddress = |
96 _this->gl_data->glXGetProcAddress = |
98 (void *(*)(const GLubyte *)) GL_LoadFunction(handle, |
97 (void *(*)(const GLubyte *)) GL_LoadFunction(handle, |
99 "glXGetProcAddressARB"); |
98 "glXGetProcAddressARB"); |
100 _this->gl_data->glXChooseVisual = |
99 _this->gl_data->glXChooseVisual = |