Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11opengl.c @ 2244:5234868559fa
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 15 Aug 2007 03:50:49 +0000 |
parents | 5523312f311e |
children | 166400aa33d7 |
comparison
equal
deleted
inserted
replaced
2243:5523312f311e | 2244:5234868559fa |
---|---|
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 = |