I need to preload my own library with a custom glXSwapBuffers(). But wine opengl libGL.so directly so there's no way to do it.
I've ended up doing this: glXSwapBuffersType preload__glXSwapBuffers = (glXSwapBuffersType) wine_dlsym(RTLD_DEFAULT, "glXSwapBuffers", NULL, 0); preload__glXSwapBuffers(gdi_display, physDev->drawable);
but that is not a nice solution.
What about linking x11drv directly with libGL?
tom