When called with a valid Window ID that is not a valid GLXWindow (i.e., created by glXCreateWindow), glXMakeContextCurrent calls into the DRI driver and merrily crashes.
Created attachment 22045 [details] [review] Generate an error if either the read or draw drawables are not GLXWindow Proposed fix. It turns out there was another bug in that code. GLX_ALIAS can only be used if the two functions are EXACT aliases. However, MakeContextCurrent and glXMakeContextCurrent have different sets of parameters! The only part of this that I'm unsure of is generating the X error. We only do that in one or two other places for direct rendering, but it seems like we should do it everywhere. Opinions?
dups or deps to http://bugs.freedesktop.org/show_bug.cgi?id=18367
(In reply to comment #2) > dups or deps to > http://bugs.freedesktop.org/show_bug.cgi?id=18367 > I posted a reply to that bug. I don't think it's a dup. There's something else weird going on there.
Fixed by commit ab9b4e1f593b2006a61c0f5440c2d7d3af80ea74.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.