Re: Patch for opengl32.dll.so

2006-11-07 Thread Richard Kung
I think one of the recent opengl patches breaks some games. I use the sources checked out yesterday. Here is the log of Star Wars: Knights of the Old Republic: ~/.wine/c/kotor $ wine swkotor.exe err:wgl:process_attach X11DRV or GDI32 not loaded. Cannot create default context.

Re: Patch for opengl32.dll.so

2006-11-04 Thread Christoph Frick
On Fri, Nov 03, 2006 at 01:57:33PM +0100, Roderick Colenbrander wrote: one of the patches from 2006-10-31 fixed my problems as it seems. IL2 now crashed out 1 of 4 starts but with another error. the remaining stuff is fine - although NASCAR 2003 is very slow now. Regarding the slowness of

Re: Patch for opengl32.dll.so

2006-11-03 Thread Christoph Frick
On Thu, Nov 02, 2006 at 05:46:07PM +0100, Christoph Frick wrote: Hmm, if that is indeed the case this patch could work for them. The whole issue is new for me, I'll see what I can do about it. Right now there's some GLX code in opengl32 which creates an opengl context. I was planning to

Re: Patch for opengl32.dll.so

2006-11-03 Thread Roderick Colenbrander
On Thu, Nov 02, 2006 at 05:46:07PM +0100, Christoph Frick wrote: Hmm, if that is indeed the case this patch could work for them. The whole issue is new for me, I'll see what I can do about it. Right now there's some GLX code in opengl32 which creates an opengl context. I was

Re: Patch for opengl32.dll.so

2006-11-02 Thread Roderick Colenbrander
Roderick Colenbrander wrote : On 11/1/06, Bertrand Coconnier [EMAIL PROTECTED] wrote: Hi, The last release of Wine 0.9.24 contains an error in the code of opengl32.dll.so under X11 : Wine tries to get the address of wglGetIntegerv (line 608 of dlls/opengl32/wgl.c) before the

Re: Patch for opengl32.dll.so

2006-11-02 Thread Nick Law
Roderick Colenbrander wrote: Roderick Colenbrander wrote : On 11/1/06, Bertrand Coconnier [EMAIL PROTECTED] wrote: Hi, The last release of Wine 0.9.24 contains an error in the code of opengl32.dll.so under X11 : Wine tries to get the address of

Re: Patch for opengl32.dll.so

2006-11-02 Thread Roderick Colenbrander
Roderick Colenbrander wrote: Roderick Colenbrander wrote : On 11/1/06, Bertrand Coconnier [EMAIL PROTECTED] wrote: Hi, The last release of Wine 0.9.24 contains an error in the code of opengl32.dll.so under X11 : Wine tries to get the address

Re: Patch for opengl32.dll.so

2006-11-02 Thread Christoph Frick
On Thu, Nov 02, 2006 at 02:25:33PM +0100, Roderick Colenbrander wrote: Hmm, if that is indeed the case this patch could work for them. The whole issue is new for me, I'll see what I can do about it. Right now there's some GLX code in opengl32 which creates an opengl context. I was planning to

Re: Patch for opengl32.dll.so

2006-11-02 Thread Bertrand Coconnier
Roderick Colenbrander wrote : Compared to 0.9.23 I changed the way wglGetIntegerv is loaded before it was directly loaded using GetProcAddress from winex11.drv now it is still loaded from winex11.drv but then using wglGetProcAddress from gdi32. At wine startup (I'm not sure at which stage but

Re: Patch for opengl32.dll.so

2006-11-02 Thread Roderick Colenbrander
Roderick Colenbrander wrote: Roderick Colenbrander wrote : On 11/1/06, Bertrand Coconnier [EMAIL PROTECTED] wrote: Hi, The last release of Wine 0.9.24 contains an error in the code of opengl32.dll.so under X11 : Wine tries to get the address

Re: Patch for opengl32.dll.so

2006-11-02 Thread Bertrand Coconnier
Roderick Colenbrander wrote : Hi, I think that the patch which I just sent titled 'X11DRV: opengl init fix' should fix the issues. The patch makes sure that opengl is initialized when x11drv wgl functions are called. Regards, Roderick Your patch works OK for me. It fixes the crash when

Re: Patch for opengl32.dll.so

2006-11-01 Thread Jesse Allen
On 11/1/06, Bertrand Coconnier [EMAIL PROTECTED] wrote: Hi, The last release of Wine 0.9.24 contains an error in the code of opengl32.dll.so under X11 : Wine tries to get the address of wglGetIntegerv (line 608 of dlls/opengl32/wgl.c) before the extensions of WGL have actually been loaded (i.e.

Re: Patch for opengl32.dll.so

2006-11-01 Thread Roderick Colenbrander
On 11/1/06, Bertrand Coconnier [EMAIL PROTECTED] wrote: Hi, The last release of Wine 0.9.24 contains an error in the code of opengl32.dll.so under X11 : Wine tries to get the address of wglGetIntegerv (line 608 of dlls/opengl32/wgl.c) before the extensions of WGL have actually been