[PATCH xserver 05/12] glxproxy: Fix __glXActiveScreens allocation

Keith Packard keithp at keithp.com
Fri Jun 16 20:26:46 UTC 2017


Adam Jackson <ajax at redhat.com> writes:

> Apparently this has been broken for about ten years, eesh. We were never
> allocating any storage for this array, so the first attempt at using GLX
> with Xdmx would crash the server.
>
> Promote it to an array and use __glXNumActiveScreens to detect whether
> GLX is actually enabled.

Seems like you'll need to re-initialize this on server regen?

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170616/c95fbbaf/attachment-0001.sig>


More information about the xorg-devel mailing list