src/video/x11/SDL_x11gl.c
changeset 566 d6e7d7006062
parent 450 8a43e0cbf02f
child 638 b0108e9dea53
     1.1 --- a/src/video/x11/SDL_x11gl.c	Mon Jan 20 00:17:01 2003 +0000
     1.2 +++ b/src/video/x11/SDL_x11gl.c	Mon Jan 20 00:25:28 2003 +0000
     1.3 @@ -414,17 +414,9 @@
     1.4  	void* retval;
     1.5  	
     1.6  	handle = this->gl_config.dll_handle;
     1.7 -#if 0 /* This doesn't work correctly yet */
     1.8  	if ( this->gl_data->glXGetProcAddress ) {
     1.9 -        void *func, *func2;
    1.10 -		func = this->gl_data->glXGetProcAddress(proc);
    1.11 -        func2 = dlsym(handle, proc);
    1.12 -        if ( func != func2 ) {
    1.13 -fprintf(stderr, "glXGetProcAddress returned %p and dlsym returned %p for %s\n", func, func2, proc);
    1.14 -        }
    1.15 -        return this->gl_data->glXGetProcAddress(proc);
    1.16 +		return this->gl_data->glXGetProcAddress(proc);
    1.17  	}
    1.18 -#endif
    1.19  #if defined(__OpenBSD__) && !defined(__ELF__)
    1.20  #undef dlsym(x,y);
    1.21  #endif