Re: [opengl] Catch BadMatch errors before they can occur.

2006-03-24 Thread Tony Lambregts
Tomas Carnecky wrote: Tony Lambregts wrote: Tomas Carnecky wrote: ok.. here is a patch, but I can't make it work. Maybe someone else sees the bug. What is the problem. this is from a log of Google using your patch and WINEDBUG="+wgl,+opengl" As you maybe see in the patch, I've put both Swap

Re: [opengl] Catch BadMatch errors before they can occur.

2006-03-24 Thread Tomas Carnecky
Tony Lambregts wrote: > Tomas Carnecky wrote: >> ok.. here is a patch, but I can't make it work. Maybe someone else sees >> the bug. >> > What is the problem. this is from a log of Google using your patch and > WINEDBUG="+wgl,+opengl" As you maybe see in the patch, I've put both SwapBuffers functi

Re: [opengl] Catch BadMatch errors before they can occur.

2006-03-24 Thread Tony Lambregts
Tomas Carnecky wrote: Lionel Ulmer wrote: On Fri, Mar 24, 2006 at 08:48:16PM +0100, Tomas Carnecky wrote: so.. what about splitting 'opengl' up into 'opengl' (all the opengl functions) and 'oglsetup' with the setup/wgl/pbuffer etc. functions ? Why not 'wgl' ? So we would have 'opengl' for 'cor

Re: [opengl] Catch BadMatch errors before they can occur.

2006-03-24 Thread Tomas Carnecky
Lionel Ulmer wrote: > On Fri, Mar 24, 2006 at 08:48:16PM +0100, Tomas Carnecky wrote: >> so.. what about splitting 'opengl' up into 'opengl' (all the opengl >> functions) and 'oglsetup' with the setup/wgl/pbuffer etc. functions ? > > Why not 'wgl' ? So we would have 'opengl' for 'core' functions a

Re: [opengl] Catch BadMatch errors before they can occur.

2006-03-24 Thread Lionel Ulmer
On Fri, Mar 24, 2006 at 08:48:16PM +0100, Tomas Carnecky wrote: > so.. what about splitting 'opengl' up into 'opengl' (all the opengl > functions) and 'oglsetup' with the setup/wgl/pbuffer etc. functions ? Why not 'wgl' ? So we would have 'opengl' for 'core' functions and 'wgl' for the rest.

Re: [opengl] Catch BadMatch errors before they can occur.

2006-03-24 Thread Tomas Carnecky
Lionel Ulmer wrote: > On Fri, Mar 24, 2006 at 08:20:08PM +0100, Tomas Carnecky wrote: >> When debugging opengl applications, I'm usually not interested in the >> *Swap*Buffers() functions, but in context creation, pbuffers stuff etc. >> It just writes unnecessary messages into the console. When deb

Re: [opengl] Catch BadMatch errors before they can occur.

2006-03-24 Thread Lionel Ulmer
On Fri, Mar 24, 2006 at 08:20:08PM +0100, Tomas Carnecky wrote: > When debugging opengl applications, I'm usually not interested in the > *Swap*Buffers() functions, but in context creation, pbuffers stuff etc. > It just writes unnecessary messages into the console. When debugging an > application t

Re: [opengl] Catch BadMatch errors before they can occur.

2006-03-24 Thread Tomas Carnecky
Lionel Ulmer wrote: >> Oh, and this patch creates a new debug-channel 'swapbuffers' and puts >> both opengl swapbuffers functions into it. > > What is the reason for this change ? > When debugging opengl applications, I'm usually not interested in the *Swap*Buffers() functions, but in context cr

Re: [opengl] Catch BadMatch errors before they can occur.

2006-03-24 Thread Lionel Ulmer
> Oh, and this patch creates a new debug-channel 'swapbuffers' and puts > both opengl swapbuffers functions into it. What is the reason for this change ? Lionel -- Lionel Ulmer - http://www.bbrox.org/