preload libGL

Tomas Carnecky tom at dbservice.com
Sat Oct 22 13:39:28 CDT 2005


Lionel Ulmer wrote:
> On Wed, Oct 12, 2005 at 11:55:10AM +0200, Tomas Carnecky wrote:
> 
>>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.
> 
> 
> Out of curiosity, why do you need this ?

I've cerated a fraps-like library that hooks glXSwapBuffers() so I can 
make a movie while playing World of Warcraft.

> 
> 
>>What about linking x11drv directly with libGL?
> 
> 
> If we do this, we will get a hard dependency between Wine and OpenGL which
> will lead to a lot of packaging nightmares.
> 

I don't really see any dfference between dlopen("libGL") at run-time and 
linking x11drv with libGL at compile-time..

tom



More information about the wine-devel mailing list