Remove glut32 from Wine

Roderick Colenbrander thunderbird2k at
Mon Dec 4 07:39:04 CST 2006


This patch removes glut32 from Wine. The problem is that glut32 implicitly depends on wgl/glx functionality.

Right now glut32 forwards all its calls to native which makes glX calls like glXCreateContext. When it makes these calls we don't "know about them" inside our opengl code. This causes major issues like in the case glut creates a context which is then queried buy the opengl program using wglGetCurrentContext. Because the context isn't created through us and a wgl context isn't the same a GLX context, NULL is returned.

I will provide a precompiled glut32 (based on freeglut) which can be uploaded to our download page. Packagers can reuse that dll. Forking the dll inside in Wine is not a good option as the code size is more than 1MB. Second glut32.dll is not a windows core dll.

Roderick Colenbrander
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion:
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glut32.patch.gz
Type: application/x-gzip
Size: 5439 bytes
Desc: not available
Url :

More information about the wine-patches mailing list