Chris Rankin wrote:
> --- Kristian Høgsberg <[EMAIL PROTECTED]> wrote:
>   
>> Wine is passing it to GLX in the call to glXMakeCurrent().  It's just
>> an X ID, so 0x71 could certainly be a valid value... does wine use
>> glXCreateWindow()?
>>     
>
> Well, RootWindow() followed by glxCreateContext():
>
>  286     Window win = RootWindow(gdi_display, screen);   // <<<<<<<< HERE
>  287     Visual *visual;
>  288     XVisualInfo template;
>  289     XVisualInfo *vis;
>  290     int num;
>  291     GLXContext ctx = NULL;
> ...
>  299     visual = DefaultVisual(gdi_display, screen);
>  300     template.visualid = XVisualIDFromVisual(visual);
>  301     vis = XGetVisualInfo(gdi_display, VisualIDMask, &template, &num);
>  302     if (vis) {
>  303         WORD old_fs = wine_get_fs();
>  304         /* Create a GLX Context. Without one we can't query GL 
> information */
>  305         ctx = pglXCreateContext(gdi_display, vis, None, GL_TRUE);    // 
> <<<<<<<< HERE
> ...
>  314     }
>  315 
>  316     if (ctx) {
>  317         pglXMakeCurrent(gdi_display, win, ctx);
>  318     } else {
>
> So if 0x71 is a valid value after all, does that mean that someone is calling 
> getDrawableInfo()
> after this drawable has been destroyed? (Not unreasonable, since WoW is 
> crashing on exit, I
> suppose.)
>   
You can trace all wgl/opengl calls within wine with
 export WINEDEBUG=wgl,opengl

Perhaps it helps.

Markus

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to