[PATCH] dri2: avoid crash with old dri drivers.

Keith Packard keithp at keithp.com
Mon Jun 21 11:25:47 PDT 2010


On Mon, 21 Jun 2010 14:08:50 +1000, Dave Airlie <airlied at gmail.com> wrote:

> I built latest server and copied over a mesa 7.8 dri2 driver to use with it,
> and it crashed in here starting compiz. Looks like we need to validate the
> flush extension is registered before calling invalidate.

This is the only place screen->flush is used without checking to see if
it has been set.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100621/e9da79f4/attachment.pgp>


More information about the xorg-devel mailing list