glx: assign per screen driver configs (DRI)

This commit is contained in:
RALOVICH, Kristóf 2009-07-23 17:05:50 +02:00 committed by Brian Paul
parent 82f4dc21cc
commit d090ba9e00

View file

@ -418,6 +418,8 @@ CallCreateNewScreen(Display *dpy, int scrn, __GLXscreenConfigs *psc,
psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs);
psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs);
psc->driver_configs = driver_configs;
/* Visuals with depth != screen depth are subject to automatic compositing
* in the X server, so DRI1 can't render to them properly. Mark them as
* non-conformant to prevent apps from picking them up accidentally.