Adam Jackson <a...@redhat.com> writes: > Just never filled in, oops. Seems to have gone unnoticed because > normally glXQueryContext simply returns the values filled in by the > client library when the context was created. The only path by which you > normally get to a GLXQueryContext request is glXImportContext, and then > only if the context is already indirect. > > However, that's a statement about Mesa's libGL (and anything else that > inherited that bit of the SGI SI more or less intact). Nothing prevents > a mischeivous client from issuing that request of a direct context, and > if they did we'd be in trouble because we never bothered to preserve the > associated fbconfig in the context state, so we'd crash looking up > GLX_VISUAL_ID_EXT. So let's fix that too. > > v2: Fixed missing preservation of the config in DRI2 (Eric Anholt)
This one had my Reviewed-by: Eric Anholt <e...@anholt.net>
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel