[Mesa-dev] [PATCH] glx/dri2: Paper over errors in DRI2Connect when indirect (#28125)

Adam Jackson ajax at redhat.com
Thu May 26 14:56:35 PDT 2011

On Thu, 2011-05-26 at 17:39 -0400, Kristian Høgsberg wrote:
> On Tue, May 24, 2011 at 6:10 PM, Adam Jackson <ajax at redhat.com> wrote:
> > DRI2 will throw BadRequest for this when the client is not local, but
> > DRI2 is an implementation detail and not something callers should have
> > to know about.  Silently swallow errors in this case, and just propagate
> > the failure through DRI2Connect's return code.
> Can you just handle it in DRI2Error in dri2.c?

That sounds quite a bit simpler, yeah.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110526/fcaae1f4/attachment.pgp>

More information about the mesa-dev mailing list