src/video/x11/SDL_x11gl.c
changeset 1196 b81f54c3963f
parent 1191 2bd4cec0de63
child 1246 ca51a76a7328
equal deleted inserted replaced
1195:bb6791b0a268 1196:b81f54c3963f
   530 	void* handle;
   530 	void* handle;
   531 	void* retval;
   531 	void* retval;
   532 	
   532 	
   533 	handle = this->gl_config.dll_handle;
   533 	handle = this->gl_config.dll_handle;
   534 	if ( this->gl_data->glXGetProcAddress ) {
   534 	if ( this->gl_data->glXGetProcAddress ) {
   535 		return this->gl_data->glXGetProcAddress(proc);
   535 		return this->gl_data->glXGetProcAddress((const GLubyte *)proc);
   536 	}
   536 	}
   537 #if defined(__OpenBSD__) && !defined(__ELF__)
   537 #if defined(__OpenBSD__) && !defined(__ELF__)
   538 #undef do_dlsym
   538 #undef do_dlsym
   539 #endif
   539 #endif
   540 	retval = do_dlsym(handle, proc);
   540 	retval = do_dlsym(handle, proc);