(See attached file: patch_sun_opengl)
Well, which Wine release did you use for your patch ??!!?
In current CVS Wine, we have the following code :
p_glXGetProcAddressARB = wine_dlsym(opengl_handle, "glXGetProcAddressARB", NULL, 0);
(...)
local_func = p_glXGetProcAddressARB(lpszProc);
So basically, the glXGetProcAddressARB function is loaded at run-time and then your patch is useless.
Lionel