Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11gl.c @ 646:0f2029a70548
Fixed incorrect prototype for glXQueryExtensionsString()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 09 Jul 2003 15:32:21 +0000 |
parents | 564716cfb502 |
children | 9c42ee1b7d77 |
comparison
equal
deleted
inserted
replaced
645:5bcfbd1abac6 | 646:0f2029a70548 |
---|---|
439 this->gl_data->glXSwapBuffers = | 439 this->gl_data->glXSwapBuffers = |
440 (void (*)(Display *, GLXDrawable)) dlsym(handle, "glXSwapBuffers"); | 440 (void (*)(Display *, GLXDrawable)) dlsym(handle, "glXSwapBuffers"); |
441 this->gl_data->glXGetConfig = | 441 this->gl_data->glXGetConfig = |
442 (int (*)(Display *, XVisualInfo *, int, int *)) dlsym(handle, "glXGetConfig"); | 442 (int (*)(Display *, XVisualInfo *, int, int *)) dlsym(handle, "glXGetConfig"); |
443 this->gl_data->glXQueryExtensionsString = | 443 this->gl_data->glXQueryExtensionsString = |
444 (const char (*)(Display *, int)) dlsym(handle, "glXQueryExtensionsString"); | 444 (const char *(*)(Display *, int)) dlsym(handle, "glXQueryExtensionsString"); |
445 | 445 |
446 /* We don't compare below for this in case we're not using Mesa. */ | 446 /* We don't compare below for this in case we're not using Mesa. */ |
447 this->gl_data->glXReleaseBuffersMESA = | 447 this->gl_data->glXReleaseBuffersMESA = |
448 (void (*)(Display *, GLXDrawable)) dlsym( handle, "glXReleaseBuffersMESA" ); | 448 (void (*)(Display *, GLXDrawable)) dlsym( handle, "glXReleaseBuffersMESA" ); |
449 | 449 |