[opengl] Catch BadMatch errors before they can occur.

Tony Lambregts tony.lambregts at gmail.com
Sat Mar 25 01:22:23 CST 2006


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 SwapBuffers functions to
> the opengl debug channel (rather than to wgl), but they don't show in my
> trace. So something with the TRACE_(opengl)(...) is wrong or with the
> way I've set up the channels.
> 
> tom

I do not think there is anything wrong. Just a little further in the same log I 
have:

trace:opengl:X11DRV_SwapBuffers (0x7dde5470)
trace:opengl:wine_glFinish ()
trace:opengl:X11DRV_SwapBuffers (0x7dde5470)
trace:opengl:wine_glFinish ()
trace:opengl:X11DRV_SwapBuffers (0x7dde5470)
trace:opengl:wine_glFinish ()
...

I applied your patch and did:

$./configure && make depend && make
$su
#make install

Perhaps a "make clean" will help?

--

Tony Lambregts







More information about the wine-devel mailing list