Skip to content

glxproxy: Fix __glXActiveScreens allocation

Adam Jackson requested to merge ajax/xserver:dmx-fix-glxproxy into master

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.

Bugzilla: Signed-off-by: Adam Jackson

Merge request reports