Jens,

This works after fixing one thing in this section from DRICloseScreen:

        if (pDRIPriv->wrap.AdjustFrame) {
-           ScrnInfoPtr pScrn          = xf86Screens[pScreen->myNum];
-           pScrn->AdjustFrame         = pDRIPriv->wrap.AdjustFrame;
-           pDRIPriv->wrap.AdjustFrame = NULL;
+           ScrnInfoPtr pScrn               = xf86Screens[pScreen->myNum];
+           pScrn->AdjustFrame              = pDRIPriv->wrap.AdjustFrame;
+           pScrn->AdjustFrame              = NULL;
            ^^^^^^^^^^^^^^^^^^
        }

That last line should change from:

   pScrn->AdjustFrame              = NULL;

to:

   pDRIPriv->wrap.AdjustFrame      = NULL;

This is line 452 in the patched dri.c.  Other than that it looks good.

-Leif

On Sat, 6 Jul 2002, Jens Owen wrote:

> Leif Delgass wrote:
> 
> >>> On Fri, 5 Jul 2002, Jens Owen wrote:
> >>>>Okay, try the attached patch.  I think I'll do more than this, but it 
> >>>>would be great if you could test just this, first.
> 
> 
> Okay, I have attached a more robust patch.  Can you try this on your branch?
> 
> 
> > 
> > I'll apply this to the 
> > mach64 branch, but I'll let you patch the trunk.
> 
> 
> I'll apply this new patch to the trunk if it works okay for you.
> 
> 

-- 
Leif Delgass 
http://www.retinalburn.net



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Got root? We do.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to